Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if {frosted::%player%} is "False":
- set {frosted::%player%} to "True"
- add 1 to {frosted}
- set the player's tablist name to "&e%player%"
- add player to {frosted::list}
- broadcast "&b&lFrosted &8&lΒ» &b%player% &7has joined the queue (%{frosted}%/12)"
- if {frosted} is more than 1:
- loop players:
- if {frosted::%loop-player%} is "True":
- wait 1 second
- if {frosted::%loop-player%} is "True":
- send player title "&b&lFrosted" with subtitle "&7Game starting in 10 seconds" for 2 seconds
- send loop-player title "&b&lFrosted" with subtitle "&7Game starting in 10 seconds" for 2 seconds
- wait 5 seconds
- if {frosted::%loop-player%} is "True":
- send player title "&b&lFrosted" with subtitle "&7Game starting in 5 seconds" for 1 second
- send loop-player title "&b&lFrosted" with subtitle "&7Game starting in 5 seconds" for 1 second
- wait 1 second
- if {frosted::%loop-player%} is "True":
- send player title "&b&lFrosted" with subtitle "&7Game starting in 4 seconds" for 1 second
- send loop-player title "&b&lFrosted" with subtitle "&7Game starting in 4 seconds" for 1 second
- wait 1 second
- if {frosted::%loop-player%} is "True":
- send player title "&b&lFrosted" with subtitle "&7Game starting in 3 seconds" for 1 second
- send loop-player title "&b&lFrosted" with subtitle "&7Game starting in 3 seconds" for 1 second
- wait 1 second
- if {frosted::%loop-player%} is "True":
- send player title "&b&lFrosted" with subtitle "&7Game starting in 2 seconds" for 1 second
- send loop-player title "&b&lFrosted" with subtitle "&7Game starting in 2 seconds" for 1 second
- wait 1 second
- if {frosted::%loop-player%} is "True":
- send player title "&b&lFrosted" with subtitle "&7Game starting in 1 second" for 1 second
- send loop-player title "&b&lFrosted" with subtitle "&7Game starting in 1 second" for 1 second
- wait 1 second
- if {frosted::%loop-player%} is "True":
- set {frostedhealth::%player%} to 5
- set {frostedlives::%player%} to 5
- set {frostedhealth::%loop-player%} to 5
- set {frostedlives::%loop-player%} to 5
- set the loop-player's tablist name to "&b%player% &f%{frostedlives::%player%}%"
- set the player's tablist name to "&b%player% &f%{frostedlives::%player%}%"
- set {_loc} to a random element out of {frosted::spawns::*}
- teleport player to {_loc}
- teleport loop-player to {_loc}
- set slot 0 of player's inventory to 1 slimeball of knockback 2 named "&b&lFrosted &8&lΒ» &7Default Kit"
- set slot 0 of loop-player's inventory to 1 slimeball of knockback 2 named "&b&lFrosted &8&lΒ» &7Default Kit"
- send player title "&b&lFrosted" with subtitle "&7The game has started" for 2 seconds
- send loop-player title "&b&lFrosted" with subtitle "&7The game has started" for 2 seconds
- set {frostedgame::started} to "True"
- set {frostedingame::%player%} to "True"
- set {frostedingame::%loop-player%} to "True"
- stop
Advertisement
Add Comment
Please, Sign In to add comment