AddBattlePass Posted July 20, 2021 Share Posted July 20, 2021 I tried to make a skript that shows the top gangs that have the most coins, but it whether turns to <none> or duplicates itself.. I tried many ways to do it but non of them worked. Here's 2 versions: broken.sk 1st version does this. 2nd version does this. I don't know how to fix this, can anyone help..? Link to comment Share on other sites More sharing options...
StarBunnie Posted July 20, 2021 Share Posted July 20, 2021 12 minutes ago, AddBattlePass said: I tried to make a skript that shows the top gangs that have the most coins, but it whether turns to <none> or duplicates itself.. I tried many ways to do it but non of them worked. Here's 2 versions: broken.sk 1.95 kB · 0 downloads 1st version does this. 2nd version does this. I don't know how to fix this, can anyone help..? The reason it duplicates is probably this line set {_playeruuid} to "%loop-value%" parsed as offline player's uuid Because it seems like you're using the players instead of the clans/gangs so my guess is that the clan "Youtuber" and "UwU" have 4 members that's why they show multiple times. Can't you just loop this instead of {gang::*} to only get the clan coins and names {gang::coins::*} It seems like here the index is the clan name and the value is the coins give that a shot Feel free to add me on discord if you: need help with plugins need help with skripts need to vent about something >[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]< Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now