Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local dscore = script.DefenderScore
- local s = script.Stat
- local ascore = script.AttackScore
- -- this is intermission
- while true do
- t = 0
- while true do
- t = 5
- repeat
- t = t-1
- s.Value = "Game Starting In "..t.." Seconds"
- wait(1)
- until t == 0
- s.Value = "Game Starting"
- wait(2)
- for i, v in pairs(game.Teams.Orange:GetPlayers()) do
- v.Character.Head:Destroy()
- end
- for i, v in pairs(game.Teams.Blue:GetPlayers()) do
- v.Character.Head:Destroy()
- end
- break;
- end
- wait(1)
- -- this is in in game round
- y = 0
- while true do
- y = 5
- repeat
- y = y-1
- s.Value = y
- wait(1)
- until y == 0
- s.Value = "Defenders Win Round"
- break;
- end
- end
- --win identify
- while true do
- if dscore >3 then
- s.Value = "Orange Wins The Game" else
- if ascore >3 then
- s.Value = "Blue Wins The Game"
- wait(.1)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment