Error in console : https://pastebin.com/6GCtFY1D
code_language.skript:
set {_list::*} to sorted {Battle::Score::*} from highest to lowest with output "@index"
loop {_list::*}:
if "%loop-index%" is "1":
create a new id based score "%{_p}%Slot10" with text " &b&l%loop-value%" slot -10 for stylish scoreboard "BR-%{_p}%"
create a new id based score "%{_p}%Slot11" with text " &bScore: %{Battle::Score::%loop-value%}%" slot -11 for stylish scoreboard "BR-%{_p}%"
else if "%loop-index%" is "2":
create a new id based score "%{_p}%Slot12" with text " &a&l%loop-value%" slot -12 for stylish scoreboard "BR-%{_p}%"
create a new id based score "%{_p}%Slot13" with text " &aScore: %{Battle::Score::%loop-value%}%" slot -13 for stylish scoreboard "BR-%{_p}%"
else if "%loop-index%" is "3":
create a new id based score "%{_p}%Slot14" with text " &e&l%loop-value%" slot -14 for stylish scoreboard "BR-%{_p}%"
create a new id based score "%{_p}%Slot15" with text " &eScore: %{Battle::Score::%loop-value%}%" slot -15 for stylish scoreboard "BR-%{_p}%"