Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- set name of sidebar of player to "<##5E4B48>&lBUNKERED"
- set id based score "&f&l-&7------------------&f&l-" in sidebar of player to 7 with id "%player's uuid%.id50"
- set id based score "&3" in sidebar of player to 6 with id "%player's uuid%.id51"
- set id based score "&8&l●&f Balance&8 |&f %{stats.%player's uuid%::bal}%" in sidebar of player to 5 with id "%player's uuid%.id52"
- set id based score "&3" in sidebar of player to 4 with id "%player's uuid%.id53"
- set id based score "&8&l●&f Kills&8 |&f %{stats.%player's uuid%::kills}%" in sidebar of player to 3 with id "%player's uuid%.id54"
- set id based score "&4" in sidebar of player to 2 with id "%player's uuid%.id55"
- set id based score "&8&l●&f Your Tier&8 |&f %{tier::%player's uuid%}%" in sidebar of player to 1 with id "%player's uuid%.id56"
- function RefreshScoreBoard(p: player):
- set {uuid::%{_p}%} to {_p}'s uuid
- update score with id "%{uuid::%{_p}%}%.id52" to "&8&l●&f Balance&8 |&f %{stats.%{uuid::%{_p}%}%::bal}%" and 5
- update score with id "%{uuid::%{_p}%}%.id54" to "&8&l●&f Kills&8 |&f %{stats.%{uuid::%{_p}%}%::kills}%" and 3
- update score with id "%{uuid::%{_p}%}%.id56" to "&8&l●&f Your Tier&8 |&f %{tier::%{uuid::%{_p}%}%}%" and 1
- every 5 seconds:
- loop all players:
- RefreshScoreBoard(loop-player)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement