Set World Spawn

Hey all,

I have been working on an Obby game which has a series of checkpoints. However, I am using Roblox’s default spawnpoints for this.

The problem I am facing is whenever the player joins, they are sometimes teleported to the Lobby checkpoint even when their data is saved correctly.

I am unable to teleport them to their saved checkpoint in time and they get the Lobby checkpoint, essentially resetting their progress.

Is there a way to combat this issue, for example setting the world spawn point? Thanks very much :smile:

2 Likes

Well, just don’t use Roblox’s default spawn points at all. Make a part in workspace and name it Spawn or whatever, and modify your script to spawn the player at the certain spawn point depending on their progress in the obby.

1 Like

another solution other then the one above; use teams! and each spawnlocation you can assign teamcolour iirc.

this is funny 2 me cause every old obby i used 2 play in 2018 used them

3 Likes

Yes!! I remember them too. Wave of nostalgia lol

Anyway I am also using teams, so when the player touches the checkpoint they are set to the checkpoints team like Dark Red or Blue. However the issue lies in not being able to be teleported fast enoguh

2 Likes

Don’t know if this will help but i believe there is a property under Players called RespawnTime I believe default is 3 seconds you could make it 0 and create an instant respawn system?

Another way is to disable player character auto loads then when all the data is loaded load the player using Player:LoadCharacter() and position them to the checkpoint

1 Like