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.
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.
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)
Try The ROBLOX Wiki, ITS FULL OOF HINTS!
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
So when it say Teamtochangeto and TeamColor do I do ("Really red") or anything?
no the team name... sorry for long response and Its gets the color