Depth of Field partially working, what did I wrong?

Hey there!
First things that comes into my head is the fact you may be applying the effect on game.Workspace.Camera and not on game.Workspace.CurrentCamera. Are you sure the cam variable stands for game.Workspace.CurrentCamera?