command /odliczanie [<text>]:
executable by: console
trigger:
set {_colors::*} to "&a", "&e", "&c", "&4"
set {_colorsNumbers::*} to 10, 5, 3, 1
set {_n} to 10
set {_color} to 1
loop {_n} times:
set {_countdown} to {_n} - loop-number + 1
if {_countdown} <= {_colorsNumbers::%{_color} + 1%}:
add 1 to {_color}
send title "%{_colors::%{_color}%}%%{_countdown}%" to all players
play sound "ENTITY_EXPERIENCE_ORB_PICKUP" to all players
wait 1 second