Solved help with this 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

habbic

Member
Mar 18, 2024
29
0
1
24
Code:
on block break:
    if player is in region "spawn":
        if player's gamemode is survival:
            if event-block is anvil:
                set event-block to anvil
 
Code:
on block break:
    if "%region at player%" contains "spawn":
        if player's gamemode is survival:
            if block is anvil:
                cancel event
 
Code:
on block break:
    if "%region at player%" contains "spawn":
        if player's gamemode is survival:
            if block is anvil:
                cancel event
no dont cancel the event is a generator
but if some1 places the block outside of spawn they can mine it there