Jump to content

Scoreboard isnt working


Lamborghini26

Recommended Posts

whenever I put this scoreboard in it just says 24 errors there is no loop matching loop-player idk how to fix that

on break of ripe wheat plant:
    add 1 to {cropsmined}
on break of ripe beetroot plant:
    add 1 to {cropsmined}
on break of ripe potato plant:
    add 1 to {cropsmined}
on break of ripe carrot plant:
    add 1 to {cropsmined}

every 5 seconds:
    loop all players:
        wipe loop-player's sidebar:
        set score "&6&lLemon&6&lFarms" in sidebar of loop-player to title
        set score "&6&l&e&6&lLemon&6&lFarms" in sidebar of loop-player to title
        set score "&6&lL&ee&6&lmon&6&lFarms" in sidebar of loop-player to title
        set score "&6&lLe&em&6&lon&6&lFarms" in sidebar of loop-player to title
        set score "&6&lLem&eo&6&ln&6&lFarms" in sidebar of loop-player to title
        set score "&6&lLemo&en&6&lFarms" in sidebar of loop-player to title
        set score "&6&llLemon&6&l&eF&6&larms" in sidebar of loop-player to title
        set score "&6&lLemon&6&lF&ea&6&lrms" in sidebar of loop-player to title
        set score "&6&lLemon&6&lFa&er&6&lms" in sidebar of loop-player to title
        set score "&6&lLemon&6Far&em&6&ls" in sidebar of loop-player to title
        set score "&6&lLemon&6&lFarm&e&ls" in sidebar of loop-player to title
        set score "&e&lLemonFarms" in sidebar of loop-player to title
        set score "&6&lLemonFarms" in sidebar of loop-player to title
        set score "&e&lLemonFarms" in sidebar of loop-player to title
        set score "&6&lLemonFarms" in sidebar of loop-player to title
        set score "&8>> &6&lPlayer" in sidebar of loop-player to 10
        set score "&&>> &6Rank: {_prefix} to %colored loop-player's prefix%" in sidebar of loop-player to 9
        set score "&8>> &6Crops Mined: &e%{_player}'s {cropsmined}%" in sidebar of loop-player to 8
        set score "&8>> &6Cash: &e%{_player}'s balance%" in sidebar of loop-player to 7
        set score "&8>> &6Ping: %player's ping%" in sidebar of loop-player to 6
        replace all "[" and "]" with "" in {_prefix}
        replace all "[" and "]" with "" in {_suffix}
        set score "&8>> &6&lServer" in sidebar of loop-player to 5
        set score "&8>> &6Unique Joins: %size of offline players%" in sidebar of loop-player to 4
        set score "&8>> &6Online Players: %number of all players%&8/&f10" in sidebar of loop-player to 3
        set score "&8>> &6TPS: %tps from last 5 seconds%" in sidebar of loop-player to 2
        set score "       &7LemonFarms.minehut.gg" in sidebar of loop-player to 1
        
on join:
    if %{_player}'s balance% is not set:
    set %{_player}'s balance% to 0 on sidebar of loop-player

Link to comment
Share on other sites

  • 2 weeks later...

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...