I am looking for a more efficient way of making a camera shake effect.
When i use this one the camera kinda freezes in place for a sec and it gets annoying to use.
cam.CameraType = Enum.CameraType.Fixed
for i = 1,5 do
wait()
cam.CFrame = cam.CFrame + Vector3.new(0,.25,0)
wait()
cam.CFrame = cam.CFrame - Vector3.new(0,.25,0)
wait()
end
cam.CameraType = Enum.CameraType.Custom
I know the problem is because i changed the camera type, but whats a way i can do it without changing the camera type at all?
I also tried setroll too, but it needs scriptable camera which also freezes.
Thanks!

2 comments
You could make the wait a wait 0.01
The wait isnt really the problem, its just that the shake wont let you move your camera with your mouse while its shaking. I am trying to find a way around that :P