Just an hour ago, my camera code stopped working on its own, although it had been working smoothly for weeks before, but today it just doesn’t seem to want to work. When the mouse is moving, when the camera is Scriptable, the movement is no longer taken into account.
Notably, sometimes Mouse Delta only works if the mouse is locked.
Try adding this somewhere in your code and see if that fixes it.
local UserInputService = game:GetService("UserInputService") -- Remove this if you already have a variable for it
UserInputService.MouseBehavior = Enum.MouseBehavior.LockCenter
If it’s still not working, perhaps the code to move the camera with the mouse was deleted?