Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.1
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frame.Position = UDim2.new(0.213683218, 0, 0.258064508, 0)
- Frame.Size = UDim2.new(0, 325, 0, 239)
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.Position = UDim2.new(0.0521606207, 0, 0.392845005, 0)
- TextButton.Size = UDim2.new(0, 104, 0, 67)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "Brick"
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextSize = 14.000
- TextButton_2.Parent = Frame
- TextButton_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextButton_2.Position = UDim2.new(0.609230757, 0, 0.389121324, 0)
- TextButton_2.Size = UDim2.new(0, 104, 0, 64)
- TextButton_2.Font = Enum.Font.SourceSans
- TextButton_2.Text = "Ball"
- TextButton_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton_2.TextSize = 14.000
- -- Scripts:
- local function MZCSLQN_fake_script() -- TextButton.Script
- local script = Instance.new('Script', TextButton)
- frame = script.Parent.Parent.Parent
- me = Frame.Parent.Parent
- button = script.Parent
- frame = button.Parent
- function onClick(mouse)
- dellbrick = Instance.new("Part")
- dellbrick.Parent = game.Workspace
- dellbrick.Name = "ImaginaryBrick"
- dellbrick.Size = Vector3.new(2,1,4)
- dellbrick.Position = me.Character.Head.Position
- dellbrick.Anchored = true
- dellbrick.CanCollide = true
- dellbrick.Locked = false
- dellbrick.Transparency = 0
- dellbrick.Reflectance = 0
- dellbrick.BrickColor = BrickColor.Black()
- end
- script.Parent.MouseButton1Down:connect(onClick)
- end
- coroutine.wrap(MZCSLQN_fake_script)()
- local function GCZJYDB_fake_script() -- TextButton_2.Script
- local script = Instance.new('Script', TextButton_2)
- frame = script.Parent.Parent.Parent
- me = frame.Parent.Parent
- button = script.Parent
- frame = button.Parent
- function onClick(mouse)
- dellbrick = Instance.new("Part")
- dellbrick.Parent = game.Workspace
- dellbrick.Name = "ImaginaryBrick"
- dellbrick.Shape = "Ball"
- dellbrick.Size = Vector3.new(5,0.4,5)
- dellbrick.Position = me.Character.Head.Position
- dellbrick.Anchored = true
- dellbrick.CanCollide = true
- dellbrick.Locked = false
- dellbrick.Transparency = 0
- dellbrick.Reflectance = 0
- dellbrick.BrickColor = BrickColor.Black()
- end
- script.Parent.MouseButton1Down:connect(onClick)
- end
- coroutine.wrap(GCZJYDB_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement