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

How would i go about saving a table to a datastore?

The roblox wiki provides no info on how to do this, and no i dont want to use JSON. If you know a way to do this pls tell me.

1 comment

0

Why not? Its a way to do it, and it sounds like you already know how to do it with that! Why don't you use it?

1 answer

✓ Accepted answer
local numbers = {1, 2, 3}
datastore:SetAsync("key", numbers)

Don't forget to define datastore.

5 comments

0

what about get async?

0

datastore:GetAsync("key")

0

alright!

0

Feel free to accept my answer if this helped you.

1

And make sure key is something unique to each player like: azarth_useridhere

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