So basically I was trying to do random, but that didn't work so I decided to do something simple and just make it fixed, the only problem is that it won't work, even though it runs through it.
while true do
game.Workspace.Camera.FieldOfView = 10
wait(0.1)
game.Workspace.Camera.FieldOfView = 5
wait(0.1)
game.Workspace.Camera.FieldOfView = 30
wait(0.1)
game.Workspace.Camera.FieldOfView = 70
wait(0.1)
game.Workspace.Camera.FieldOfView = 46
wait(0.1)
game.Workspace.Camera.FieldOfView = 99
wait(0.1)
game.Workspace.Camera.FieldOfView = 62
wait(0.1)
game.Workspace.Camera.FieldOfView = 23
wait(0.1)
game.Workspace.Camera.FieldOfView = 54
wait(0.1)
game.Workspace.Camera.FieldOfView = 92
wait(0.1)
print("hi")
end

2 comments
It says current camera is not a valid member
I have edited the code. It should work now, but with the FOV changing so much it looks trippy lol