Guest User

bruh

a guest
Mar 3rd, 2020
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.85 KB | None | 0 0
  1. local dscore = script.DefenderScore
  2. local s = script.Stat
  3. local ascore = script.AttackScore
  4. -- this is intermission
  5. while true do
  6.     t = 0
  7.     while true do
  8.     t = 5
  9.     repeat
  10.         t = t-1
  11.         s.Value = "Game Starting In "..t.." Seconds"
  12.         wait(1)
  13.     until t == 0
  14.     s.Value = "Game Starting"
  15.     wait(2)
  16.         for i, v in pairs(game.Teams.Orange:GetPlayers()) do
  17.         v.Character.Head:Destroy()
  18.     end
  19.         for i, v in pairs(game.Teams.Blue:GetPlayers()) do
  20.         v.Character.Head:Destroy()
  21.     end
  22.     break;
  23. end
  24.  
  25. wait(1)
  26. -- this is in in game round
  27. y = 0
  28. while true do
  29.     y = 5
  30.     repeat
  31.         y = y-1
  32.         s.Value = y
  33.         wait(1)
  34.     until y == 0
  35.     s.Value = "Defenders Win Round"
  36.     break;
  37. end
  38. end
  39.  
  40.  
  41.  
  42. --win identify
  43. while true do
  44.     if dscore >3 then
  45.         s.Value = "Orange Wins The Game" else
  46.         if ascore >3 then  
  47.             s.Value = "Blue Wins The Game"
  48.             wait(.1)
  49.         end
  50.     end
  51. end
Advertisement
Add Comment
Please, Sign In to add comment