Torso leaning for first person

Hello, I’m trying to figue out how to make the torso lean in correspondance to the cameras direction in firt person, but there are 2 issues:

  1. I want it to be visible for everyone
  2. I want the lean to lerp on the client, because the first issue could be easily solved by doing it on the server but that would make the lerp very choppy
    How would I achieve this?