Is there something wrong with this:

game.Players.PlayerAdded:connect(function(player) 
    player.CharacterAdded:connect(function(char)        local Humanoid = char.Humanoid
        Humanoid.Died:connect(function()
            player.TeamColor = [[White]] -- 
        end)
    end)
end)