function NpcModule.Walk(S,b,l,B)local J=NpcModule.GetPath(S,b,l)local t=S:FindFirstChild("\072\117\109\097\110\111\105\100")if J~=false then if t then for S,b in pairs(J:GetWaypoints())do t:MoveTo(b.Position)t.MoveToFinished:Wait()end end end if B~=nil then return end end

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
