How can I make a cutscene from the player's camera to another part?

I’m trying to make a cutscene for a player to talk to a NPC. I want the player’s camera to tween from its current position to the position of the NPC. I’ve not found any solutions to this yet.

You need to:

  1. Set the camera type as scriptable
  2. Define the CFrame destination
  3. Tween the Camera CFrame to the destination
local camera = workspace.CurrentCamera
camera.CameraType = Enum.CameraType.Scriptable
local tween = TweenService:Create(camera, tweenInfo, {CFrame = NPC.Head.CFrame})
tween:Play()
2 Likes

Thank you! Chaaaaracter liiimit.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.