There's no loop that matches loop-player (scoreboard)

Discussion in 'Skript' started by B1a7e, Feb 18, 2020.

Thread Status:
Not open for further replies.
  1. Hey guys, I have a problem with one of my scoreboards for a server. It was working a few weeks ago but now no matter what I do it will say "There's no loop that matches loop-player" and it does it for every loop player in the skript. I obviously don't know how to do this so can someone help me?"

    Code (Text):
    every 1 seconds in world "world":
        loop all players:
            set {arrows::%loop-player%} to amount of arrow in loop-player's inventory
            wipe loop-player's sidebar
            if {globalbooster} is not set:
                set name of sidebar of loop-player to "&cTwo&aArrow"
                set score "&7" in sidebar of loop-player to 13
                set score "&bRank:" in sidebar of loop-player to 12
                set {_prefix} to "%colored loop-player's prefix%"
                replace all "[" and "]" with "" in {_prefix}
                set score "%{_prefix}%" in sidebar of loop-player to 11
                set score "&d" in sidebar of loop-player to 10
                set score "&a&lXP&8:" in sidebar of loop-player to 9
                set score "%{exp::%loop-player%}%" in sidebar of loop-player to 8
                set score "&e" in sidebar of loop-player to 7
                set score "&aArrows" in sidebar of loop-player to 6
                set score "&f%{arrows::%loop-player%}%" in sidebar of loop-player to 5
                set score "" in sidebar of loop-player to 4
                set score "&bOnline&8:" in sidebar of loop-player to 3
                set score " &f%number of all players%&8/&f10" in sidebar of loop-player to 2
                set score "&2" in sidebar of loop-player to 1
            if {globalbooster} is set:
                set name of sidebar of loop-player to "&cTwo&aArrow"
                set score "&7" in sidebar of loop-player to 16
                set score "&bRank:" in sidebar of loop-player to 15
                set {_prefix} to "%colored loop-player's prefix%"
                replace all "[" and "]" with "" in {_prefix}
                set score "%{_prefix}%" in sidebar of loop-player to 14
                set score "&d" in sidebar of loop-player to 13
                set score "&a&lXP&8:" in sidebar of loop-player to 12
                set score "%{exp::%loop-player%}%" in sidebar of loop-player to 11
                set score "&2&l" in sidebar of loop-player to 10
                set score "&aArrows" in sidebar of loop-player to 9
                set score "&f%{arrows::%loop-player%}%" in sidebar of loop-player to 8
                set score "&e" in sidebar of loop-player to 7
                set score "&bOnline&8:" in sidebar of loop-player to 6
                set score " &f%number of all players%&8/&f10" in sidebar of loop-player to 5
                set score "" in sidebar of loop-player to 4
                set score "&7Global Booster&8:" in sidebar of loop-player to 3
                set score " &f%{globalboostercooldown}% seconds" in sidebar of loop-player to 2
                set score "&2" in sidebar of loop-player to 1
     
     
  2. I recommend to use Skore, it is the best addon for scoreboards, better performance and does not break vanilla behavior since it is packet-based. I have tried all the scoreboard systems in Skript community - everything had problems with exception of Skore.
     
  3. Hey so now that you said that, my server host doesn't have Skore but I originally used SkRayFall but it got uninstalled so this reminded me so thanks :)


    Im sorry but I came back a few months later and I needed the same help and just realized it was my post LMAO
     
    #3 B1a7e, Feb 20, 2020
    Last edited: Jun 11, 2020
Thread Status:
Not open for further replies.