Solved Area Block Break Help

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

Status
Not open for further replies.

SnaderMC

Member
Sep 7, 2019
10
1
0
Is it possible to make when you destroy 1 block, the blocks around it on a will break? My code right now removes the blocks that are under the block that I break.

My code:
Code:
loop blocks in radius 2 of event-block:
    set loop-block to air

Picture: (The green blocks need to be destroyed, the red blocks should not be destroyed)
bcf2ccabe7a7bf74e438567050c88318.png
 
Is it possible to make when you destroy 1 block, the blocks around it on a will break? My code right now removes the blocks that are under the block that I break.

My code:
Code:
loop blocks in radius 2 of event-block:
    set loop-block to air

Picture: (The green blocks need to be destroyed, the red blocks should not be destroyed)View attachment 3817
Use a condition to check if the loop-block is a certain type of block, if the condition is met, set the block to air.
 
Use a condition to check if the loop-block is a certain type of block, if the condition is met, set the block to air.
Thanks, but already solved it :emoji_smile:

Code:
Code:
loop blocks in radius 1.1 of event-block:
                    if y coordinate of loop-block = y coordinate of event-block:
                        set loop-block to air
 
  • Like
Reactions: Deleted member 5254
Status
Not open for further replies.