If your outdoor AC unit buzzes but will not cool, possible causes include a bad capacitor, contactor or control issue
https://paxtonzapf074.cloudhinter.com/posts/why-summer-heat-causes-outdoor-ac-units-to-shut-down
If your outdoor AC unit buzzes but will not cool, possible causes include a bad capacitor, contactor or control issue, fan motor trouble, or compressor problems that need prompt diagnosis.