I’m using the EZ CameraShake module and when the shake happens it moves the players mouse instead of the mouse remaining where it should be and I’m not sure how to stop this. Here is a visual of what I mean: https://gyazo.com/ed19fdec4a50381d43c6c260afe7c9ad
Here is the code:
local CamShake = CameraShaker.new(Enum.RenderPriority.Camera.Value, function(ShakeCF)
ShakeCFrame.Value = ShakeCF
end)
CamShake:Start()
game:GetService("RunService").RenderStepped:Connect(function()
CurrentCamera.CFrame = CurrentCamera.CFrame * CFrame.new(3, 0.5, 0) * ShakeCFrame.Value
end)
How would I just get the screen to shake without also moving the mouse?