How to make a player lean left or right based on their walking direction

The title is basically all you need to know