i've tried everything but i cant get it to work
i was hoping anyone on the forum could help
Addons:
Skrayfall
skquery
skript-placeholders
TuSke
i was hoping anyone on the forum could help
Addons:
Skrayfall
skquery
skript-placeholders
TuSke
Code:
every 5 seconds:
loop all players:
if loop-player's world is "ul_oldskymines":
wipe loop-player's sidebar
set name of sidebar of loop-player to "&b&l Blumode.minehut.gg"
set {sidebarname.%loop-player%} to "&l&6[pickaxe] &9&l&oSkymines &l&6[pickaxe]"
set id score "&a&m-------------------" in sidebar of loop-player to 15 with id "sidebar15"
set id score "&b[arrow] &9&lKills [arrow2] &b[%{kills::%uuid of loop-player%}%]" in sidebar of loop-player to 14 with id "sidebar14"
set id score "&b[arrow] &9&lDeaths [arrow2] &b[%{deaths::%uuid of loop-player%}%]" in sidebar of loop-player to 13 with id "sidebar13"
set id score " " in sidebar of loop-player to 12 with id "sidebar12"
set id score "&l&6[flower] &1&l&oSkyblock &l&6[flower]" in sidebar of loop-player to 11 with id "sidebar11"
set id score "&b[arrow] &9&lLevel &b[%iridiumskyblock_island_level%]" in sidebar of loop-player to 10 with id "sidebar10"
set id score "&b[arrow] &9&lCrystals &b[%iridiumskyblock_island_crystals%]" in sidebar of loop-player to 9 with id "sidebar9"
set id score " " in sidebar of loop-player to 8 with id "sidebar8"
set id score "&b[arrow] &9&lRank [arrow3] &b[%colored loop-player's prefix%]" in sidebar of loop-player to 7 with id "sidebar7"
set id score "&b[arrow] &9Playtime [arrow3] &b%{timeplayed.%loop-player%}%" in sidebar of loop-player to 6 with id "sidebar6"
set id score "&b[arrow] &9Joins [arrow3] &b%server_unique_joins%" in sidebar of loop-player to 5 with id "sidebar5"
set id score "&c&m-------------------" in sidebar of loop-player to 4 with id "sidebar4"
wait 3 seconds
wipe loop-player's sidebar
set name of sidebar of loop-player to "&1&l Blumode.minehut.gg"
set {sidebarname.%loop-player%} to "&l&6⛏ &9&l&oSkymines &l&6⛏"
set id score "&2&m-------------------" in sidebar of loop-player to 15 with id "sidebar15"
set id score "&b[arrow] &9&lKills [arrow2] &b[%{kills::%uuid of loop-player%}%]" in sidebar of loop-player to 14 with id "sidebar14"
set id score "&b[arrow] &9&lDeaths [arrow2] &b[%{deaths::%uuid of loop-player%}%]" in sidebar of loop-player to 13 with id "sidebar13"
set id score " " in sidebar of loop-player to 12 with id "sidebar12"
set id score "&l&6[flower] &1&l&oSkyblock &l&6[flower]" in sidebar of loop-player to 11 with id "sidebar11"
set id score "&b[arrow] &9&lBalance &b[%iridiumskyblock_island_bank_vault%]" in sidebar of loop-player to 10 with id "sidebar10"
set id score "&b[arrow] &9&lValue &b[%iridiumskyblock_island_value%]" in sidebar of loop-player to 9 with id "sidebar9"
set id score " " in sidebar of loop-player to 8 with id "sidebar8"
set id score "&b[arrow] &9&lRank [arrow3] &b[%colored loop-player's prefix%]" in sidebar of loop-player to 7 with id "sidebar7"
set id score "&b[arrow] &9&lPlaytime [arrow3] &b%statistic_hours_played%" in sidebar of loop-player to 6 with id "sidebar6"
set id score "&b[arrow] &9Joins [arrow3] &b%server_unique_joins%" in sidebar of loop-player to 5 with id "sidebar5"
set id score "&4&m-------------------" in sidebar of loop-player to 4 with id "sidebar4"
wait 2 seconds
else:
wipe loop-player's sidebar
on death:
if victim is a player:
if attacker is a player:
add 1 to {deaths::%uuid of victim%}
add 1 to {kills::%uuid of attacker%}
on join:
if {kills::%uuid of player%} is not set:
set {kills::%uuid of player%} to 0
if {deaths::%uuid of player%} is not set:
set {deaths::%uuid of player%} to 0