-- Variables

local ts = game:GetService('TweenService')
local cas = game:GetService('ContextActionService')

local cam = workspace.CurrentCamera

local humanoid = script.Parent:WaitForChild("Humanoid",3)

local sprintAnim = humanoid:LoadAnimation(script:WaitForChild("SprintAnim"))

local isSprinting, ifSprintAnimPlaying = false, false

local FOVIn = ts:Create(
	cam,
	TweenInfo.new(.5),
	{FieldOfView = 100}
)

local FOVOut = ts:Create(
	cam,
	TweenInfo.new(.5),
	{FieldOfView = 70}
)
