Remove damage meter from iron sword

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

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

Tyberherz

Member
Mar 30, 2019
2
0
1
26
Hello,

Is there a possibility that the danage meter / bar is no longer displayed if the item is damaged?
Depending on the damage to the item, a certain texture is displayed.
that also works
Something like this must be included in the texture package of a JSON file so that the damage meter / bar is no longer displayed and if there is such a thing, where must this be entered.

My skript:

command /give-sword <number>:
trigger:
set {_item} to iron sword
set durability of {_item} to arg-1
broadcast "%{_item}% %arg-1%"
give {_item} to player's inventory
 
Well, if you don't want the durability meter to show you can have the durability of the sword be set to full durability (preferably every time the sword is used) and have a variable that counts down to show damage. Then, when the variable reaches 0 or below, you set the tool to air and play the tool breaking sound
 
Moin, thanks for the answers, it's about the Damage Meter not being displayed, even if an item has been damaged. It's not about a sound playing when the item breaks.
 
Status
Not open for further replies.