Oxalist

Untitled

Apr 15th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.82 KB | None | 0 0
  1. if {frosted::%player%} is "False":
  2. set {frosted::%player%} to "True"
  3. add 1 to {frosted}
  4. set the player's tablist name to "&e%player%"
  5. add player to {frosted::list}
  6. broadcast "&b&lFrosted &8&lΒ» &b%player% &7has joined the queue (%{frosted}%/12)"
  7. if {frosted} is more than 1:
  8. loop players:
  9. if {frosted::%loop-player%} is "True":
  10. wait 1 second
  11. if {frosted::%loop-player%} is "True":
  12. send player title "&b&lFrosted" with subtitle "&7Game starting in 10 seconds" for 2 seconds
  13. send loop-player title "&b&lFrosted" with subtitle "&7Game starting in 10 seconds" for 2 seconds
  14. wait 5 seconds
  15. if {frosted::%loop-player%} is "True":
  16. send player title "&b&lFrosted" with subtitle "&7Game starting in 5 seconds" for 1 second
  17. send loop-player title "&b&lFrosted" with subtitle "&7Game starting in 5 seconds" for 1 second
  18. wait 1 second
  19. if {frosted::%loop-player%} is "True":
  20. send player title "&b&lFrosted" with subtitle "&7Game starting in 4 seconds" for 1 second
  21. send loop-player title "&b&lFrosted" with subtitle "&7Game starting in 4 seconds" for 1 second
  22. wait 1 second
  23. if {frosted::%loop-player%} is "True":
  24. send player title "&b&lFrosted" with subtitle "&7Game starting in 3 seconds" for 1 second
  25. send loop-player title "&b&lFrosted" with subtitle "&7Game starting in 3 seconds" for 1 second
  26. wait 1 second
  27. if {frosted::%loop-player%} is "True":
  28. send player title "&b&lFrosted" with subtitle "&7Game starting in 2 seconds" for 1 second
  29. send loop-player title "&b&lFrosted" with subtitle "&7Game starting in 2 seconds" for 1 second
  30. wait 1 second
  31. if {frosted::%loop-player%} is "True":
  32. send player title "&b&lFrosted" with subtitle "&7Game starting in 1 second" for 1 second
  33. send loop-player title "&b&lFrosted" with subtitle "&7Game starting in 1 second" for 1 second
  34. wait 1 second
  35. if {frosted::%loop-player%} is "True":
  36. set {frostedhealth::%player%} to 5
  37. set {frostedlives::%player%} to 5
  38. set {frostedhealth::%loop-player%} to 5
  39. set {frostedlives::%loop-player%} to 5
  40. set the loop-player's tablist name to "&b%player% &f%{frostedlives::%player%}%"
  41. set the player's tablist name to "&b%player% &f%{frostedlives::%player%}%"
  42. set {_loc} to a random element out of {frosted::spawns::*}
  43. teleport player to {_loc}
  44. teleport loop-player to {_loc}
  45. set slot 0 of player's inventory to 1 slimeball of knockback 2 named "&b&lFrosted &8&lΒ» &7Default Kit"
  46. set slot 0 of loop-player's inventory to 1 slimeball of knockback 2 named "&b&lFrosted &8&lΒ» &7Default Kit"
  47. send player title "&b&lFrosted" with subtitle "&7The game has started" for 2 seconds
  48. send loop-player title "&b&lFrosted" with subtitle "&7The game has started" for 2 seconds
  49. set {frostedgame::started} to "True"
  50. set {frostedingame::%player%} to "True"
  51. set {frostedingame::%loop-player%} to "True"
  52. stop
Advertisement
Add Comment
Please, Sign In to add comment