Hey, I have a problem !
I’ve made a datastore like this :
There is more than 2 table inside the table but it is set like this !
And I would know how can I get the 100 smaller Time value (number) !
Thanks for the reply and have a nice day !
Hey, I have a problem !
I’ve made a datastore like this :
You can try comparing the two and see if it is 100 less by subtracting 100 and checking if it is greater than the first one.
Thank you very much for the reply !
But what I want is to get the 100 first smaller value “time” but there isn’t only 2 table inside the table there is a lot of value :
I believe having an Ordered datastore would be the best solution here, as it comes with a function that allows you to quickly get the the highest or lowest n members of a list. The only caviate would be that this would have to be a seperate datastore from the one your currently using, so you would have to supply an update to 2 datastores when a player’s time changes and needs to be saved.
Just wondering why are you storing 2 different Times and UserIDs with a single table?
It’s the same data for all the players !
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.