Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local G2L = {};
- G2L["1"] = Instance.new("ScreenGui", game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"));
- G2L["1"]["ZIndexBehavior"] = Enum.ZIndexBehavior.Sibling;
- G2L["2"] = Instance.new("Frame", G2L["1"]);
- G2L["2"]["BorderSizePixel"] = 0;
- G2L["2"]["BackgroundColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["2"]["Size"] = UDim2.new(0, 262, 0, 74);
- G2L["2"]["Position"] = UDim2.new(0.01511, 0, 0.80087, 0);
- G2L["2"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["2"]["Name"] = [[SpawnBricksMenu]];
- G2L["3"] = Instance.new("TextButton", G2L["2"]);
- G2L["3"]["TextWrapped"] = true;
- G2L["3"]["BorderSizePixel"] = 0;
- G2L["3"]["TextSize"] = 14;
- G2L["3"]["TextColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["3"]["TextScaled"] = true;
- G2L["3"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["3"]["FontFace"] = Font.new([[rbxasset://fonts/families/ComicNeueAngular.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal);
- G2L["3"]["Size"] = UDim2.new(0, 200, 0, 50);
- G2L["3"]["Name"] = [[Spawn]];
- G2L["3"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["3"]["Text"] = [[Spawn Brick (Loops)]];
- G2L["3"]["Position"] = UDim2.new(0.11832, 0, 0.16216, 0);
- G2L["4"] = Instance.new("LocalScript", G2L["3"]);
- local function C_4()
- local script = G2L["4"];
- local button = script.Parent
- local TPartSp = false
- local function SpawnPartSp()
- if TPartSp ~= true then
- TPartSp = true
- Instance.new("Part")
- else
- TPartSp = false
- end
- end
- button.MouseButton1Click:Connect(SpawnPartSp)
- end;
- task.spawn(C_4);
- return G2L["1"], require;
Advertisement
Add Comment
Please, Sign In to add comment