How can I return the camera to the player after they have touched a part?

I am trying to make a script which basically you walk through a part then a small cutscene will show up. I did that and everything but I’m trying to code that the camera returns to the player again.

I am trying to make a script which basically you walk through a part then a small cutscene will show up I did that and everything but I am trying to code that the camera returns to the player again,
Here’s the code:

local CameraPart = workspace.CameraScenes.Camera1

local Interact = game.Workspace.Parti

local Players = game:GetService(“Players”)

Interact.Touched:Connect(function(Hit)
if Hit.Parent:FindFirstChild(“Humanoid”) then
local Camera = workspace.CurrentCamera
Camera.FieldOfView = 70
Camera.CameraType = Enum.CameraType.Scriptable
Camera.CFrame = CameraPart.CFrame

end

end)

Thanks!

2 Likes
Camera.CameraType = Enum.CameraType.Custom
Camera.CFrame = [Player Character.HumanoidRootPart].CFrame
3 Likes