Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # #! {level::*}
- # #! {currentKit::*}
- # #! {level.requirement::*}
- # #!
- # #!
- # #!
- # #!
- # #!
- # #!
- on skript unload:
- delete {trackers::*}
- on skript load:
- delete {trackers::*}
- every 3 seconds:
- loop all players:
- if "%{trackers::bossbar.%loop-player%}%" is not "%region at loop-player%":
- set {trackers::bossbar.%loop-player%} to "%region at loop-player%"
- set {_region} to "%region at loop-player%"
- if "%{_region}%" is not "<none>":
- set {_regionsplit::*} to {_region} split at " "
- set {_displayregion} to "%{_regionsplit::1}%"
- replace all "_" with " " in {_displayregion}
- if "%{_displayregion}%" contains "(Night)":
- set the time of loop-player to 23:59
- else:
- set the time of loop-player to 07:00
- replace all " (night)" with "" in {_displayregion}
- replace all "(night)" with "" in {_displayregion}
- set boss bar of loop-player to "<light aqua>%coloured {_displayregion}%" # #! This is optional, feel free to remove it if you want
- if "%{tracker::scoreboard.%loop-player%}%" is not "%{level::%loop-player%}%/%{currentKit::%loop-player%}%/%number of all players%":
- set {tracker::scoreboard.%loop-player%} to "%{level::%loop-player%}%/%{currentKit::%loop-player%}%/%number of all players%"
- set {_c1} to "<dark aqua>"
- set {_c2} to " <light aqua>"
- display board named "<light aqua>Malory's KitPVP!" to loop-player
- make score "<red>" in board of loop-player to 23
- make score of "%{_c1}%Your Level:" in board of loop-player to 22
- make score of "%{_c2}%%{level::%loop-player%}%" in board of loop-player to 21
- make score "<blue>" in board of loop-player to 20
- make score "%{_c1}%Your Kit:" in board of loop-player to 19
- make score "%{_c2}%%{currentKit::%loop-player%}%" in board of loop-player to 18
- make score "<yellow>" in board of loop-player to 17
- make score "%{_c1}%Total Players:" in board of loop-player to 16
- make score "%{_c2}%%number of all players%" in board of loop-player to 15
- make score "<green>" in board of loop-player to 14
- move display of loop-player to sidebar
Advertisement
Add Comment
Please, Sign In to add comment