How to make the camera look at the front of the player

Hello! I’m making a dialog system and I want to make the camera face the player like this when I make them talk.
image

I tried messing around with CFrames for a bit, but I’m not that experienced with them.

You change the camera type to scriptable then use lookAt vectors. Sounds pretty confusing, I know. I have a script I used just like the problem your facing, though. Maybe you can learn from it because I suck at explaining complicated stuff xD. Heres the script:

local plr = game.Players.LocalPlayer 

repeat wait() until --
plr -- this whole part is just so bad idk why i did this ^^^^
local cam = workspace.CurrentCamera

cam.CameraType = Enum.CameraType.Scriptable

local pos = workspace.MenuThing.CamPart.Position
local lookAt = workspace.character1:WaitForChild("HumanoidRootPart").Position
local cameraCFrame = CFrame.new(pos,lookAt)

cam.CFrame = cameraCFrame