What is wrong with this?

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

    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!

Status
Not open for further replies.

Spaceship

Member
Dec 30, 2020
1
0
1
26
command /cointop:
aliases: /ct
cooldown: 10 seconds
cooldown bypass: sk.admin
trigger:
set {_sorted::*} to sorted indices of {stats::balance::*} in descending order
send "&6&lCoin Top:"
loop 5 times:
set {_p} to {_sorted::%loop-value%} parsed as offlineplayer
set {_val} to {stats::balance::%{_sorted::%loop-value%}%}
send "&c%loop-value%. &e%{_p}% &8- &6$%{_val}%"

#This is a skript for a bal top, who shows who got the most money, only problem is, its frozen, it won't update, all usernames come up, all coin amounts come up, but just not updated!
any solution?
 
Status
Not open for further replies.