<
every 1 second:
if {TokenCounter} is true:
loop all players in world "arena":
if {ArenaGo} is true:
set {TokenCounter} to false
set {Tokens.%player's uuid%} to 25
send "§a+25 Tokens" to loop-players
send "§c§LNEXT WAVE ARRIVING IN 20 SECONDS" to loop-players
wait 20 seconds
>
this code doesnt work.It only send the messages and increases the tokens uuid for 1 player.Ive tried players in the world "arena"(name of the world this happens in) but it doesnt work for uuids and gets an error.How to fix/write this differently to work?
every 1 second:
if {TokenCounter} is true:
loop all players in world "arena":
if {ArenaGo} is true:
set {TokenCounter} to false
set {Tokens.%player's uuid%} to 25
send "§a+25 Tokens" to loop-players
send "§c§LNEXT WAVE ARRIVING IN 20 SECONDS" to loop-players
wait 20 seconds
>
this code doesnt work.It only send the messages and increases the tokens uuid for 1 player.Ive tried players in the world "arena"(name of the world this happens in) but it doesnt work for uuids and gets an error.How to fix/write this differently to work?