Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Way to run the ranking system with ordereddatastore?

Asked by
Yuuwa0519 197
4 years ago
Edited 4 years ago

Hi. Thankyou for stopping by my question. Anyways, in my game, I have a single datastore that saves every value into a table. However, since the saving value is a table, it is not possible to make a rank via ordered data store. So, what I came up is 2 stuff:

1:Create complete new ordered datastore that will keep track of that specific value. For example, the ordered datastore will handle the wins, and everything else will be handled by normal datastore.

2:Synchronize the ordered datastore with the normal datastore, by passing the information of the specific value inside of the table to save inside the ordered datastore. This way, you will only have to set the value, and don't have to get it because the original value will be in the main datastore.

If there is more efficient systems you know, please teach me because I will be willing to learn more stuff. Thankyou for helping me:D

Answer this question