Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #KillBoard Skript By GreenUHC
- #Http://www.twitter.com/xGreenPvP
- command /kb <text>:
- description: /kb <on|off> - Enable/Disable the Killboard
- usage: /kb <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 dummy &3Intoxicated &a&l- &b%command sender%"
- execute console command "/scoreboard objectives setdisplay sidebar kills"
- command "/scoreboard players set &8-&bDeaths&8- kills 0"
- execute console command "/scoreboard players set &aPlayers&8&l: kills %amount of players%"
- broadcast "&7[&3&lIntoxicated&7] &cKillBoard &2Enabled"
- if arg-1 is "off":
- execute console command "/scoreboard objectives remove kills"
- broadcast "&7[&3&lIntoxicated&7] &3KillBoard &4Disabled"
- 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%"
- execute console command "/scoreboard players add &8-&bDeaths&8- kills 1"
- else:
- execute console command "/scoreboard players add &8-&3PvE&8- kills 1"
- execute console command "/scoreboard players add &8-&bDeaths&8- kills 1"
- every second:
- execute console command "/scoreboard players set &aPlayers&8&l: kills %amount of players%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement