code_language.skript:
loop {sw.arena.%arg-2%.players::*}:
send "{@prefix} %arg-2% will start in 15 seconds" to loop-value
set loop-value's level to 15
clear loop-value's inventory
wait a second
set the loop-value's level to 14
wait a second
set the loop-value's level to 13
wait a second
set the loop-value's level to 12
wait a second
set the loop-value's level to 11
wait a second
set the loop-value's level to 10
play sound "ENTITY_EXPERIENCE_ORB_PICKUP" to loop-value with volume 1 and pitch 2
wait a second
set the loop-value's level to 9
wait a second
set the loop-value's level to 8
wait a second
set the loop-value's level to 7
wait a second
set the loop-value's level to 6
wait a second
set the loop-value's level to 5
play sound "ENTITY_EXPERIENCE_ORB_PICKUP" to loop-value with volume 1 and pitch 2
wait a second
set the loop-value's level to 4
play sound "UI_BUTTON_CLICK" to loop-value with volume 1 and pitch 2
wait a second
set the loop-value's level to 3
play sound "UI_BUTTON_CLICK" to loop-value with volume 1 and pitch 2
wait a second
set the loop-value's level to 2
play sound "UI_BUTTON_CLICK" to loop-value with volume 1 and pitch 2
wait a second
set the loop-value's level to 1
play sound "UI_BUTTON_CLICK" to loop-value with volume 1 and pitch 2
wait a second
set the loop-value's level to 0
set loop-value's gamemode to survival
And i have delay with this code, it's send just for one player of all variables.
Thx for help!