I need help with a skript to do with exploding blocks. I can't seem to find any resources currently available. I am using skript as worldguard for my server, so I need to specify which blocks can and can't be destroyed by tnt. My main issue is that cancel event seems to make it so the explosion doesn't destroy anything. Here is my current script:
Other keywords for other people with the same issue:
Explosion, Specific, Blocks Exploded, Specify
Code:
#skript explosion specification
on explode:
loop exploded blocks:
if loop-block is stone:
cancel event
Explosion, Specific, Blocks Exploded, Specify