This is the code I whant to regenerate the floor wend the tnt blow. I try loop all bloks in radius 50 of the player add loop-block to {block} wait 3 second add {block} to loop-block but that does not work
code_language.skript:
options:
logo: &9&l<&b&lAr&a&lmas&9&l>&e&l
command /armas [<text>]:
trigger:
if arg 1 is "bazooka":
give a stone sword named "&aBazooka" to the player
on rightclick:
held item of the player is stone sword named "&aBazooka":
if {bazooka.delay.%player%} is true:
send "{@logo}Espera 3 segundos"
else:
set {bazooka.delay.%player%} to true
make the player shoot a tnt at speed 2
wait 3 second
delete {bazooka.delay.%player%}