Discord Thread How do I loop all blocks on the y coord of the event block

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

This thread came from the skUnity Discord. You can't reply to it here but if you join the skUnity Discord, you'll be able to post a reply there. The thread link is part of the thread's message.
Status
Not open for further replies.
he is actually helping u alot ngl
code_language.skript:
on break:
    loop all blocks in region "mine_a_brk" where [input is not bedrock]:
        if loop-block's y-coordinate = event-block's y-coordinate:
            drop drops of loop-block using player's tool
            set block at loop-block's location to air

Posted by: unjoinable from the skUnity Discord.
 
Status
Not open for further replies.