Camera going weird when trying to change the Cframe

I have a local script trying to change the cframe of workspace.camera but it keeps starting at the player and idk why

script:

local fps = 1/60
local frames = game:GetService("ReplicatedStorage"):WaitForChild("Camera1"):WaitForChild("Frames"):GetChildren()

table.sort(frames, function(a, b)
	return tonumber(a.Name) < tonumber(b.Name)
end)

local camera = workspace.Camera

---
local TS = game:GetService("TweenService")
local info = TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0)
---
for i,cf in ipairs(frames) do
	local Goal = {CFrame = cf.Value * CFrame.new()}
	local T = TS:Create(camera, info, Goal)
	T:Play()
	task.wait(fps)
end

Folder with the Cframe data exported from moon animator:
image

Problem I’m having:

Please help thanks

Try changing the camera type to Scriptable

camera.CameraType = Enum.CameraType.Scriptable