Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Should i use updateAsync or setAsync to save player stats?

So i have been using setAsync to save player stats like gold, exp, level, weapons.

should i be using updateAsync?

my current datastore seems very unreliable and often throttles. It even a couple times saved my data as someone elses?

thank you for any feedback.

EDIT: If i should change to UpdateAsync would it be as simple as just changing "setAsync" to "UpdateAsync"?

1 answer

From my knowledge of datastores, SetAsync is fine and saves budget. I don't fully understand UpdateAsync, but from what I can gather it returns your data and sets it, which is pretty pointless.

I find SetAsync to be the exact same thing as UpdateAsync but it doesn't return anything.

This discussion is preserved as it was. New answers, comments, and votes are closed.