Someone answered this not long ago, I tried their answer and at first it worked, but then my spawns started breaking again. When I team myself onto a certain team and reset myself, I respawn at the 'Civilian' spawn instead of the military spawn I want to go to. The whole setting stuff to Neutral is all done, and there's no virus scripts. This is the local script I use that potentially fixes spawns, but doesn't in my case:
local plr = game.Players.LocalPlayer
local PartToTpTo = game.Workspace.PartName game.Workspace[player.Name].HumanoidRootPart.CFrame = PartToTpTo.CFrame
Does anyone know how to fix this?

16 comments
It still doesn't work.
Then your calling the wrong part name, fix PartToTpTo.
The script wasn't mine, and I'm not an expert at scripting, so what do you mean by fix PartToTpTo?
I mean the local value PartToTpTo, change partname to the place where you part is.
I don't know anything about what the script does. I just asked someone how to fix the spawns, I explained the problem and they said to paste that into a localscript and put it into the workspace.
And I've also told you how to fix it, change partname to your part in workspace.
Do I just change it to any part name?
I already told you, the name of your spawn, this is the last time i'm replying to another question that I already answered above.
I'm sorry it's just a bit hard to understand. Plus this script is for all the spawns, and I want people to spawn on their team's spawn and it sounds like your solution is for everyone to spawn on one spawnlocation.
This isn't my script, this is the script that you clearly provided and I said what is wrong with it.
Alrighty, I’ll recap everything. I can’t spawn at the spawn of my team. It just brings me to the normal spawn that I set to Neutral. I asked why they were broken on another post and someone gave me that script. Now I m ow
*Now, I know nothing about scripts, which makes people wonder why I am on this website. All I am doing is asking why they are broken and asking for a direct answer.
If you don't know ANYTHING about scripting, then this website isn't for you.
Well, my apologies then. I thought this site was made for people to ask for help about scripting.
It is to get help about a script YOU made, you also should be able to understand what it truly does, not just copy and paste from someone elses answer.
Alrighty. Do you recommend any websites that helps out with scripting in general?