How to assign CameraSubject to a part's face

If I am trying to assign a camerasubject to a part how can I make it face the same way the part is facing

you can do

local Camera = game.Workspace.CurrentCamera
Camera.CameraType = Enum.CameraType.Scriptable 

Camera.CFrame = path.to.the.part.CFrame

I think the camera mode you’d want is Attach. It’ll look where ever the target is facing.

Camera.CameraType = Enum.CameraType.Attach
Camera.CameraSubject = someSubject
1 Like

how would i return it to the normal camera for the player

do

Camera.CameraType = Enum.CameraType.Custom

No, but I am settings the CFrame how do I set it back to default

You’d store the CFrame before the camera mode is changed and then revert back to that CFrame when the camera’s mode is reverted.