local players = game:GetService("Players")
players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(chr)
local hum = chr.Humanoid
//code here
end)
end)
in //code here I want it to check if someone dies and then change their team to "lobby"