(SOLVED) How can I make the NPC face the player?

Don’t know how to fix this but for some reason I can’t seem to align the player to the NPC.

This is what it looks like from the Server

This is what it looks like from the Client


What I want it to be

This isn’t all of the script but this what controls the position of the player n stuff.

Character.Humanoid.AutoRotate = false
NPC.Humanoid.AutoRotate = false
Character.HumanoidRootPart.CFrame = NPC.HumanoidRootPart.CFrame
Character.HumanoidRootPart.CFrame = Character.HumanoidRootPart.CFrame + NPC.HumanoidRootPart.CFrame.LookVector
Character.HumanoidRootPart.CFrame = CFrame.lookAt(Character.HumanoidRootPart.Position, Vector3.new(NPC.HumanoidRootPart.Position.X, Character.HumanoidRootPart.Position.Y, NPC.HumanoidRootPart.Position.Z))
task.wait()
Character.HumanoidRootPart.Anchored = true
NPC.HumanoidRootPart.Anchored = true

P.S. I’m still some what of a noob when it comes to scripting idk how to describe it? So I won’t be able to understand mostly any of the really advanced stuff.

1 Like

SOLVED

Simple answer that I just found out.

All I do is set NPC and Character to look at each other in the client.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.