MostFunGuy

Untitled

Aug 4th, 2014
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.03 KB | None | 0 0
  1.  
  2.  
  3.  
  4. # #! {level::*}
  5. # #! {currentKit::*}
  6. # #! {level.requirement::*}
  7. # #!
  8. # #!
  9. # #!
  10. # #!
  11. # #!
  12. # #!
  13.  
  14. on skript unload:
  15. delete {trackers::*}
  16.  
  17. on skript load:
  18. delete {trackers::*}
  19.  
  20.  
  21. every 3 seconds:
  22. loop all players:
  23. if "%{trackers::bossbar.%loop-player%}%" is not "%region at loop-player%":
  24. set {trackers::bossbar.%loop-player%} to "%region at loop-player%"
  25. set {_region} to "%region at loop-player%"
  26. if "%{_region}%" is not "<none>":
  27. set {_regionsplit::*} to {_region} split at " "
  28. set {_displayregion} to "%{_regionsplit::1}%"
  29. replace all "_" with " " in {_displayregion}
  30.  
  31. if "%{_displayregion}%" contains "(Night)":
  32. set the time of loop-player to 23:59
  33. else:
  34. set the time of loop-player to 07:00
  35.  
  36. replace all " (night)" with "" in {_displayregion}
  37. replace all "(night)" with "" in {_displayregion}
  38.  
  39. set boss bar of loop-player to "<light aqua>%coloured {_displayregion}%" # #! This is optional, feel free to remove it if you want
  40.  
  41. if "%{tracker::scoreboard.%loop-player%}%" is not "%{level::%loop-player%}%/%{currentKit::%loop-player%}%/%number of all players%":
  42. set {tracker::scoreboard.%loop-player%} to "%{level::%loop-player%}%/%{currentKit::%loop-player%}%/%number of all players%"
  43.  
  44. set {_c1} to "<dark aqua>"
  45. set {_c2} to " <light aqua>"
  46.  
  47. display board named "<light aqua>Malory's KitPVP!" to loop-player
  48. make score "<red>" in board of loop-player to 23
  49.  
  50. make score of "%{_c1}%Your Level:" in board of loop-player to 22
  51. make score of "%{_c2}%%{level::%loop-player%}%" in board of loop-player to 21
  52.  
  53. make score "<blue>" in board of loop-player to 20
  54.  
  55. make score "%{_c1}%Your Kit:" in board of loop-player to 19
  56. make score "%{_c2}%%{currentKit::%loop-player%}%" in board of loop-player to 18
  57.  
  58. make score "<yellow>" in board of loop-player to 17
  59.  
  60. make score "%{_c1}%Total Players:" in board of loop-player to 16
  61. make score "%{_c2}%%number of all players%" in board of loop-player to 15
  62.  
  63. make score "<green>" in board of loop-player to 14
  64.  
  65. move display of loop-player to sidebar
Advertisement
Add Comment
Please, Sign In to add comment