Limit vr camera movement to horizontal only

Hello devs! I’ve been busy working on a roblox VR game, and I’m now working on camera manipulation. Here’s a chunk that I have right now:

plr.CameraMinZoomDistance = 0.5
plr.CameraMaxZoomDistance = 0.5
workspace.CurrentCamera.CameraSubject = chr.Humanoid
workspace.CurrentCamera.CFrame = chr.Head.CFrame 

I want the player to be able to use smooth turning to turn in the game, but by default the player is able to turn the camera up and down. Not only that, it seems as though the axis that this vertical motion uses stays the same when you physically turn your headset, making it possible for the camera to be fully sideways. How can I allow for horizontal turning without the awkward vertical turning? Thanks!