What is the basic concept of adding multiple save slots

Hello! I have been wanting to know how developers make systems where a player can choose multiple save slots for a game. For example, in bloxburg you can make multiple houses. I do not ask for a script but a concept as the only attempt at this is I have is just using multiple datastores. Obviously that isn’t correct as some games I have seen allow for long lists of data slots.

Thanks!

5 Likes

Well, why not just use different asyncs?

You can use different keys and treat them as entirely different data sets (which they are for the most part).

You would have different save slots corresponding to different keys, for example:

slot1Key = tostring(player.UserId).."Slot1"
slot2Key = tostring(player.UserId).."Slot2"

And from there it’s virtually the same as your stereotypical run-of-the-mill datastore, using GetAsync/SetAsync as you typically would just ensuring that you are using the proper key.

11 Likes

I cannot believe I didn’t think of that. That would work. Thank you!