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)