function NpcModule.Walk(z,p,R,W)local s=NpcModule.GetPath(z,p,R)local k=z:FindFirstChild("\072\117\109\097\110\111\105\100")if s~=false then if k then for z,p in pairs(s:GetWaypoints())do k:MoveTo(p.Position)k.MoveToFinished:Wait()end end end if W~=nil then return end end
-- Module 3
function NpcModule.Walk(Npc, Pos, PathParams, Return)
	local Path = NpcModule.GetPath(Npc, Pos, PathParams)
	local Humanoid = Npc:FindFirstChild("Humanoid")

	if Path ~= false then
		if Humanoid then
			for I, Waypoint in pairs(Path:GetWaypoints()) do
				Humanoid:MoveTo(Waypoint.Position)
				Humanoid.MoveToFinished:Wait()
			end
		end
	end

	if Return ~= nil then
		return
	end
end
