I'm trying to make the camera face the player's HumanoidRootPart, but it doesn't work. when I click play, the camera stays still, and doesn't face the player's humanoidrootpart from the camera subject at all.
cam = camera, camerapart is the part I want the camera to be attached to
cam.CameraType = Enum.CameraType.Scriptable CameraPart.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(20,5,1) cam.CameraSubject = CameraPart CameraPart.CFrame = CFrame.new(CameraPart.Position,Player.Character.HumanoidRootPart.Position) cam.Focus = CFrame.new(Player.Character.HumanoidRootPart.Position)