Fixed. The ‘;’ shouldn’t be right after the code, there should be ’ ’ (space) in between
BTW another thing that could be added to the script is blocking the rotation for some time after you press buttons responsible for using skills
For example when you use a Movement Skill, the rotation stops (because it’s a little bit weird when the screen is rotatin when you are in the middle of animation)
You can also check this script Faster camera rotation using keyboard or scroll wheel I’ve been using it and now I may switch to this (need to test it longer)