How to make camea bobbing in first person

Hello! I am currently needing help learning how to make the camera bobbing like inside Mimic, where your camera moves when you walk forwards and such

Use sine and cosine functions and manipulate them along with the humanoid’s CameraOffset.