On explode doesn't check water around chests

  • 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 comminuty!

    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!

Status
Not open for further replies.

Hordoss

Member
Sep 13, 2021
2
0
1
23
Hi all, (Sorry in advance for my bad english)
i'm trying to make a skript where the explosions break the water in a radius of 2.

It breaks the water well but the problem is that it doesn't count the chest surrounded by water event if the tnt explode just next to the chests.

(Screen of chests surrounded by water)

KInwEPHt3nd_2021-09-14-00.30.06.png


Here is my code:

Code:
on explosion:
    loop blocks in radius 2:
        if loop-block is water:
            break loop-block naturally using player' tool

Thank you in advance for your help !
 
Status
Not open for further replies.