How will i make the camera able to go right

Hello. im making a player camera angle limit and it works fine but the problem is it won’t let me look to the right and i have tried many things but when i tried then it would just screw up something else.

here is my script:

function updateCamera()
	RunService:BindToRenderStep("UpdateLoop", Enum.RenderPriority.Camera.Value, function()
		local rX, rY, rZ = Camera.CFrame:ToOrientation()
		local limX = math.clamp(math.deg(rX), -60, 40) -- up and down
		local limY = math.clamp(math.deg(rY), -90, 0) -- left
		Camera.CFrame = * CFrame.fromOrientation(math.rad(limX), math.rad(limY), rZ)

Not sure, but could you change this to 90?

you dont have a variable for when you turn right, so it wont let you.

but when i change it to 90 then it goes 180 degrees to the left instead of 90 degrees to left and 90 to right

but how would i make a variable to turn right if its x, y, z degrees?