Whenever I press shift to enable camera panning, for some reason the players movement is restricted in some way.
Video of problem:
https://www.youtube.com/watch?v=MjMwnvq8_Eo
Here is the relevant code:
https://pastebin.com/nNWUYqT6
Or heres images of the code if you dont wanna use the pastebin:
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.