(game:GetService("\082\117\110\083\101\114\118\105\099\101")).RenderStepped:Connect(function()if isSprinting and humanoid.MoveDirection.Magnitude>0 then FOVIn:Play()if humanoid:GetState()==Enum.HumanoidStateType.Running or humanoid:GetState()==Enum.HumanoidStateType.RunningNoPhysics then if not ifSprintAnimPlaying then sprintAnim:Play()ifSprintAnimPlaying=true end else if ifSprintAnimPlaying then sprintAnim:Stop()ifSprintAnimPlaying=false end end else FOVOut:Play()if ifSprintAnimPlaying then sprintAnim:Stop()ifSprintAnimPlaying=false end end end)

game:GetService("RunService").RenderStepped:Connect(function()
	
	if isSprinting and humanoid.MoveDirection.Magnitude > 0 then		
		FOVIn:Play()
		
		if humanoid:GetState() == Enum.HumanoidStateType.Running or humanoid:GetState() == Enum.HumanoidStateType.RunningNoPhysics then

			if not ifSprintAnimPlaying then
				sprintAnim:Play()
				ifSprintAnimPlaying = true
			end
			
		else
			if ifSprintAnimPlaying then
				sprintAnim:Stop()
				ifSprintAnimPlaying = false
			end
		end
		
	else
		FOVOut:Play()
		
		if ifSprintAnimPlaying then
			sprintAnim:Stop()
			ifSprintAnimPlaying = false
		end
	end
end)
