This is not as LocalScript, it is my Games Main Script, Thanks if you can help
wait(2) script.Game.Value = false wait(5) game.Lighting.GameThing:Clone().Parent = game.Players.LocalPlayer.PlayerGui wait(20) game.Players.LocalPlayer.PlayerGui.GameThing:Remove() wait() game.Players.LocalPlayer.PlayerGui.Progress:Remove() game.Players.LocalPlayer.PlayerGui.Spectate:Remove() wait() local Map = game.Lighting.Map:clone() Map.Parent = game.Workspace Map:makeJoints() Players = game.Players:GetChildren() local Players = game.Players:GetChildren() for i = 1, #Players do Players[i].Character:MoveTo(Vector3.new(-5.4, 4.39, -64.7)) script.Game.Value = true end
for k, p in pairs(game.Players:GetPlayers()) do wait(2) script.Game.Value = false wait(5) game.Lighting.GameThing:Clone().Parent = p.PlayerGui wait(20) p.PlayerGui.GameThing:Remove() wait() p.PlayerGui.Progress:Remove() p.PlayerGui.Spectate:Remove() wait() local Map = game.Lighting.Map:clone() Map.Parent = game.Workspace Map:makeJoints() Players = game.Players:GetChildren() local Players = game.Players:GetChildren() for i = 1, #Players do Players[i].Character:MoveTo(Vector3.new(-5.4, 4.39, -64.7)) script.Game.Value = true end end