How to set spawn player (repost)

so im a beginner and i tried some obby spawn set it does work as long as ur in the game and never leaves, here is what im trying to do, so i want a part that when a player touched it, it will be the players new spawn point, the thing is, i want that spawn point to be set even when u leave the game so that when the player joins the game again, he will spawn in that location

First of all, Don’t repost - Second of all, You’re gonna have to look into datastores to save the spawnpoint value.

Then when the player joins again, Just teleport them on the spawnpoint you gathered from the datastore.

3 Likes

why did you put repost in your title
image

sorry HAHAHHA i;'m just stupid i guess HAHAHA