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

How do I team change?

Asked by 10 years ago

Does anybody know how to team change players,but when they team change they die?

Like

~~~~~~~~~~~~~~~~~ wait(30) --Team change script here Player.Respawn ~~~~~~~~~~~~~~~~~

Well I don't know.

If you do know please help.

2 answers

Log in to vote
2
Answered by
RM0d 305 Moderation Voter
10 years ago

TeamToChangeTo = game.Teams.Lobby game:GetService('Players').PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) character:WaitForChild("Humanoid").Died:connect(function() player.TeamColor = TeamToChangeTo.TeamColor end) end) end)
0
So when it say Teamtochangeto and TeamColor do I do ("Really red") or anything? DerpTrollark 20 — 10y
0
no the team name... sorry for long response and Its gets the color RM0d 305 — 10y
Ad
Log in to vote
-3
Answered by 10 years ago

Try The ROBLOX Wiki, ITS FULL OOF HINTS!

Answer this question