Pickaxe do not damage

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

Alperen

Member
Jul 9, 2019
3
0
0
on break of cobblestone:
set event-block to air
give 1 cobblestone to player
cancel event

How can i open pickaxe damage ?
 
???? Define 'pickaxe damage'

Have a look @ this if it's what you searching for:
code_language.skript:
set item damage to X # X -> value
I try the code and I see the problem the players tool (pickaxe) is not taking damage is like is unbreakable
 
on break of cobblestone:
set event-block to air
give 1 cobblestone to player
cancel event

How can i open pickaxe damage ?
Code:
on mine of cobblestone:
    clear drops
    give 1 cobblestone to player
#the problem is the cancel event I just clear the drops now
[doublepost=1566047723,1566047240][/doublepost]
So you want it to be unbreakable?
I think the problem was the pickaxe does not take any damage using cancel event because I try it and I test the code with clear drops and now the pickaxe takes damage sorry for my bad English my main Lenguaje is Spanish
 
Status
Not open for further replies.