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.

Solved How can i enchant things in a gui?

Discussion in 'Skript' started by Auswahluhr6004, Aug 20, 2017.

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

    Joined:
    Mar 1, 2017
    Messages:
    109
    Likes Received:
    1
    Hello, here's my code:

    Code (Skript):
    1.             set slot 29 of current inventory of player to diamond pickaxe named "&eDiamant Spitzhacke &eTier 2" with lore "||&ePreis: &750000||"
    2.             enchant slot 29 of current inventory of player with efficiency 2, unbreaking 3 and skiltouch 1
    And how can i give the enchanted pickaxe?

    Thank you

    Best regards, Auswahluhr6004

     
    #1 Auswahluhr6004, Aug 20, 2017
    Last edited: Aug 20, 2017
  2. Best Answer:
    Post #3 by ShaneBee, Aug 20, 2017
  3. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    222
    Sorry i cant help u with this code because this is a addon i dont work with
    --- Double Post Merged, Aug 20, 2017, Original Post Date: Aug 20, 2017 ---
    maybe try this:
    with enchant "enchants"
     
  4. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    222
    Put the enchants after the item
    Set slot 29 of player's current inventory to diamond pickaxe of efficiency 2 named " name"
     
  5. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    222
    Thank you! Have a nice day!
     
    • Friendly Friendly x 1
Thread Status:
Not open for further replies.

Share This Page

Loading...