My team change script doesnt teleport them to their team spawn first. they keep their spawn 1st death then it works?
My team change script doesnt change the spawnpoint immediatly. And i dont know how to fix it. It works after the 1st death. but for the 1st death it keeps the same spawn point
i phrased it 3 ways so you might be able to understand. its weird. test it out if you want. what am i doing incorrectly??
local Soldierevent = game.ReplicatedStorage.Soldier
local Subjectevent = game.ReplicatedStorage.Subject
local Councilevent = game.ReplicatedStorage.Council
local SoldierTeam = game.Teams.Soldier
local SubjectTeam = game.Teams.TestSubject
local CouncilTeam = game.Teams.Council
Soldierevent.OnServerEvent:Connect(function(player)
player.TeamColor = SoldierTeam.TeamColor
wait(1)
player:LoadCharacter()
end)
Subjectevent.OnServerEvent:Connect(function(player)
player.TeamColor = SubjectTeam.TeamColor
wait(1)
player:LoadCharacter()
end)
Councilevent.OnServerEvent:Connect(function(player)
player.TeamColor = CouncilTeam.TeamColor
wait(1)
player:LoadCharacter()
end)

2 comments
Set the Team Object, not Colour w/ :LoadCharacter, that's tedious: 'Player.Team = SoldierTeam' etc...
But.. I need "LoadCharacter".. So they go back to the spawn?