Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function new(playerWhoClicked)
- game.Workspace.NewGame.Transparency = 1
- game.Workspace.NewGame.SurfaceGui.Newgame.Active = false -- Makes new game button invisible
- game.Workspace.NewGame.SurfaceGui.Newgame.Visible = false
- game.Workspace.NewGame.SurfaceGui.Enabled = false
- game.Workspace.NewGame.SurfaceGui.Active = false
- game.Workspace.areyousure.Transparency = 1
- game.Workspace.areyousure.maybe.Active = true-- Makes new game button visible
- game.Workspace.areyousure.maybe.Visible = true
- game.Workspace.areyousure.Enabled = true
- game.Workspace.areyousure.Active = true
- game.Workspace.Yes.Transparency = 1
- game.Workspace.Yes.SurfaceGui.Yes.Active = true-- Makes new game button visible
- game.Workspace.Yes.SurfaceGui.Yes.Visible = true
- game.Workspace.Yes.SurfaceGui.Enabled = true
- game.Workspace.Yes.SurfaceGui.Active = true
- game.Workspace.No.Transparency = 1
- game.Workspace.No.SurfaceGui.No.Active = true-- Makes new game button visible
- game.Workspace.No.SurfaceGui.No.Visible = true
- game.Workspace.No.SurfaceGui.Enabled = true
- game.Workspace.No.SurfaceGui.Active = true
- end
- script.Parent.ClickDetector.MouseClick:connect(new)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement