Advertisement
Guest User

Untitled

a guest
Jul 1st, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1.  
  2. function new(playerWhoClicked)
  3.  
  4.  
  5.  
  6. game.Workspace.NewGame.Transparency = 1
  7. game.Workspace.NewGame.SurfaceGui.Newgame.Active = false -- Makes new game button invisible
  8. game.Workspace.NewGame.SurfaceGui.Newgame.Visible = false
  9. game.Workspace.NewGame.SurfaceGui.Enabled = false
  10. game.Workspace.NewGame.SurfaceGui.Active = false
  11.  
  12. game.Workspace.areyousure.Transparency = 1
  13. game.Workspace.areyousure.maybe.Active = true-- Makes new game button visible
  14. game.Workspace.areyousure.maybe.Visible = true
  15. game.Workspace.areyousure.Enabled = true
  16. game.Workspace.areyousure.Active = true
  17.  
  18. game.Workspace.Yes.Transparency = 1
  19. game.Workspace.Yes.SurfaceGui.Yes.Active = true-- Makes new game button visible
  20. game.Workspace.Yes.SurfaceGui.Yes.Visible = true
  21. game.Workspace.Yes.SurfaceGui.Enabled = true
  22. game.Workspace.Yes.SurfaceGui.Active = true
  23.  
  24. game.Workspace.No.Transparency = 1
  25. game.Workspace.No.SurfaceGui.No.Active = true-- Makes new game button visible
  26. game.Workspace.No.SurfaceGui.No.Visible = true
  27. game.Workspace.No.SurfaceGui.Enabled = true
  28. game.Workspace.No.SurfaceGui.Active = true
  29.  
  30.  
  31.  
  32.  
  33.  
  34. end
  35.  
  36. script.Parent.ClickDetector.MouseClick:connect(new)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement