#Sidebar not working

1 messages · Page 1 of 1 (latest)

fleet pawn
#

Here's my code:

  while player is online:
    wipe player's sidebar
    set name of sidebar of player to "&2&Skyblock"
    set score "&7&m----------------" in sidebar of player to 10
    set score "&7&lYour Stats" in sidebar of player to 9
    set score " Cash: &6{cash::%player's uuid%}" in sidebar of player to 8
    set score " Bank: &6{bank::%player's uuid%}" in sidebar of player to 7
    set score " Level: &6{level::%player's uuid%}" in sidebar of player to 6
    set score "" in sidebar of player to 5
    set score "&7&lLocation" in sidebar of player to 4
    set score " " in sidebar of player to 3
    set score "" in sidebar of player to 2
    set score "&7&m----------------" in sidebar of player to 1
  wait a second

But then it says that it can't understand this condition/effect for lines 3 to 14. I'm in 1.20.4 Java edition. Can anyone please help?

half gull
#

is that skRayFall? if yes use skBee

copper citrus
# fleet pawn Here's my code: ```on join: while player is online: wipe player's sidebar ...

hey so just by looking at ur code i can see like a million errors

on join:
    toggle player's scoreboard on
    while player is online:
        set title of player's scoreboard to "&2&Skyblock"
        set line 10 of player's scoreboard to "&7&m----------------"
        set line 9 of player's scoreboard to "&7&lYour Stats"
        set line 8 of player's scoreboard to " Cash: &6%{cash::%player's uuid%}%"
        set line 7 of player's scoreboard to " Bank: &6%{bank::%player's uuid%}%"
        set line 6 of player's scoreboard to " Level: &6%{level::%player's uuid%}%"
        set line 5 of player's scoreboard to ""
        set line 4 of player's scoreboard to "&7&lLocation"
        set line 3 of player's scoreboard to " "
        set line 2 of player's scoreboard to " "
        set line 1 of player's scoreboard to "&7&m----------------"
        wait 10 ticks

also i was bored sooo yea here

fleet pawn
#

It worked thanks

#

🙂

rare lotus
#

updating a scoreboard that often is wild