Entities

Untitled

Nov 23rd, 2017
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. on join:
  2. set join message to ""
  3. broadcast "&8[&a+&8]&7 %player%"
  4. teleport player to {spawn.location}
  5.  
  6. on quit:
  7. set quit message to ""
  8. broadcast "&8[&c-&8]&7 %player%"
  9.  
  10. on first join:
  11. set {exp.%player's uuid%} to 0
  12. set {levelup.exp.%player's uuid%} to 100
  13. set {level.%player's uuid%} to 1
  14. set {blocks.%player's uuid%} to 0
  15. set {rank.%player's uuid%} to User
  16.  
  17. every 5 seconds:
  18. loop all players:
  19. make loop-player execute "sidebar"
  20.  
  21. command /sidebar:
  22. trigger:
  23. wipe player's sidebar
  24. set name of sidebar of player to "&c&lLOCKED &8[&b1.0&8]"
  25. set score "&8&m-----------*-----------" in sidebar of player to 13
  26. set score "&e&lRANK" in sidebar of player to 12
  27. set score "&7%{rank.%player's uuid%}%" in sidebar of player to 11
  28. set score "&a" in sidebar of player to 10
  29. set score "&e&lLEVEL" in sidebar of player to 9
  30. set score "&7%{level.%player's uuid%}%" in sidebar of player to 8
  31. set score "&e" in sidebar of player to 7
  32. set score "&e&lLEVEL COST" in sidebar of player to 6
  33. set score "&7%{levelup.exp.%player's uuid%}%" in sidebar of player to 5
  34. set score "&8&l" in sidebar of player to 4
  35. set score "&e&lBLOCKS MINED" in sidebar of player to 3
  36. set score "&7%{blocks.%player's uuid%}%" in sidebar of player to 2
  37. set score "&8&m--------*-----*--------" in sidebar of player to 1
  38.  
  39. command /reset-user:
  40. trigger:
  41. set {exp.%player's uuid%} to 0
  42. set {levelup.exp.%player's uuid%} to 100
  43. set {level.%player's uuid%} to 1
  44. set {blocks.%player's uuid%} to 0
  45. set {rank.%player's uuid%} to User
Add Comment
Please, Sign In to add comment