on rightclick:
if name of player's tool is "&4Rzucane TnT":
set {tnt.%player%} to true
shoot a TNT from player with speed 0.4
remove 1 tnt named "&4Rzucane TnT" from player
wait 2 second
set {tnt.%player%} to false
on place tnt:
if {tnt.%player%} is true:
cancel event
on script load:
register new shaped recipe for TNT of infinity 1 named "&4Rzucane TnT" using iron ingot, iron ingot, iron ingot, iron ingot, tnt, iron ingot, iron ingot, iron ingot, iron ingot
Skrypt nie mój ale powinno działać