Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can i save multiple stats at ounce?

Asked by
sad_eyez 162
7 years ago

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

Log in to vote
1
Answered by 7 years ago

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}

Ad

Answer this question