the script is a local script and its located in the zombie's humanoid
local i = game.Players.LocalPlayer
local e = i.Character
while true do
if (e.Torso.Position - script.Parent.Parent.Torso.Position).magnitude <30 then
script.Parent.WalkToPoint = e.Torso.Position
else
break
end
end

1 comment
ok , thanks