So I'm making an NPC so if you go near it, it moves its body to face you and I'm using bodygyro to do it. Does anyone know how to do this?
Script I'm Using:
script.Parent.Touched:connect(function(Character) local b = Instance.new('BodyGyro') b.Parent = script.Parent.Parent.HumanoidRootPart b.P = 13000 b.D = 400 b.maxTorque = Vector3.new(math.huge, math.huge, math.huge) --end end)