Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a NPC's head look at the Player?

Asked by 4 years ago

I tried using this script;

Character = game.Workspace:WaitForChild("MRbraveDragon")
wait(1)
while wait()do
    script.Parent.Head.Neck.C0 = CFrame.new(script.Parent.Head.Neck.C0.Position, Character.Head.Position)
end

But it didn't work... I know it has something to do with the NPC's rotation but I'm not quite sure how to fix that. Does anyone know how I would go about doing this?

0
Anyone? MRbraveDragon 374 — 4y

Answer this question