Camera zoom from one part to another

How would I make the players camera move from part1 to part2 whilst being animated?

You can use TweenService to tween the CFrame of the camera. Make sure to set the CameraType to Enum.CameraType.Scriptable first.

What would I set the 3rd value of the TweenService:Create(value1, value2, {value3}) to?

Value1 being the camera, Value2 being the TweenInfo.

The third argument is a dictionary, commonly referred to as goal, containing the desired property values.

local Goal = {
     CFrame = workspace.Part2.CFrame
}

TweenService:Create(Camera, TweenInfo, Goal):Play()

Note: If you’re playing this same process multiple times, store the tween in a variable instead of creating a new one every time.

1 Like

The tween is only making the camera1 part move to the camera2 part and doesnt use the players camera.

In the Camera variable you should be using workspace.CurrentCamera.