*** THIS QUESTION HAS BEEN ANSWERED***
i made a new team change gui. the team change is working. but players are not spawning on there team spawns. i made sure that the 4 spawns are not set to Neutral, and that the team colors. are the same. as the team.
also sorry about the title. for some odd reason, it was not letting use any other title
https://gyazo.com/35394477e5870871dd5b714ef549ed1f https://gyazo.com/f301ba09f5f84387ee7fd08e08587be1
--local script--
local Player = game.Players.LocalPlayer
local Teams = game:GetService("Teams")
script.Parent.MouseButton1Click:Connect(function()
if Player then
Player.Team = Teams:FindFirstChild("Hostiles")
game.ReplicatedStorage.TeamChange:FireServer()
end
end)
--script for remote--
game.ReplicatedStorage.TeamChange.OnServerEvent:Connect(function(Player)
Player:LoadCharacter()
end)

4 comments
Please use the code blocks for us to read it better.
ok done. thanks,
:fireServer() is deprecated use :FireServer()
thanks's, i changed that but it's still not fixing the spawning issue. the character, seems to just spawn on the first they spawn onto, even known they changed teams.