How to get a camera to lock in a place for a cutscene

I know that this is supposed to be really easy, but I still don’t know how to find the Player camera, if I were to lock the camera at the front of a part for a cutscene, how would it work?

In order to make cutscenes, we make use of localscripts. Heres an example.
Create a part in workspace. Position it, and rotate it to match your scene.

local Camera=workspace.CurrentCamera -- getting the camera of the player

--[[
in order to alter the camera using localscripts, we need to set cameratype to 
scriptable.
--]]
Camera.CameraType=Enum.CameraType.Scriptable 
local Part=workspace.Part -- the part where the camera will get locked to
Camera.CFrame=Part.CFrame -- done!
1 Like

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