Default Respawn System Isn't Working Correctly

Player’s RespawnLocation property:

The Roblox Docs say the following about the RespawnLocation property of a Player:

“If set, the player will respawn at the given SpawnLocation. This property can only be set through Lua and must contain a reference to a valid SpawnLocation, which must meet the following criteria:”
" If RespawnLocation is not set to a valid SpawnLocation then the default spawning logic will apply. For more information on this see the page for SpawnLocation."

So if I set a Player’s RespawnLocation to a valid SpawnLocation, the “default spawning logic” should not apply, right?

The issue is that it does. Even when I specify a Player’s RespawnLocation the Player will still respawn at any of the SpawnLocations which are Neutral.

SpawnLocation’s Enabled property:

The Roblox Docs say the following about the Enabled property of RespawnLocations:

“Sets whether or not the SpawnLocation is enabled. When disabled players cannot spawn at the SpawnLocation and the SpawnLocation.AllowTeamChangeOnTouch functionality is disabled.”

The issue is though, this isn’t true either. Even if I have only one spawn with Enabled set to true, the Player still manages to respawn on any SpawnLocation which is Neutral.

I’m making this post because it seems like a bug, but I wanted to gauge feedback from others on this.

I’m just guessing, but if you have a working SpawnLocation would it overide your set location since it’s a valid SpawnLocation?
If you need the neutral spawns how about teleporting the player to your ‘chosen’ Position.

Also, wouldn’t the Teams setting in spawns work for this kind of thing?

Your comment gave me an idea of disabling Neutral on the SpawnLocations, which actually fixed this.

Setting a Player’s RespawnLocation or modifying Spawn’s Enabled property basically gets completely canceled out if any SpawnLocation's Neutral is true

I completely dislike Roblox’s Team Service and don’t think it should be necessary for altering a Player’s spawn, so I avoided it.

1 Like