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
I think you should use a server script instead of a local script since this only follows the local player? On the server script, you could get the closest player to the zombie or a targeted player and make the zombie follow them.