Scoreboard placeholders

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
Mar 18, 2021
16
0
1
25
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


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
 
thank you ill try it out
[doublepost=1617639388,1617379719][/doublepost]it worked thank you ver much!! :emoji_grinning:
 
Status
Not open for further replies.