of     1   

LordDracius
#183742082Tuesday, February 16, 2016 6:25 AM GMT

This script is supposed to make an NPC run toward a targeted area: Works in Studio Doesn't work in real play wait(3) local Post=script.Parent.Torso.Position+Vector3.new(0,0,450) game.Debris:AddItem(script.Parent,60) repeat wait() script.Parent.Humanoid:MoveTo(Post) wait(1) until (script.Parent.Torso.Position-Post).magnitude<3 script.Parent:Destroy() http://www.roblox.com/BILL-NYE-LOUD-item?id=359623286
vlekje513
#183745610Tuesday, February 16, 2016 8:32 AM GMT

make it a normal script, not local
Pyracel
#183745946Tuesday, February 16, 2016 8:55 AM GMT

also, roblox client is slower as you may know. Make it a local script, then do this: wait(3) local Post=script.Parent:WaitForChild("Torso").Position+Vector3.new(0,0,450) game.Debris:AddItem(script.Parent,60) repeat wait() script.Parent.Humanoid:MoveTo(Post) wait(1) until (script.Parent.Torso.Position-Post).magnitude<3 script.Parent:Destroy() Basically add WaitForChild everywhere you can.
Pyracel
#183745957Tuesday, February 16, 2016 8:56 AM GMT

Not local regular sorry
DeepBlueNoSpace
#183747142Tuesday, February 16, 2016 10:39 AM GMT

Why are you using Debris? Why are you using all this old API??? We have a very competent path finding API. http://wiki.roblox.com/index.php?title=Pathfinding
LordDracius
#183776575Tuesday, February 16, 2016 9:52 PM GMT

Doesnt need path finding. The NPC is literally running in a straight line that has no obstacles. Why go through the trouble? http://www.roblox.com/BILL-NYE-LOUD-item?id=359623286

    of     1