i want some help to make a hologram leaderboard , so this is the code that i've made:
there is no errors but thats what it says when i try to to use the command:command /updateboardxx:
permission: op
trigger:
set {_top::*} to sorted indices of {kills::*} in descending order
loop 10 times:
add {_top::%loop-value%} to {_top_10::*}
loop {_top_10::*}:
add 1 to {_n}
execute console command "/holo setline leaderboard {_n} &a&l%{_n}% &7- &e%{_top_10::%{_n}%} parsed as offlineplayer%&7: &6%{kills::%{_top_10::%{_n}%}%}% "