Advertisement
pz_neko

Untitled

Aug 25th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. on Rightclick on a sign:
  2. set {_Ranking} to location -1 meter horizontal forwards location of clicked block
  3. add 2 to y coordinate of {_Ranking}
  4. set {_Lv.count} to 0
  5. spawn an armor stand at {_Ranking}
  6. add "{CustomName:""&b&l&m=*=*=&f &f&lRanking &b&l&m=*=*="",CustomNameVisible:1,NoGravity:1b,Small:1,Invisible:1}" to nbt of last spawned armor stand
  7. remove 0.25 from y coordinate of {_Ranking}
  8. loop {lv::*}:
  9. set {_Ranking::%loop-index%} to loop-value
  10. loop 10 times:
  11. loop {_Ranking::*}:
  12. loop-value-2 > {_Lv.count}
  13. set {_Lv.count} to loop-value-2
  14. set {_Lv.name} to loop-index
  15. spawn an armor stand at {_Ranking}
  16. add "{CustomName:""&8[&a%loop-number%&8] &7%{_Lv.name}%&8(&7%{_Lv.count}%Lv&8)"",CustomNameVisible:1,NoGravity:1b,Small:1,Invisible:1}" to nbt of last spawned armor stand
  17. remove 0.25 from y coordinate of {_Ranking}
  18. set {_Lv.count} to 0
  19. delete {_Ranking::%{_highplayer}%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement