How do you make camera move smoothly related to MoveDirection

How you make your camera move smoothly with move Direction like in the video, It doesn’t need to be how it is in the video necessarily, I just wanna know how to make your camera move/Tilt into the direction you are walking in to make movement feel smoother

Edit: L music in the background of the vid, Yeat better

You tween the CurrentCamera’s CFrame, and you need the camera instance, a part to move the camera too or just a CFrame position in general (I use a part) and the TweenInfo (you presumably already know this, but just in case)

Can you send example of code please?