Setting player's rotation same as part's rotation

Hello, i am making obstacle climbing system.
I anchor player, play animation and teleport him.
But i need player to look at one direction, so i also need to set his rotation firstly.

Here is code that i tried and a video:

HumanoidRootPart.CFrame = CFrame.new(HumanoidRootPart.CFrame.Position) * CFrame.Angles(0, pos.TelPart.Orientation.Y, 0)

Herhalde oyuncunun kamerasının engelden aştığı zaman Orientationu değişecek ve biraz eğri mi duracak

TRANSTLE this from Turkish to your language

Try this:

local pos = Vector3.new() -- Write the position
local orient = CFrame.Angles() -- Write the orientation

HumanoidRootPart.CFrame = CFrame.new(pos) * orient

Output says “TelPart(Part) is not a valid member of Vector3”

also, is it even possible to rotate player while he’s being in first person?

Show the whole script please.

wd