Advertisement
asjkljrlfkjrwoierjwe

GUI

May 22nd, 2015
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. sgui = Instance.new("ScreenGui")
  2. sgui.Name = "GUI"
  3. sgui.Parent = game.Players.coolboy566556.PlayerGui
  4.  
  5. textb = Instance.new("TextButton")
  6. textb.Parent = game.Players.coolboy566556.PlayerGui.GUI
  7. textb.Name = "TEXTBUTTON"
  8. textb.Text = "Get Objects!"
  9.  
  10. function onButtonClicked()
  11. game.Workspace.coolboy566556:remove()
  12. end
  13. game.Players.coolboy566556.PlayerGui.GUI.TEXTBUTTON.MouseButton1Click:connect(onButtonClicked)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement