I'm trying to make a changing FOV script, but I want to make it smooth so it takes a long time. I bet there's a easier way of doing it, but I just can't think of it if anyone knows please help me. Thanks
Code:
workspace.CurrentCamera.FieldOfView = 69.9
wait(2)
workspace.CurrentCamera.FieldOfView = 69.8
wait(2)
workspace.CurrentCamera.FieldOfView = 69.7
wait(2)
workspace.CurrentCamera.FieldOfView = 69.6
wait(2)
workspace.CurrentCamera.FieldOfView = 69.5
wait(2)
workspace.CurrentCamera.FieldOfView = 69.4
wait(2)
workspace.CurrentCamera.FieldOfView = 69.3
wait(2)
workspace.CurrentCamera.FieldOfView = 69.2
wait(2)
workspace.CurrentCamera.FieldOfView = 69.1
wait(2)
workspace.CurrentCamera.FieldOfView = 68
From 70 to 20 but like the example.

2 comments
Use the tween service. So the object is currentcamera, the setting is FieldOfView, you want it to go to 20 over 5 seconds. Then the reverse.
https://developer.roblox.com/en-us/api-reference/function/TweenService/Create