First Person Smooth Camera + Lean

So I wanted to make a first person camera which is smooth (I got that part done) but also wanted it when the character moves left the cameras leans a bit left. How is that possible I found nothing
[example of a game trailer having that: https://medal.tv/games/roblox/clips/7JWj0nw7Nkw3Z/28QdRKaoJQ9k?invite=cr-MSxzcEEsNDY0NTkwMzMs]