Hello, I would like to know how to make a smooth scroll to zoom system for my game!
I have been very confused lately on how to do it, I’ve tried Tweening it, and adding and subtracting the FOV it worked, but it wasn’t smooth.
Can anyone please help?
- Here’s the code
connection2 = m.WheelForward:Connect(function()
if cam.FieldOfView > 10 then
if zoomTog == true then
cam.FieldOfView = cam.FieldOfView - 1
blurIn:Play()
wait(0.25)
blurOut:Play()
end
end
end)