{"id":"0xsteak/blueprint","name":"blueprint","scope":"0xsteak","platform":"roblox","description":"A tool for easily converting Roblox instances into executable Luau code.","version":"1.0.1","latest":"1.0.1","versions":["1.0.1"],"license":"MIT","licenseRating":"safe","licenseCaveats":[],"licenseVerified":false,"dependencies":{},"integrity":"794b3bc1958c4133a045e278b0ca242db6cfa4e9f26ccc3d068f8996e57103e1","likes":0,"downloads":0,"install":"forest install 0xsteak/blueprint","url":"https://forest.dev/p/roblox/0xsteak/blueprint","files":"https://api.forest.dev/ai/package/roblox/0xsteak/blueprint/files","readme":"# Blueprint\n\n**Blueprint** is a tool for easily converting Roblox instances into executable Luau code.\n\n\n\n## Library\n\nThe library is located in the **lib** folder. It is used to create blueprints.\n\n### Usage\n\nExample of creating a simple blueprint with a GUI Frame with a TextLabel inside it:\n```luau\nlocal FrameBlueprint = Blueprint.new({\n\tClass = \"Frame\", -- This field is required\n\tAnchorPoint = Vector2.new(0.5, 0.5),\n\tBackgroundColor3 = Color3.new(1, 0, 0),\n\tPosition = UDim2.fromScale(0.5, 0.5),\n\tSize = UDim2.fromOffset(200, 200),\n\t{\n\t\tClass = \"TextLabel\",\n\t\tBackgroundTransparency = 1,\n\t\tSize = UDim2.fromScale(1, 1),\n\t\tText = \"Hello World!\",\n\t\tTextSize = 14\n\t}\n})\n\n-- To create an instance from the blueprint you need to call the :Build() method\nlocal Frame = FrameBlueprint:Build()\n\nFrame.Parent = ScreenGui\n```\n\n## Plugin\n\nThe plugin is located in the plugins folder. The plugin is used in Roblox Studio to convert instances into code snippets that use the Blueprint library for creating blueprints for these instances. Unfortunately, the plugin doesn't have an advanced UI or anything like that yet.\n\n### Installation\n\n<a href=\"https://github.com/rojo-rbx/rokit\">**Rokit**</a> is required for the installation!\n\n**Windows**: Run install-plugin.bat\n\n**MacOS**: Run install-plugin.sh (not tested)\n\n### Usage\n\n1. Open the plugins tab (You should see a \"Generate\" button there)\n2. Select your instance in explorer\n3. Press \"Generate\" button and it will open a new script for you, which contains the code snippet.","readmeTruncated":false}