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

How would I save a player's spawn location in a datastore?

Asked by 3 years ago

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

Log in to vote
0
Answered by 3 years ago

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

Ad

Answer this question