Rebind Camera Panning

That’s because the default roblox rotation is still applied for some odd reason.
In case the MouseBehavior is set to LockedCenter or LockCurrentPosition, it automatically rotates on it’s own. Therefore, you should not to rotate the camera. Try:

local userInputService = (game:GetService("UserInputService"));
local runService = (game:GetService("RunService"));

function RenderStep(dt)
	userInputService.MouseBehavior = Enum.MouseBehavior.LockCenter
    -- // If the mouse Icon is bothering you, just set UserInputService.MouseIconEnabled to false.
end;

runService.RenderStepped:Connect(RenderStep)
2 Likes