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.

Get player's item durability?

Discussion in 'Skript' started by agmas, Jun 12, 2021.

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

    agmas Member

    Joined:
    Apr 25, 2021
    Messages:
    10
    Likes Received:
    0
    I just want to see what durability an item is.

    eg:

    on mine
    (durability is 0)
    cancel event
     
  2. Minecoll_YT

    Supporter Forums Helper

    Joined:
    Dec 2, 2018
    Messages:
    650
    Likes Received:
    39
    Code (Text):
    1. if durability of player's tool is 0:
     
    • Like Like x 1
  3. agmas

    agmas Member

    Joined:
    Apr 25, 2021
    Messages:
    10
    Likes Received:
    0
    I'm posting this since this code doesnt work...
    (also im asking for the offhand tool & for "loop-player" instead of player)
     
Thread Status:
Not open for further replies.

Share This Page

Loading...