Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2015
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. command /killboard <text>:
  2. description: /killboard <on|off> - Enable/Disable the Killboard
  3. usage: /killboard <on|off>
  4. permission: skript.op
  5. permission message: &cYou do not have permission to execute this command&8.
  6. executable by: players and console
  7. trigger:
  8. if arg 1 is "on":
  9. execute console command "/scoreboard objectives add kills display &a&lDynasty &8&l> &2&lKills"
  10. execute console command "/scoreboard objectives setdisplay sidebar kills"
  11. if arg 1 is "off":
  12. execute console command "/scoreboard objectives remove kills"
  13.  
  14. on death of player:
  15. if attacker is a player:
  16. execute console command "/scoreboard players add %attacker% kills 1"
  17. execute console command "/scoreboard players reset %victim%"
  18. else:
  19. execute console command "/scoreboard players add &2P&7v&2E kills 1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement