Getting camera back to player

Pretty simple question, I’m just looking to see how to get players camera back to the player after it has been CFramed to another part.

Here’s what I have:

repeat wait() until game.Workspace:FindFirstChild("Camera")

workspace.Camera.CameraType = Enum.CameraType.Scriptable
workspace.Camera.CameraSubject = IdleCamera
workspace.Camera.CFrame = IdleCamera.CFrame

Been trying to get it back by doing this:

			workspace.Camera.CameraSubject = Char
			workspace.Camera.CFrame = Char:FindFirstChild("Head").CFrame

thank u in advanced!

1 Like

workspace.CurrentCamera = nil

workspace.Camera.CameraType = Enum.CameraType.Fixed


1 Like

just set the CurrentCamera.CameraType back to Enum.CameraType.Custom and that should re focus it to the player

1 Like

thank you so much it worked :slight_smile: