Hey so I’m having an issue with a player’s RespawnLocation. I have two spawn locations, Location1 and Location2. Both are enabled but only one is neutral (Location2). I wanted to have a player click a button to change their spawn location.
This creates another issue. In the script when the button is pressed I have it now so it disables neutral on Location2 and enables it on Location1. Upon resetting my character will still spawn at Location2, despite it not being neutral or the same TeamColor.
Location1:
Location2:
Player:
I suggest you doing a something like this: Having normal parts instead of SpawnLocation and then let the player choose spawn. Put the spawn into a table and use move to function to move their character to the spawn
The server will not recognize any changes made on the client when determining the player’s spawn location. You’ll need to set up a RemoteEvent to convey this information to the server; however, this will also affect any other players, so you might have to resort to a different method.
No, when the player choose the spawn which should be a part not a spwn location. Put that part into a table so you can access it easier and then use move to function to teleport player to that spawn cuz it is a part so you have to teleport them manually
Acually you don’t need the table thing here is the script, but you need a local script also that fire the remote event when player has chosed the team from client