Using skBee:
To toggle completely
To only show 2 lines you will effectively need to clear every other line and only keep those, if you need to keep the values of the other lines I suggest storing them in variables or (preferably) metadata, otherwise you can just loop all the other lines and clear them and, going forward, use a condition to check whether or not the other lines should be altered
every 1 seconds:
loop all players:
if{스코어보드.%loop-player%} is true:
wipe loop-player's sidebar
set name of sidebar of loop-player to "123"
set score "이름 : %loop-player%" in sidebar of loop-player to 3
set score "잔액 : %loop-player's money%" in sidebar of loop-player to 2
command /스코어보드 [<string>]:
trigger:
if arg 1 is "켜기":
set {스코어보드.%player%} to true
message "스코어보드 활성"
if arg 1 is "끄기":
set {스코어보드.%player%} to false
message "스코어보드 비활성"
wipe player's sidebar
[Skript] Reloading Blank.sk...
[16:03:40 INFO]: Line 12: (Blank.sk)
[16:03:40 INFO]: In the future, players in variable names will use the player's UUID instead of their name. For information on how to make sure your scripts won't be impacted by this change, see
https://github.com/SkriptLang/Skript/discussions/6270.
[16:03:40 INFO]: Line: set {스코어보드.%player%} to true
[16:03:40 INFO]:
[16:03:40 INFO]: Line 16: (Blank.sk)
[16:03:40 INFO]: In the future, players in variable names will use the player's UUID instead of their name. For information on how to make sure your scripts won't be impacted by this change, see
https://github.com/SkriptLang/Skript/discussions/6270.
[16:03:40 INFO]: Line: set {스코어보드.%player%} to false
[16:03:40 INFO]:
[16:03:40 INFO]: Line 3: (Blank.sk)
[16:03:40 INFO]: Can't understand this section: if{스코어보드.%loop-player%} is true
[16:03:40 INFO]: Line: if{스코어보드.%loop-player%} is true:
[16:03:40 INFO]:
[16:03:40 INFO]: [Skript] Encountered 1 error while reloading Blank.sk! (42ms)
There's an error like this..