Hologram leaderboard

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

moumen

Member
Aug 2, 2023
3
0
1
i want some help to make a hologram leaderboard , so this is the code that i've made:

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}%}%}% "
there is no errors but thats what it says when i try to to use the command:
1690989487030.png