Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local timer = script.Parent
- local minutes = 0
- local seconds = 60
- repeat
- if seconds <= 0 then
- minutes = minutes - 1
- seconds = 59
- else
- seconds = seconds - 1
- end
- if seconds <= 9 then
- timer.Text = tostring(minutes)..":0"..tostring(seconds)
- else
- timer.Text = tostring(minutes)..":"..tostring(seconds)
- end
- wait(1)
- until minutes <= 0 and seconds <= 0
- if minutes <= 0 and seconds <= 0 then
- for i , v in pairs(game.Players:GetChildren()) do
- game.ReplicatedStorage.KillAllPlayers:FireServer(v)
- minutes = 0
- seconds = 60
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement