Hybrid metal-halide perovskites and their derived materials have emerged as the next-generation semiconductors with a wide range of applications, including photovoltaics, light-emitting devices, and other optoelectronics. Over the past decade, numerous single-crystalline perovskite derivatives have been synthesized and developed. However, the synthetic methods for these derivatives mainly rely on acidic crystallization conditions. This approach leads to crystals comprising metal halide building blocks, which show problematic stability when directly exposed to water. In this study, a methodology is developed for synthesizing hybrid metal-halide compounds using lead iodide and the zwitterionic bifunctional molecule cysteamine (CYS), to form various perovskitoid structures under a broad pH range. Interestingly, the different pH conditions alter the coordination environment of lead halides, leading to lead-sulfide and lead-nitride covalent bond formation. This modification significantly enhances their stability when in direct contact with water, lasting for months. Photoluminescence measurements and first principal density functional theory (DFT) calculations reveal that the perovskitoids synthesized under basic and acidic pH conditions exhibit a direct bandgap nature, while those synthesized under neutral conditions display an indirect bandgap. This approach opens new avenues for manipulating synthetic methods to develop water-stable hybrid semiconductors suitable for a wide range of applications, such as solid-state light emitters.