Prison mine break whole layer

  • 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.

Mattllama987

Active Member
Aug 5, 2018
225
7
18
24
Hello, i have a question. I have a prison server, and i want to have a enchantment to break a whole layer of the mine. I have i think most of it done. But the problem im having is, setting the north east south and west. Im not 100% sure how to do that. So can anyone help me make this happen?

Thanks!
Matt

Code:
on mine:
    if lore of player's held item contains colored "&eEarthquake":
        loop blocks in radius 10 around event-block:
            if loop-value is bedrock or dirt or stone brick or cobble stone:
                cancel event
            else:
                give player loop-value
                set loop-value to air
 
you could do something like
Code:
else:
    if y coord of loop-block = y coord of event-block:
        give player loop-value
        set loop-value to air
 
Status
Not open for further replies.