How am I supposed to be making head bob?

Another way is to attach the camera to your characters head - then hide by bone the head and attach a head mesh that is owner no see and shadow when hidden on.