Is there a faster and more efficient alternative to the classic :SetAsync?

Greetings,

I need to save values for my game, but there are plenty of them and an auto-saving feature would be a problem maker because the values save very slow with the Example:SetAsync(ExampleLocation, ExamplePlayer) and players could abuse this matter by duplicating items or getting rid of other stuff. I haven’t found a better way to save those yet, I just save each value like in the example above each on a new line. Is there a better way to save these values that would not affect the gameplay experience in any way? Thanks!

Just make a single script, and when you need to save, just put all the values in a table and save the table.

1 Like

Oh ok thanks, but sorry if I ask, how can I do that? I have never worked with tables before, I don’t even know how to set up one. I searched for tutorials, but they mostly follow specific game types. If you know a universal (that can be applied to most games) tutorial, please share, it would help a bunch. Thank you!

I would explain it for you, but there are already plenty of posts specifically explaining this. You can find some in the search bar on the top right.

1 Like

If you are using tables then I suggest you to use UpdateAsync

2 Likes