How would I make 2 part camera tween?

How would I make 2 parts make a camera tween?

Set the position to one of the parts and then tween the camera cframe to the other

local TweenService = game:GetService('TweenService')
local cam = workspace.CurrentCamera

local function TweenBetweenParts(one, two)
  local tween = TweenService:Create(cam,, {CFrame = two.CFrame})
  cam.CFrame = one.CFrame

TweenBetweenParts(workspace.Cam1, workspace.Cam2)

So how would I make the camera back to normal where the player can move it again and not stuck there?

1 Like