1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Enchant item help

Discussion in 'Skript' started by toriset, Nov 18, 2020.

Thread Status:
Not open for further replies.
  1. toriset

    toriset Member

    Joined:
    Jan 9, 2020
    Messages:
    2
    Likes Received:
    0
    Pretty much i want a basic skript:
    When i right click with a pickaxe it sets the tier of the efficiency enchantment by 1 higher than it was already.

    My code:
    View attachment upload_2020-11-18_10-26-20.png

    I get no errors, but when i right click it nothing happens

    EDIT: Also i cant do "enchant player's tool with efficiency {_l2}"
     
  2. acai

    acai Active Member

    Joined:
    Oct 23, 2020
    Messages:
    89
    Likes Received:
    1
    Code (Text):
    1. on right click:
    2.   if player's tool is any pickaxe
    meh
     
  3. Jakkeren

    Supporter

    Joined:
    Mar 23, 2017
    Messages:
    63
    Likes Received:
    3
    No need to make it complicated:

    Code (Text):
    1. on rightclick:
    2.     player's tool is any pickaxe:
    3.         enchant player's tool with efficiency (level of efficiency on player's tool + 1)
    Also, this has already been covered here
     
Thread Status:
Not open for further replies.

Share This Page

Loading...