Camera tweening doesn't work. "Unable to cast to Dictionary"

I am very new to tweening and I followed a basic tutorial on YouTube. I looked at some camera manipulation scripts using tweening and tried to apply them. On line 23, it errors saying “Unable to cast ti Dictionary”, and I don’t know what it means.
My code:

local Plr = game.Players.LocalPlayer
local RS = game:GetService("RunService")
local TS = game:GetService("TweenService")
local Twfo = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.In, -1, false, 0.3)
local Cons = {}

Plr.CharacterAdded:Connect(function()
	for _, conneys in Cons do
		conneys:Disconnect()
	end

	table.clear(Cons)

	workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
	workspace.CurrentCamera.CameraSubject = Plr.Character:WaitForChild("Humanoid")

	Plr.Character.Humanoid.Died:Connect(function()
		workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
	
		table.insert(Cons, RS.RenderStepped:Connect(function()
			local TorsoPos = Plr.Character:WaitForChild("Torso").Position
			local CurCamPos = workspace.CurrentCamera.CFrame.Position
			local Tween = TS:Create(workspace.CurrentCamera, Twfo, {CFrame.lookAt(CurCamPos, TorsoPos)})
			
			Tween:Play()
		
			--workspace.CurrentCamera.CFrame = CFrame.lookAt(CurCamPos, TorsoPos)
		end))
	end)
end)

Thanks for any possible help.

try this :

local Tween = TS:Create(workspace.CurrentCamera, Twfo, {CFrame = CFrame.lookAt(CurCamPos, TorsoPos)})

It only works when you respawn and it keeps looping the tween after respawn, even though it’s theoretically supposed to not. It was even cut off using table functions, i think.