Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /sb <text>:
- trigger:
- if arg-1 is "on":
- set {sb.%player%} to true
- send "&aScoreboard on"
- if arg-1 is "off":
- set {sb.%player%} to false
- send "&cScoreboard off"
- wipe player's sidebar
- every 1 second:
- loop all players:
- if {sb.%loop-player%} is true:
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "&c&lWestmine"
- set score "&bThirst: %{thirst.%loop-player%}%" in sidebar of loop-player to 6
- set score "&8Hygiene: %{hyg.%loop-player%}%" in sidebar of loop-player to 6
- set score "&7" in sidebar of loop-player to 5
- set score "&cStrength: %{strength.%loop-player%}%" in sidebar of loop-player to 4
- set score "&bSpeed: %{speed.%loop-player%}%" in sidebar of loop-player to 3
- set score "&aIntelligence: %{smart.%loop-player%}%" in sidebar of loop-player to 2
- set score "&8" in sidebar of loop-player to 1
- set score "&cDo /sb off to turn this off!" in sidebar of loop-player to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement