Mining skript screwing up

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

Status
Not open for further replies.

pixelizedgaming

New Member
Dec 25, 2019
9
0
0
22
When I use an improper tool to break the block (like wooden pick on iron), it doesn't kick in. why
i want to make it so it doesn't drop anything but it also doesn't break the block

Code:
on mine:
  
    if block's type is coal ore:
        cancel event
        give player 4 coal

    if block's type is lapis ore:
        if "%region at player%" contains "cloudstone":


            cancel event
            give player 1 lapis
    if "%region at player%" contains "mines":
        if block's type is iron ore:
            cancel event
            give player 2 iron ingot
        else:
            if gamemode of player is survival:
                cancel event
                if block's type is gold ore:

                    give player 1 gold ingot
                    give 1 exp to the player
 
Status
Not open for further replies.