Advertisement
Guest User

Untitled

a guest
Feb 25th, 2021
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. on join:
  2. set name of sidebar of player to "<##5E4B48>&lBUNKERED"
  3. set id based score "&f&l-&7------------------&f&l-" in sidebar of player to 7 with id "%player's uuid%.id50"
  4. set id based score "&3" in sidebar of player to 6 with id "%player's uuid%.id51"
  5. 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"
  6. set id based score "&3" in sidebar of player to 4 with id "%player's uuid%.id53"
  7. 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"
  8. set id based score "&4" in sidebar of player to 2 with id "%player's uuid%.id55"
  9. 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"
  10.  
  11. function RefreshScoreBoard(p: player):
  12. set {uuid::%{_p}%} to {_p}'s uuid
  13. update score with id "%{uuid::%{_p}%}%.id52" to "&8&l●&f Balance&8 |&f %{stats.%{uuid::%{_p}%}%::bal}%" and 5
  14. update score with id "%{uuid::%{_p}%}%.id54" to "&8&l●&f Kills&8 |&f %{stats.%{uuid::%{_p}%}%::kills}%" and 3
  15. update score with id "%{uuid::%{_p}%}%.id56" to "&8&l●&f Your Tier&8 |&f %{tier::%{uuid::%{_p}%}%}%" and 1
  16.  
  17. every 5 seconds:
  18. loop all players:
  19. RefreshScoreBoard(loop-player)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement