See this skript problem

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

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

lolib

Member
Oct 2, 2019
12
1
3
When I first left, he gave me an iron nugget.
then did not

Code:
command /spk [<player>]:
    trigger:
        arg 1 is set
        give 1 diamond pickaxe named "&bspecial Pickaxe" to arg 1

on break:
    if player's tool is diamond pickaxe named "&bspecial Pickaxe":
        if event-block is iron ore:
            cancel event
            set event-block to air
            drop 1 iron ingot
            add 1 to durability of player's tool
        if event-block is gold ore:
            cancel event
            set event-block to air
            drop 1 gold ingot
            add 1 to durability of player's tool
 
Last edited:
Status
Not open for further replies.