How can I modify the camera's rotation?

I am making fps game and when you aim, the camera slightly tilts. However, the script I have only works when the camera is scriptable, but when it’s scriptable I can’t move it. How do I change the rotation of the camera but still be able to move it?

Edit: I’m pretty sure any camera mode other than scriptable won’t let me change the z value.
Edit: Yeah I’m right it won’t let me change it

You can use the CFrame and modify its angles or movement, an example:

local camera = workspace.CurrentCamera

camera.CFrame = CFrame.new(x,y,z)

Well that’s what I’m doing… It’s just not letting me change the z/roll coordinate.