A fluorescent probe based on single metal-organic framework material without additional fluorophores and active sites can significantly improve the stability of the probe for detection, and has very important application value in environmental analysis and detection. In this paper, a simple and rapid fluorescence detection method was established with Zn-MOF, which realized the highly sensitive detection of tetracycline antibiotics and NH4+ in water. The prepared Zn-MOF has abundant pores and can exist stably in water. When tetracycline antibiotics are present in Zn-MOF aqueous solution, based on the unique coordination ability between Zn and N, tetracycline antibiotics rich in N will be adsorbed into the pore canals of MOF, and aggregation-induced luminescence will occur. The original non-fluorescent Zn-MOF will immediately produce yellow fluorescence, realizing the detection of tetracycline antibiotics in water, with the limit of detection reaching 0.017 μM in a linear range of 0.02-13 μM. Zn-MOF is further used for the detection of tetracycline antibiotics in actual samples of milk and honey. Oxytetracycline (OTC) with the best fluorescence response of tetracycline antibiotics was coated on Zn-MOF to synthesize OTC@Zn-MOF fluorescent probe. NH4+ will replace the original ligand of Zn-MOF, which will disintegrate MOF and release OTC, resulting in a fluorescence decrease. Therefore, NH4+ can be detected with low limit of detection (0.038 μM) in a linear range of 0 to 3 mM. The probe is expected to be able to detect ammonia in the environment.