I am making a zombie and have written in this script to make it follow me but it does not. I can push it around but no follow like I said. Here is the script to move:
while true do
wait (.1)
findNearestTorso()
if target~= nil then
script.Parent.Humanoid:MoveTo(target.Torso.Position,target.Torso)
end
end
What is wrong?

1 comment
Did you set a function of findNearestTorso?