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

How do I get to the sides with LookVector?

Asked by
ItsMeKlc 235 Moderation Voter
8 years ago

I'm trying to get this NPC to always walk next to the player's torso, this almost works, but it walks to the front instead of the front of the player's torso's side. How do I get this to walk twords the side?

humanoid:MoveTo(script.Parent.Parent.Parent.Parent.Parent.Parent.Character.Torso.Position+script.Parent.Parent.Parent.Parent.Parent.Parent.Character.Torso.CFrame.lookVector * e)

Answer this question