Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /killboard <text>:
- description: /killboard <on|off> - Enable/Disable the Killboard
- usage: /killboard <on|off>
- permission: skript.op
- permission message: &cYou do not have permission to execute this command&8.
- executable by: players and console
- trigger:
- if arg 1 is "on":
- execute console command "/scoreboard objectives add kills display &a&lDynasty &8&l> &2&lKills"
- execute console command "/scoreboard objectives setdisplay sidebar kills"
- if arg 1 is "off":
- execute console command "/scoreboard objectives remove kills"
- on death of player:
- if attacker is a player:
- execute console command "/scoreboard players add %attacker% kills 1"
- execute console command "/scoreboard players reset %victim%"
- else:
- execute console command "/scoreboard players add &2P&7v&2E kills 1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement