command /tnt:
trigger:
add 1 to {spam.bla.%player%}
if {spam.bla.%player%} is 10:
execute console command "kick %player% &c&lSTOP SPAM!"
if {blabla::%player%} is "blablabla":
shoot a tnt from player with speed 1
set action bar of player to "&aWystrzelono TnT!"
set {ochrona::%player%} to "true"
wait 3 second
set action bar of player to ""
set {ochrona::%player%} to "false"
stop
on damage:
if "%type of victim%" is "player":
damage was caused by block explosion:
if {ochrona::gracze} is "tak":
set damage to 0
dobrze mam? czy nie?