Specified Exploded Blocks (sk 2.7.1)

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Newdl

Member
Sep 17, 2023
1
0
1
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:
Code:
#skript explosion specification
on explode:
    loop exploded blocks:
        if loop-block is stone:
            cancel event
Other keywords for other people with the same issue:
Explosion, Specific, Blocks Exploded, Specify