How do i tween player fov?

i need to tween player’s camera fieldofview using tweenservice, how to do that? i cant understand

You can tween camera.FiewOfView like most number properties. Here’s an example:

local TweenService = game:GetService("TweenService")

local camera = workspace.CurrentCamera

local fovTweenIn = TweenService:Create(
    camera, TweenInfo.new(2), {FieldOfView = camera.FieldOfView + 20}
)
local fovTweenOut = TweenService:Create(
    camera, TweenInfo.new(2), {FieldOfView = camera.FieldOfView}
)

while true do
    fovTweenIn:Play(); fovTweenIn.Completed:Wait()
    fovTweenOut:Play(); fovTweenOut.Completed:Wait()
    task.wait(3)
end

The third argument to TweenService:Create() is goal/end result where we specify that we’d like to interpolate FieldOfView property from current to the given value. Keep in mind that workspace.CurrentCamera is accessible from a local script.