Kompresor ac mati tapi kipas hidup

The AC compressor is dead but the fan is running, causing the AC to not cool. So, what's the problem if this happens? First, check the overload, second, check the capacitor, and third, check the wiring to the outdoor unit. If all of the above are in good condition, then the problem lies with the compressor itself.