Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Need help with team switching..?

Asked by 8 years ago

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

Log in to vote
-2
Answered by 8 years ago

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.

Ad

Answer this question