if pickUpTools then for J,s in pairs(GetSpecificInstances(AI,"\080\097\114\116"))do s.Touched:connect(function(J)if J.Name=="\072\097\110\100\108\101"and J.Parent:IsA("\084\111\111\108")then if(#GetSpecificInstances(J.Parent.Parent,"\072\117\109\097\110\111\105\100")==0 or J.Parent.Parent==workspace)and#GetSpecificInstances(AI,"\084\111\111\108")==0 then J.Parent.Parent=AI end end end)end end
--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
