Why does the air conditioner get cold than hot than cold hot etc every couple of minutes you had it drained vacuumed with new freon Tested for leaks none need help?

We're assuming the compressor is always running (not cycling), during this time that it's getting cool, then warm/ hot? If the compressor cycling during this time (air getting cool, then hot or warm)- you likely need to concentrate on the electrics that make the compressor run (ei, pressure switch, electric clutch, etc.) answer u need a new drier and the correct amount of gas in system checked a drier is not much to buy