How do I use tweening to smoothly move the player's camera when playing an animation?

I have this script in my game where if the player presses a certain key, they slide on the ground. It works fine, but I need to know how to use tweening to smoothly move the player’s camera down.

Here is the current code:
local UIS = game:GetService(“UserInputService”)
local char = script.Parent
local Humanoid = char:WaitForChild(“Humanoid”)

local slideAnim = Instance.new(“Animation”)
slideAnim.AnimationId = “rbxassetid://6833904302”

local keybind = Enum.KeyCode.C
local canslide = true

UIS.InputBegan:Connect(function(input,gameprocessed)
if gameprocessed then return end
if not canslide then return end

if input.KeyCode == keybind then
	canslide = false
	
	Humanoid.CameraOffset = Vector3.new(0, -2, 0)
	local playAnim = char.Humanoid:LoadAnimation(slideAnim)
	playAnim.Priority = Enum.AnimationPriority.Action
	playAnim:Play()
			
	local slide = Instance.new("BodyVelocity")
	slide.MaxForce = Vector3.new(1,0,1) * 30000
	slide.Velocity = char.HumanoidRootPart.CFrame.lookVector * 100
	slide.Parent = char.HumanoidRootPart
	
	for count = 1, 8 do
		wait(0.1)
		slide.Velocity *= 0.7
	end
	playAnim:Stop()
	slide:Destroy()
	canslide = true
		Humanoid.CameraOffset = Vector3.new(0, 0, 0)
	
end

end)

How can I add tweening to this?