Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Teams spawn as different characters?

I know how to make everyone spawn as something different, but how would I make each team spawn as a different character? (Like Phantom Forces, but with more teams, and the teams don't change.)

1 comment

0

Use an if statement to check if the player is on a certain team, then give the required morph?

1 answer

Just do this, create a LocalScript and type...

game.Players.PlayerAdded:connect(function(player)
	if player.Team.Name = "Insert Team Name" then
		WhereverInTheGameTheMorphIs.Name = "StarterCharacter"
		WhereverInTheGameTheMorphIs.Parent = game.StarterPlayer
	else
		WhereverInTheGameTheSecondMorphIs.Name = "StarterCharacter"
		WhereverInTheGameTheSecondMorphIs.Parent = game.StarterPlayer
end)

It will instantly apply to the player because of Line 2

This discussion is preserved as it was. New answers, comments, and votes are closed.