In this video, if the camera’s position values was calibrated vs the head’s position as the head “bobs” normally … the camera would follow it. It really looks like that’s what I’m seeing here, as it also moves a bit sideways, just as the head movement would be.
If not you may want to try out a mod or two …
This looks like something you may like: Creating a Simple, Realistic Camera (With View Bobbing, Dynamic Blur, & Sprinting)
Or possibly … EZ Camera Shake ported to Roblox
This one is simply epic for camera effects. You would need to script this in while you move.