How do you make a rotating camera bobbing script?

  1. What do you want to achieve? I wanna know how to do a bobbing system but instead, it rotates the player’s camera while it’s walking or running depending on its walkspeed.

  2. What is the issue? I don’t know how to do it, I looked of some posts and videos about this but can’t really find one.

I really don’t know how to do it, also if this is impossible, I’ll just use some of the simple camera bobbing scripts.