Mouse Look Script not Working

Hi,
The error indicates, that you need change transform.localPosition to transform.rotation, or similar.

Also, please read this

Then update your first post with code tag.

Another thing is, for the future, always copy full error. There should be number line of ocuring error. Double clicking it in console, will navigate you to right place in VS.