Camera not working?

I was just minding my own business, testing my game when this started happening:

robloxapp-20220212-1621222.wmv (357.0 KB)

You are looking at me panning using my mouse while testing my game. I hold down my right mouse button and it pans like one inch to the direction I moved my mouse and then stops. If I use my arrow keys, it works and the camera is fine in the studio when I am not testing. Does anyone know how to fix this?

Do you have a GUI that’s in the background? I feel like I’ve had this issue before with UI’s being in the way of my gameplay, and making the mouse move like that.

There is only the UI you see in the video.

I just tested my game again without any UI and it didn’t change anything. Also it turns out it only does not work when I am simulating multiple players on a server.