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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Durability with Scoreboard

Discussion in 'Requests' started by MevaxYT, Nov 15, 2018.

  1. MevaxYT

    MevaxYT New Member

    Joined:
    Jan 31, 2017
    Messages:
    7
    Likes Received:
    0
    Suggested name: Durability with Scoreboard

    What I want:
    I need help with a script I have the following before when in combat is a scoreboard appear where each percent of the armor are displayed so the Durability for example, if you beat a player is in scoreboard 99 percent to the opponent in the Scoreboard stand if I for example against a fighting then the fight persons in the Scoreboard are to stand for example I fight against Cookie then should stand with me in the Scoreboard Cookie and with Cookie my Ingame Name.

    Ideas for commands:

    no commands all automatic

    Ideas for permissions:

    no Permissions

    When I'd like it by: now or 1-2 Days :/
     
    #1 MevaxYT, Nov 15, 2018
    Last edited: Nov 16, 2018
  2. BrettPlayMC

    Supporter

    Joined:
    Jan 26, 2017
    Messages:
    715
    Likes Received:
    53
    Use the request format and explain more.
     
  3. MevaxYT

    MevaxYT New Member

    Joined:
    Jan 31, 2017
    Messages:
    7
    Likes Received:
    0
    i have change this
     
  4. XanderWander

    XanderWander Member

    Joined:
    Jan 27, 2017
    Messages:
    71
    Likes Received:
    5
    What addons are you using?
    --- Double Post Merged, Nov 20, 2018, Original Post Date: Nov 20, 2018 ---
    Code (Skript):
    1. on damage:
    2.     wipe victims sidebar
    3.     set name of sidebar of victim to "&c%attacker%"
    4.     set score "&7Boots: &e%damage of boots of attacker%" to 1
    5.     set score "&7Leggings: &e%damage of leggins of attacker%" to 2
    6.     set score "&7Chestplate: &e%damage of chestplate of attacker%" to 3
    7.     set score "&7Helmet: &e%damage of helmet of attacker%" to 4
    8.     wipe attackers sidebar
    9.     set name of sidebar of attacker to "&c%victim%"
    10.     set score "&7Boots: &e%damage of boots of victim%" to 1
    11.     set score "&7Leggings: &e%damage of leggins of victim%" to 2
    12.     set score "&7Chestplate: &e%damage of chestplate of victim%" to 3
    13.     set score "&7Helmet: &e%damage of helmet of victim%" to 4
    Requires SkRayfall
     

Share This Page

Loading...