i have a problem where once i get spotted by my monster my fov goes to 120 like i want it but when it looses me my fov decreases only like to 118.222 instead of 100, any help? this is what the script is
local speed = 70
local SpottedEvent = game:GetService("ReplicatedStorage"):WaitForChild("Remotes").PlayerSpotted
camera.FieldOfView = 100
SpottedEvent.OnClientEvent:Connect(function(spotted)
if spotted then
camera.FieldOfView += (((speed/3)+100)-camera.FieldOfView)/120
wait()
else
camera.FieldOfView += (20.000-camera.FieldOfView)/120
wait()
end
end) ```