on script load:
register new shaped recipe for TNT of infinity 1 named "&c&lRzucane TnT" using 64 of tnt, 64 tnt, 64 tnt, 64 tnt, 64 tnt, 64 tnt, 64 tnt, 64 tnt, 64 tnt
createCooldown("tnt", 3 second)
on rightclick:
if name of player's tool is "&4Rzucane TnT":
if getCooldown(player, "tnt"):
shoot a TNT from player with speed 0.4
remove 1 tnt named "&c&lRzucane TnT" from player
setCooldown(player, "tnt")
on place tnt:
if getCooldown(player, "tnt"):
stop
cancel event
Wymaga: AxCooldown