--equip tools

if pickUpTools then
	for _,v in pairs(GetSpecificInstances(AI,"Part")) do
		v.Touched:connect(function(part)
			if part.Name=="Handle" and part.Parent:IsA("Tool") then
				if (#GetSpecificInstances(part.Parent.Parent,"Humanoid")==0 or part.Parent.Parent==workspace) and #GetSpecificInstances(AI,"Tool")==0 then
					part.Parent.Parent=AI;
			end end
		end
		);
	end
end
