Can object values be saved between places?

I have created some object values and I’m wondering that if between places, they can be saved at all. Why I’m asking this is due to the fact their value would be referencing another game’s part.

Simple question, not sure where the answer is.

1 Like

I believe they can’t be saved because they reference an entire part, but I have to be reassured.

1 Like

No, ObjectValues can only reference instances the server knows about and other servers are separated (and can’t be linked)

1 Like

Right, thanks for letting me know about that. Can object values even be saved with datastores?

DataStore value can be either a boolean, string, number, array or string-like dictionary.

1 Like

Unfortunately, Instances can’t be serialized by datastores, so the best you could do is save a path to it if you know it’ll always be in the same spot. Normally, you could save the data of an instance seperately, but the issue there is that when you try to save the ObjectValue’s value, it gets another instance (which can’t be serialized)