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

What can u store in a data store?

Asked by
Zrxiis 26
7 years ago
Edited 7 years ago

I was wondering what I could store in a data store because I wanted to save a players items so that they could have them when joined again but I don't know how to store objects in a data store.

1 answer

Log in to vote
3
Answered by
cabbler 1942 Moderation Voter
7 years ago

Datastore can only store strings, numbers, and tables. Not instances. If your objects are simply in storage, you can save the name, then clone it later. If your objects are created from a catalog request, you can save the model ID to request again.

Ad

Answer this question