Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is it possible to save checkpoints to the Data Store?

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?

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.

1 comment

0

You could also save a table of Vector3 values.

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