I have been trying to create a Specific StarterCharacter For Each team but when the team is changed the charater doesn’t change. I need help. How can i do this here is the script.
The script:
game.Players.PlayerAdded:Connect(function(player)
if player.TeamColor == BrickColor.new(“Persimmon”) thenlocal astro = game.ServerStorage.Astronaut:Clone() astro.Name = ("StarterCharacter") astro.Parent = game.StarterPlayer
elseif player.TeamColor == BrickColor.new(“Really blue”) then
local cop = game.ServerStorage.DeputyCop:Clone() cop.Name = ("StarterCharacter") cop.Parent = game.StarterPlayer
end
end)
How can i do this?