Durability with Scoreboard

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

MevaxYT

New Member
Jan 31, 2017
7
0
0
24
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 :/
 
Last edited:
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 :/
What addons are you using?
[doublepost=1542716240,1542715938][/doublepost]
code_language.skript:
on damage:
    wipe victims sidebar
    set name of sidebar of victim to "&c%attacker%"
    set score "&7Boots: &e%damage of boots of attacker%" to 1
    set score "&7Leggings: &e%damage of leggins of attacker%" to 2
    set score "&7Chestplate: &e%damage of chestplate of attacker%" to 3
    set score "&7Helmet: &e%damage of helmet of attacker%" to 4
    wipe attackers sidebar
    set name of sidebar of attacker to "&c%victim%"
    set score "&7Boots: &e%damage of boots of victim%" to 1
    set score "&7Leggings: &e%damage of leggins of victim%" to 2
    set score "&7Chestplate: &e%damage of chestplate of victim%" to 3
    set score "&7Helmet: &e%damage of helmet of victim%" to 4
Requires SkRayfall