Solved i need help (skript for auto pickup)

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

Dinoboy

Member
Mar 14, 2020
13
0
1
31
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
 
Here's your code:
Code:
on break:
    event-block is stone
    add 1 to {xp.%player%}
    give player 1 diamond of sharpness 1 named "&b&lDiamond"
    
# you do not need to damage the pickaxe as minecraft is already doing that
 
thank you sooo much
[doublepost=1584382558,1584381599][/doublepost]wait i dont want it too show enchantmnet i just want the glow....
 
Here you go:

Code:
on break of stone:
    add 1 to player's level
    give player 1 diamond of sharpness 1 without any NBT named "&b&lDiamond"

Please mark the Thread as solved!
 
Here you go:

Code:
on break of stone:
    add 1 to player's level
    give player 1 diamond of sharpness 1 without any NBT named "&b&lDiamond"

Please mark the Thread as solved!
it gives the cobblestone can you add cancel event in the skript idk how
[doublepost=1584644180,1584644143][/doublepost]also how to make sloved
 
code_language.skript:
on break of stone:
    add 1 to player's level
    give player 1 diamond of sharpness 1 without any NBT named "&b&lDiamond"
    cancel event

To mark the Thread as solved edit the Title of this Thread
 
code_language.skript:
on break of stone:
    add 1 to player's level
    give player 1 diamond of sharpness 1 without any NBT named "&b&lDiamond"
    cancel event

To mark the Thread as solved edit the Title of this Thread
Does this need an addon for skript as this code isnt wokring