What is the Best Officiant Way to Save Data

What would be the most officiant way to save 7 verying types of values with a data store(s).

In my first game I used a free model to save my data.

In my second I had values made then put into separate folders then I would save it whenever one of those values changed.

My third game didn’t have a save system.

And my currently working on game I made a folder in backpack named SaveDataFolder with all of the values of the thing I want to save. Then I have a script that saves them all in a table in one DataStore. But tha seems like not the way to take. Plus it’s not saving them.

I just want to know how to save my data.

2 Likes

Efficient*
Varying*
The wiki has a good tutorial on the best practices for saving data and loading data.

4 Likes

Mind adjusting the title? Something like “What is the worst way to save data”, it’s really throwing me for a loop.

The worst way is probably to have one datastore for every value you’re trying to save.

10 Likes

Exactly this. The question is extremely confusing.

There are plenty of god awful ways to store data, why not store your coins in terms of the smaller number in a product of two prime numbers, then brute force find it? Ask the question you actually want to know.

4 Likes

I looked at their tutorials but they are for like professional level. I only have been scripting for a year.

1 Like

You’re not going to find a tutorial better than the wiki.

5 Likes

You’ll need to learn to understand the wiki, that is the only way you’ll be able to advance further.

6 Likes

If you feel you are challenged by the data store wiki tutorial. It shows that you need to learn more of the foundations.
I hope I have been of assistance :slight_smile:

3 Likes

True but I can’t do it have you seen it?!

1 Like

Most of us have probably read the Data Store wiki page and used its documentation to teach themselves how to use Data Stores.

What seems to be the biggest problem?

1 Like

Yes I have read the data store wiki page. Several times, in fact. There is no more basic way to explain it. If you don’t understand it, you’re not ready for data stores yet.

3 Likes

Alright, why don’t you actually link the wiki page instead of leaving obvious, dismissive replies?
Not everyone has used the wiki and not everyone is the best scripter. The least you can do is actually pull up the correct information OP can use.

It’s called “Scripting Support” for a reason, not “tell them to just go to the wiki support”.

2 Likes

He told us that he has already reviewed the wiki article which tells us that he is entirely aware of every resource available on this topic. We are informing him that he can not dismisss that resource. Furthermore his question is far too general to warrant a specific reply, further supporting our point that the wiki is his best bet here.

7 Likes

Alright fair enough, but the least you could do is leave a link to a specific page instead of repeating the same thing that has been said.

That seems rude to me, honestly. “I don’t understand the wiki.” So I provide a link to the resource he says he doesn’t like?

Before doing that I made a decision to attempt to convince him of the resource’s general usefulness.

1 Like

I learnt DataStores from watching a YouTube video and copying what they did. Then as I did it myself I began to understand how it worked, and that ended up helping me learn to read the wiki.

For you to reproduce this, I recommend you use a simpler data saving model (e.g. how they do it in the videos). This will help you understand how DataStore actually works before you try and use a complex system.

Might be useful to you :wink:

I understand what you’re saying, thank you for correcting me. I don’t think that it is the case that OP dislikes the resource, just struggles with it.

And full circle.

1 Like

Documentation - Roblox Creator Hub And you understand it?

Yo, answer the question if you actually need help instead of arguing about this.

1 Like