--wait(math.random(0,5)/10)

while true do
	game:GetService("RunService").Stepped:Wait()
	local target = findNearestTorso(script.Parent:WaitForChild("HumanoidRootPart").Position)
	if target ~= nil then
		script.Parent.Humanoid:MoveTo(target.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
		wait(math.random(1,2))
	end
end
