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

How can i save multiple stats at ounce?

So i know how to use datastore and everything, but i usually save each value separately, but i need to know if there is a better way to save multiple values at ounce so i don't have to overflow my datastore script with a ton of new values.

1 answer

✓ Accepted answer

You either use a table, or save it under different key names in the same key for datastore so you could go along Player.userId.."key1", Stat Player.userId.."key2", Stat under the same GetDataStore(KEY) Or Player.userId, {Stat1,Stat2,Stat3}

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