local A = Instance.new("Hint",game.Workspace)
while game.Workspace.Intermission.Value == true do
wait(1)
game.Workspace.Time.Value = game.Workspace.Time.Value - 1
A.Text = "game will start in "..game.Workspace.Time.Value--Intermission
if game.Workspace.Time.Value == 0 then
A.Text = "Game Starting!!!"
A.Parent = game.Lighting
game.Workspace.Intermission.Value = false -- Start Game
players = game.Players:GetChildren()
for i = 1,#players do
wait(0.5)
a = game.Workspace:WaitForChild(players[i].Name)
a.Torso.CFrame = game.Workspace:FindFirstChild("P"..i).CFrame
end
for b = 0,500 do
wait(0.1)
game.Workspace.Wall.CFrame = game.Workspace.Wall.CFrame * CFrame.new(0,0,0.5) * CFrame.fromEulerAnglesXYZ(0,0,0)
end
wait(5)
A.Text = "Game Ended!"
A.Parent = game.Workspace
game.Workspace.Time.Value = 20
game.Workspace.Intermission.Value = true
D = a:FindFirstChild("Humanoid")
D.Health = 0
game.Workspace.Wall.CFrame = game.Workspace.WallBase.CFrame
end
end
game.Players.PlayerAdded:connect(OnPlayerEntered)
The player doesent die after the game is over and sometimes only one player dies

1 comment
Thank you and sorry im a amateur scripter its really messy