SpawnLocation object question

When I have numerous SpawnLocation objects in my workspace, how would I detect when a player spawns on a specific SpawnLocation? I know it has something to do with Player.RespawnLocation but I must be using it incorrectly because it just prints nil.

RespawnLocation is what you write to to change where the player spawns next. To check which they actually spawned at, you can wait for the CharacterAdded event and then see which spawn they are closest to.

So you’re saying that I should take the magnitude of the Char from each SpawnLocation to find the closest one to determine where the player spawned from? I would assume there would be a less redundant way to do this but I could be wrong.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.