How do ordered data stores work exactly?

so im currently trying to make this ‘OrderedDataStore’ thing work, and it just wont get into my head,
is there a way to convert ‘normal’ datastores into ordered, or what is this all about? ive tried searching here on the dev-forum and some youtube videos, but i just dont get it, is there any pleb-tutorial for people like me to understand it?

3 Likes

It would be helpful if you would’ve mentioned what you have seen and watched so I can find what you are looking for faster

1 Like

there’s no way to “convert” them , just provide your code, by what it seems, youre using the method that exhausts data keys quick and that’s very inefficient

If you haven’t yet, I recommend reading the OrderedDataStore section of this article:

okay i looked at it again, and if i think this correctly then (i have a value called ‘strength’ for each player) i could just… do
local Data = DataStoreService:GetOrderedDataStore("Strength")
or would i have to create a seperate store for that?

1 Like

That’s correct.
Now you can start setting and getting values.

1 Like

that is alot simpler than i originally thought, since almost all those tutorials just create an entirely new datastore

Can you still share your whole code, I think you’re using a bad method to save data that exhausts keys unless you use tables, ( in that case players will lose data and quit your game and dislike it) we can give possible improvements to your code