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 save a player's spawn location in a datastore?

I'm making a difficulty chart game, and I'm wondering if I can save a player's spawn in a datastore.

I thought of doing an if statement that will set the player's spawn if the stage stat is a certain number, but then I realized it would be a tedious process every time I add a new stage, and it would get messy (assuming that is the case).

So my second thought was storing the player's spawn location in a datastore. But I didn't know how I would implement that. Would I have to make the spawn location a variable and store that, or was it some other thing I didn't know about? Please help.

1 answer

✓ Accepted answer

look in the properties of the spawn location and save the position

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