How do I remove the X Rotation from a CFrame?

I’m working on a vr fps, and I need an inventory system. I’m stuck on setting the cframe of the holsters. I basically just need to remove the X value from the Camera’s CFrame Rotation.

Basically, I just need it so the inventory’s rotation only applies to looking left/right, not up/down.