on rightclick: if player's tool is tnt named "&4Rzucane TNT": if {rzucak.%player%} is less than 1: remove 1 tnt named "&4Rzucane TNT" from player shoot a TNT from player with speed 0.4 set {rzucak.%player%} to 120 else: send "&f&lEC &8» &7Rzucane TNT mozesz rzucic za &e%{rzucak.%player%}% &7sekund" every 1 second: loop all players: if {rzucak.%loop-player%} is greater than 0: remove 1 from {rzucak.%loop-player%} if {rzucak.%loop-player%} is less than 0: send "&f&lEC &8» &7Znow mozesz uzyc rzucanego tnt!" to loop-player on place of tnt: if player's tool is tnt named "&4Rzucane TNT": cancel event variables: {rzucak.%player%} = 0