I have a datastore which saves an ID of the hat they've chosen for their custom character

It then loads the hat depending on the ID and clones it on their character which works fine.

I'm stuck on transferring the hat ID when they leave the custom character, to the next game which is the main place, using the datastore.

Copying the datastore from the original place is just returning 0 for me in the new place.

Any help would be greatly appreciated. Please ask me on anything I didn't explain correctly.

2 comments

0

idk aren't datastore equal between places?

0

Yea I needed to wait for the datastore to load before I started using values from it, that's why it wasn't working thanks for the reply.