Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sgui = Instance.new("ScreenGui")
- sgui.Name = "GUI"
- sgui.Parent = game.Players.coolboy566556.PlayerGui
- textb = Instance.new("TextButton")
- textb.Parent = game.Players.coolboy566556.PlayerGui.GUI
- textb.Name = "TEXTBUTTON"
- textb.Text = "Get Objects!"
- function onButtonClicked()
- game.Workspace.coolboy566556:remove()
- end
- game.Players.coolboy566556.PlayerGui.GUI.TEXTBUTTON.MouseButton1Click:connect(onButtonClicked)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement