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!

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

Solved i need help (skript for auto pickup)

Discussion in 'Requests' started by Dinoboy, Mar 14, 2020.

  1. Dinoboy

    Dinoboy Member

    Joined:
    Mar 14, 2020
    Messages:
    10
    Likes Received:
    0
    i need a skript
    i need it to do something like
    On break on Stone
    Damge pickaxe 1
    Give %player% xp 10
    Give player diamond
    named &b&ldiamond
    enchantments:
    - sharpness
     
  2. Potato

    Potato Active Member

    Joined:
    Feb 24, 2020
    Messages:
    57
    Likes Received:
    0
    So basically a level system?
     
  3. TenToTu Sho

    TenToTu Sho Member

    Joined:
    Dec 30, 2019
    Messages:
    20
    Likes Received:
    2
    Here's your code:
    Code (Text):
    1. on break:
    2.     event-block is stone
    3.     add 1 to {xp.%player%}
    4.     give player 1 diamond of sharpness 1 named "&b&lDiamond"
    5.    
    6. # you do not need to damage the pickaxe as minecraft is already doing that
     
  4. Dinoboy

    Dinoboy Member

    Joined:
    Mar 14, 2020
    Messages:
    10
    Likes Received:
    0
    thank you sooo much
    --- Double Post Merged, Mar 16, 2020, Original Post Date: Mar 16, 2020 ---
    wait i dont want it too show enchantmnet i just want the glow....
     
  5. sluhtie

    Supporter

    Joined:
    Feb 8, 2020
    Messages:
    24
    Likes Received:
    1
    Here you go:

    Code (Text):
    1. on break of stone:
    2.     add 1 to player's level
    3.     give player 1 diamond of sharpness 1 without any NBT named "&b&lDiamond"
    Please mark the Thread as solved!
     
  6. Dinoboy

    Dinoboy Member

    Joined:
    Mar 14, 2020
    Messages:
    10
    Likes Received:
    0
    it gives the cobblestone can you add cancel event in the skript idk how
    --- Double Post Merged, Mar 19, 2020, Original Post Date: Mar 19, 2020 ---
    also how to make sloved
     
  7. sluhtie

    Supporter

    Joined:
    Feb 8, 2020
    Messages:
    24
    Likes Received:
    1
    Code (Skript):
    1. on break of stone:
    2.     add 1 to player's level
    3.     give player 1 diamond of sharpness 1 without any NBT named "&b&lDiamond"
    4.     cancel event
    To mark the Thread as solved edit the Title of this Thread
     
  8. HiqqhFive

    Supporter

    Joined:
    Jan 28, 2017
    Messages:
    60
    Likes Received:
    6
    Code (Text):
    1. add glowing diamond named "&b&lDiamond" to inventory of player
     
  9. sluhtie

    Supporter

    Joined:
    Feb 8, 2020
    Messages:
    24
    Likes Received:
    1
    Yes would be a solution if you only want the glow but like he said he wants the enchantment Sharpness but only displaying the glow effect
     
    #9 sluhtie, Apr 8, 2020
    Last edited: Apr 11, 2020
  10. HiqqhFive

    Supporter

    Joined:
    Jan 28, 2017
    Messages:
    60
    Likes Received:
    6
    Oh sorry, I didn't seen this right. My mistake.
     
  11. sluhtie

    Supporter

    Joined:
    Feb 8, 2020
    Messages:
    24
    Likes Received:
    1
    :emoji_grinning:
     
  12. HiqqhFive

    Supporter

    Joined:
    Jan 28, 2017
    Messages:
    60
    Likes Received:
    6
    Please mark the Thread as solved.
     
  13. Dinoboy

    Dinoboy Member

    Joined:
    Mar 14, 2020
    Messages:
    10
    Likes Received:
    0
    Does this need an addon for skript as this code isnt wokring
     

Share This Page

Loading...