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.

Remove damage meter from iron sword

Discussion in 'Skript' started by Tyberherz, Mar 7, 2020.

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

    Tyberherz Member

    Joined:
    Mar 30, 2019
    Messages:
    2
    Likes Received:
    0
    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
     
  2. Goose

    Supporter

    Joined:
    Nov 23, 2019
    Messages:
    419
    Likes Received:
    30
    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
     
  3. emperorofwater

    Joined:
    Oct 28, 2019
    Messages:
    24
    Likes Received:
    0
    wait theres a tool breaking sound
     
  4. Tyberherz

    Tyberherz Member

    Joined:
    Mar 30, 2019
    Messages:
    2
    Likes Received:
    0
    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.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...