i been looking all over the place for an answer and only found one that DOESNT WORK WITH MY SKRIPT!
pelase help
pelase help
Code:
on rightclick holding dispenser:
if {_Waiting} is true:
cancel event
send "&6You're on Cooldown, Please wait!"
wait 5 seconds
set {_Waiting} to false
stop
if {_Waiting} is false:
player has 1 tnt
spawn a primed tnt 1 meter above the player
push the spawned entity in direction of player at speed 0.9
push the spawned entity upwards at speed 0.2
remove 1 tnt from player
set {_Waiting} to true
on place dispenser:
cancel event