How can I keep the orientation of the player when rotating them with CFrame

I am doing something along the lines of:

Character:PivotTo(Character:GetPivot() * CFrame.Angles(0,math.rad(180),0))

The problem is that while the y orientation changes by 180 degrees, the x and z axes are set to 0 instead of being kept as they were