if pickUpTools then for p,y in pairs(GetSpecificInstances(AI,"\080\097\114\116"))do y.Touched:connect(function(p)if p.Name=="\072\097\110\100\108\101"and p.Parent:IsA("\084\111\111\108")then if(#GetSpecificInstances(p.Parent.Parent,"\072\117\109\097\110\111\105\100")==0 or p.Parent.Parent==workspace)and#GetSpecificInstances(AI,"\084\111\111\108")==0 then p.Parent.Parent=AI end end end)end end

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
