Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Repeating: scoreboard players test *Ticks Game 0 399
- Repeating conditional: scoreboard players enable @a JQ
- chain: scoreboard players add @a[score_JQ_min=1] Q 1
- chain: scoreboard players set @a[score_Q_min=2] Q 0
- chain: scoreboard players set Q Dummy 0
- chain: scoreboard players reset * QC
- chain: scoreboard players set @a[score_Q_min=1] QC 1
- chain: scoreboard players operation Q Dummy += * QC
- chain: execute @a[score_JQ_min=1,score_Q_min=1,score_Q=1] ~ ~ ~ say Queue Message
- chain: execute @a[score_JQ_min=1,score_Q_min=0,score_Q=0] ~ ~ ~ say Leave Message
- chain: scoreboard players set @a JQ 0
- chain: scoreboard players test Q Dummy 2
- chain conditional: scoreboard players add *Ticks Game 1
- chain: scoreboard players test Q Dummy 0 1
- chain conditional: scoreboard players test *Ticks Game 1
- chain conditional: scoreboard players set *Ticks Game 0
- chain conditional: tellraw @a ["",{"text":"Game is restarting!","color":"red"}]
- Scoreboard requirements:
- JQ - trigger
- Q - dummy
- QC - dummy
- D - dummy
- G - dummy
Add Comment
Please, Sign In to add comment