Question: Why does my code keep using 2 tnt when i place it down instead of 1?
CODE:
CODE:
code_language.skript:
on place of TNT:
if name of player's tool is "&cExplosive TNT &7(Right Click)":
remove TNT from player's inventory
cancel event
create a safe explosion with force 2 at event-location
set fuse time of the last spawned TNT to 0
on damage:
damage cause is block explosion:
increase the damage by 0.5
wait 1 tick
push the victim backwards at speed 1.7
command /TNT:
trigger:
give player 1 TNT named "&cExplosive TNT &7(Right Click)"