How to rotate players upper body

I looked everywhere on the dev forum but I couldn’t find it. How would I make a players characters up body rotate up and down to face where the camera is pointed? This is for a sword game I am making.

I do not even know where to start! So if you have any idea please post it.

Do you have an example of what you are talking about? Are you talking about making the body move with the camera?

There is a game on roblox called “Bleeding Blades,” I want to emulate that. Player looks down, the upper body tilts down. Looking up, characters torso faces up. It is so you can direct the swing of a sword.