How To Tween Camera Angles

how would you tween camera angles such as this?

RunService.RenderStepped:Connect(function()

Camera.CFrame *= CFrame.Angles(0,0,-0.05)

end)

need help badly.
tweeting is just being wonky

You can Lerp the Camera’s CFrame instead.

You can use the Roblox TweenService.

how do I combine tweening and something like this?

cam.CFrame = cam.CFrame * CFrame.Angles(0,math.rad(0),0.2)

I even tried something like this but when it comes to tweening/lerping angles it’s very difficult for me to understand without guidance.

Camera.CFrame = Camera.CFrame:Lerp(cam.CFrame * CFrame.Angles(0,math.rad(0),0.6), BobPercent)

Here you go!

--//Rotates in the Z direction 60 times a second
local lerp = .5
local angle = Vector3.new(0,0,math.rad(90)) --//math.rad(0) is equal to 0, while math.rad(90) is equal to pi/2

RunService.RenderStepped:Connect(function()
    local cf = Camera.CFrame

    Camera.CFrame = cf:Lerp(cf * CFrame.Angles(angle.x, angle.y, angle.z), lerp)
end)

how could I do the same thing but instead of putting it in renderstep but in tool.activated?

Limited to tool.Activated

local lerp = .5
local angle = Vector3.new(0,0,math.rad(90)) --//math.rad(0) is equal to 0, while math.rad(90) is equal to pi/2

local tool

tool.Activated:Connect(function()
    local cf = Camera.CFrame

    Camera.CFrame = cf:Lerp(cf * CFrame.Angles(angle.x, angle.y, angle.z), lerp)
end)

Both tool.Activated and RenderStepped

local lerp = .5
local angle = Vector3.new(0,0,math.rad(90)) --//math.rad(0) is equal to 0, while math.rad(90) is equal to pi/2

local tool
local stepped

tool.Activated:Connect(function()
    stepped = RunService.RenderStepped:Connect(function()
        local cf = Camera.CFrame

        Camera.CFrame = cf:Lerp(cf * CFrame.Angles(angle.x, angle.y, angle.z), lerp)
    end)
end)
tool.Deactivated:Connect(function()
    if stepped then
        stepped:Disconnect()
    end
end)