Heya!
Quick question. Is it possible to get an Ordered Datastore from a Datastore that looks like this? Based on Points just for example
DataStore:SetAsync("1564864661", {Points = 100, Continues = 20, Kills = 50})
Thank you for reading :3
Heya!
Quick question. Is it possible to get an Ordered Datastore from a Datastore that looks like this? Based on Points just for example
DataStore:SetAsync("1564864661", {Points = 100, Continues = 20, Kills = 50})
Thank you for reading :3
I don’t think so, I had a similar problem in my game where I stored my data in a table but wanted to get one of the values using :GetStoredAsync() as well, but I couldn’t find any way to do it with a DataStore like that.
What I did for a solution was updated the OrderedDataStore with the value (in your case, Points) every time before I updated the leaderboard (I was using a leaderboard to display the top 10 players in my game). Since you’re using a table to store all the data (I’m assuming) the amount of DataStore requests shouldn’t go over the limit either. Hope this helps
I think I get it. Update the OrderedDataStore with only the value I want from the tables in game only when Im gonna use them.
Thank you for your reply!