Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- set {kills.%player%} to 0
- command /killscoreboard [<text>]:
- permission: scoreboard.admin
- trigger:
- if arg 1 is not set:
- send "&e/killscoreboard on"
- send "&e/killscoreboard off"
- if arg 1 is "on":
- wipe player's sidebar
- set name of sidebar of player to "&e&lUHC"
- set score "&b&lKills:" in sidebar of player to {kills.%player%}
- if arg 1 is "off":
- wipe player's sidebar
- set {kills.%player%} to 0
- on death of a player:
- if attacker is a player:
- add 1 to {kills.%attacker%}
- wipe attacker's sidebar
- set name of sidebar of attacker to "&eUHC"
- set score "&a" in sidebar of attacker to 1
- set score "&b&lKills:" in sidebar of attacker to {kills.%player%}
Advertisement
Add Comment
Please, Sign In to add comment