Oxalist

Experience Progress Skript

Feb 1st, 2019 (edited)
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. every tick:
  2. loop all players:
  3. set {exp::per::%loop-player%} to (rounded down {exp::%loop-player%}*10/{expn::%loop-player%}/10)
  4. set {split::%loop-player%} to {exp::per::%loop-player%}
  5. if {split::%loop-player%} is less than 10:
  6. set {exp::prog::%loop-player%} to "&7■■■■■■■■■■"
  7. if {split::%loop-player%} is greater than or equal to 10:
  8. set {exp::prog::%loop-player%} to "&a&l■&7■■■■■■■■■"
  9. if {split::%loop-player%} is greater than or equal to 20:
  10. set {exp::prog::%loop-player%} to "&a&l■■&7■■■■■■■■"
  11. if {split::%loop-player%} is greater than or equal to 30:
  12. set {exp::prog::%loop-player%} to "&a&l■■■&7■■■■■■■"
  13. if {split::%loop-player%} is greater than or equal to 40:
  14. set {exp::prog::%loop-player%} to "&a&l■■■■&7■■■■■■"
  15. if {split::%loop-player%} is greater than or equal to 50:
  16. set {exp::prog::%loop-player%} to "&a&l■■■■■&7■■■■■"
  17. if {split::%loop-player%} is greater than or equal to 60:
  18. set {exp::prog::%loop-player%} to "&a&l■■■■■■&7■■■■"
  19. if {split::%loop-player%} is greater than or equal to 70:
  20. set {exp::prog::%loop-player%} to "&a&l■■■■■■■&7■■■"
  21. if {split::%loop-player%} is greater than or equal to 80:
  22. set {exp::prog::%loop-player%} to "&a&l■■■■■■■■&7&7&7&7&7&7■■"
  23. if {split::%loop-player%} is greater than or equal to 90:
  24. set {exp::prog::%loop-player%} to "&a&l■■■■■■■■■&7■"
  25. if {split::%loop-player%} is greater than or equal to 100:
  26. set {exp::prog::%loop-player%} to "&a&l■■■■■■■■■■"
  27. if {exp::%loop-player%} is greater than or equal to {expn::%loop-player%}:
  28. add 1 to {level::%loop-player%}
  29. set {split::%loop-player%} to 0
  30. set {exp::prog::%loop-player%} to "&7■■■■■■■■■■"
  31. set {exp::%loop-player%} to 0
Add Comment
Please, Sign In to add comment