Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- p: &8[&cIgniteUHC&8]
- command /spawnboard <text>:
- permission: skript.op
- trigger:
- if arg is "on" or "true" or "enable":
- set {spawnboard} to true
- message "{@p} &aYou have enabled the spawn board"
- command "/scoreboard objectives remove SpawnBoard"
- command "/scoreboard objectives add SpawnBoard dummy {@p}"
- command "/scoreboard objectives add &aKills SpawnBoard playerKillCount"
- command "/scoreboard players set &b&lOnline SpawnBoard %amount of players%"
- command "/scoreboard objectives setdisplay sidebar SpawnBoard"
- if arg is "off" or "false" or "disable":
- set {spawnboard} to false
- message "{@p} &bYou have disabled the spawn board"
- command "/scoreboard objectives remove SpawnBoard"
- every second:
- {spawnboard} is true
- loop all players:
- command "/scoreboard players set &b&lOnline SpawnBoard %amount of players%"
- on death of player:
- console command "/scoreboard players reset %victim%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement