I have two tweens and I’m trying to make second one run after the first one runs but it’s giving me an error saying " TweenService:Create property named 'CFrame' cannot be tweened due to type mismatch (property is a 'CoordinateFrame', but given type is 'Instance') "
local targetCFrame = workspace.CamAnimPart.CFrame
local camTweenInfo = TweenInfo.new(
1.5,
Enum.EasingStyle.Sine,
Enum.EasingDirection.Out,
0,
false,
0
)
local CamTween = TweenService:Create(camera, camTweenInfo, {CFrame = targetCFrame})
CamTween:Play()
wait(1.6)
targetCFrame = workspace.CamAnimPart2
local camTweenInfo2 = TweenInfo.new(
0.2,
Enum.EasingStyle.Sine,
Enum.EasingDirection.Out,
0,
false,
0
)
CamTween = TweenService:Create(camera, camTweenInfo2, {CFrame = targetCFrame})
CamTween:Play()
