Hello
as in the subject I do not know how to send a message to the loop-index and playsound at the loop-index
here's the script:
as in the subject I do not know how to send a message to the loop-index and playsound at the loop-index
here's the script:
code_language.skript:
every 1 minutes:
loop {czaspolimorfiitimer::*}:
remove 1 from {czaspolimorfiitimer::%loop-index%}
if {czaspolimorfiitimer::%loop-index%} <= 0:
send " &c&lPolimorfia&8 »&6 Twoja polimorfia &2&lZombie&6 wygasla!" to {czaspolimorfiitimer::%loop-index%::*}
play raw sound "mob.zombie.remedy" at {czaspolimorfiitimer::%loop-index%::*} with pitch 0.5 volume 1
delete {czaspolimorfiitimer::%loop-index%}
execute console command "/undisplayer %loop-index%"
clear {polimorfiamob::%loop-index%}
stop