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

Need help with team switching..?

Questions 1: How do you make it so when a player joins the game they automatically get switched to (for example Team 1) and not just a random team-Team 2, 3 etc.?

Question 2: How do you make it so when a player touches a spawn they switch teams? (From Team 1 to Team 2)

help pl0x

1 answer

Q1: I will give you this script for free.

script.Parent.PlayerAdded:connect(function(plr)
plr.TeamColor = BrickColor.new("PUT COLOR OF YOUR TEAM IN HERE")
end)

Q2: There is a property called AutoTeamChangeOnTouch. Set the value to true.

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