I am making an adventure game and I am curious if I can save A players checkpoint to the data store, so when they return they will spawn back at the saved checkpoint. Is this possible to do?
✓ ANSWER ACCEPTED
Is it possible to save checkpoints to the Data Store?
1 answer
✓ Accepted answer
What I would do would be to assign each checkpoint as a number. Then, with DataStore, you would save the checkpoint number along with the player's name. Whenever the player joins the game again, you would have a function that finds the number of the checkpoint of that player, and would then teleport the player to the corresponding checkpoint.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
You could also save a table of Vector3 values.