Sidebar not working

  • 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 community!

    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!

Kristienne66

Member
Jan 5, 2024
2
0
1
Here's my code

on join:
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.
 
every 1 second:
loop all players:
set title of loop-player's scoreboard to "servername"
set line 4 of loop-player's scoreboard to "&7Player: %loop-player%"
set line 3 of loop-player's scoreboard to "Server Ip: "
set line 2 of loop-player's scoreboard to "Money:"