Loop blocks in a Cube

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

henrique73

Member
May 30, 2020
4
0
0
25
I would like to know if there's a way to loop blocks from a event-block,like in those prison servers
 
I would like to know if there's a way to loop blocks from a event-block,like in those prison servers
event-block?

something like this?
Code:
on break:
    loop all blocks in radius 5 of event-block:
        #do stuff with loop-block
 
If a region is set, it can be done with
Code:
on event:
    loop all blocks in radius (more than region's size) around event-location:
        if "%region at loop-block%" contains "(name of region)":
            #do stuff