Jump to content

Recommended Posts

Posted

So I am trying to make a scoreboard for my server but when I do it just says There is no loop that matches loop-players sidebar, I have skbee but skrayfall isnt working im thinking that that is the problem? this is the skript 

every 5 seconds:
    loop all players:
        wipe loop-player's sidebar
        set {_uuid} to loop-player's uuid
        set name of loop-player's sidebar to "&b&lSteam&a&lBoxPVP"
        set score "&b&l&o----------------" in loop-player's sidebar to 10
        set score "&b&lPlayer" in loop-player's sidebar to 9
        set score "&6Name: &f%loop-player's name%" in loop-player's sidebar to 8
        set score "&6Rank: &f%loop-player's group%" in loop-player's sidebar to 7
        set score "&b&lStats" in loop-player's sidebar to 6
        set score "&6Mined Blocks: &f%{playerdata::%{_uuid}%::mined} ? 0%" in loop-player's sidebar to 5
        set score "&6ills: &f%{playerdata::%{_uuid}%::kills} ? 0%" in loop-player's sidebar to 4
        set score "&6eaths: &f%{playerdata::%{_uuid}%::deaths} ? 0%" in loop-player's sidebar to 3
        set score "&b&l&o----------------" in loop-player's sidebar to 2
        set score "&7Steamboxpvp.minehut.gg" in loop-player's sidebar to 1

on death of player:
    set {_v} to victim's uuid
    set {_a} to attacker's uuid
    add 1 to {playerdata::%{_v}%::deaths}
    add 1 to {playerdata::%{_a}%::kills} if {_a} is set

on break:
    set {_uuid} to player's uuid
    add 1 to {playerdata::%{_uuid}%::mined}

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...