Is there a way to see which spawn point a player spawns at?

So Basically if the player spawns at a spawn point, is there a way to tell which one it is?

Like if I have,

SpawnPointA

if playerSpawnedAt SpawnPointA then
     print('Player spawned at point A')
end

You can use Player.RespawnLocation

Im trying to get it but it just says it is nil

		local respawnPoint = player.RespawnLocation
		
		print(respawnPoint.Name)

You have to set a respawn location…

Oh. Ok I think I can make this work

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