MouseLook disabling y axis

When i disable mouselook script like:
GetComponent<MouseLook>().enabled = false;
it doesnt turn off y-axis look. How can i correct this?

If you’re using the First Person Controller, there are TWO mouse-looks on it. One is on the main object, which controls X ; the other is on the camera, which controls Y.