if !(team.NumPlayers(TEAM_DEAD)==0) then for ply in team.GetPlayers(TEAM_DEAD) do ply:SetTeam(TEAM_PLAYERS) end end