block break skript

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

deadlydunner

Member
Jun 12, 2024
3
0
1
25

Catergory​

Skript Help

Spigot/Skript Version:​

Paper 1.20.4, Latest version of Skript

What I want:​

I need a script that makes blocks in a specified region (named "blockbreak") instantly break and set to air as soon as a player starts mining them, without dropping any items.

When I'd like it by:​

As soon as possible, but a reasonable timeframe would be within the next few days.
 
Didn't test this but it should work
Code:
on left click:
    if "%region at event-block%" contains "blockbreak":
        cancel event
        set event-block to air