In our work, a dual-functional sensor for detecting ammonia and human motion was realized by fabrication of TPU-Supported Ti3C2Tx/Ag2S/TiO2 electrospun mat. The synthesis of Ag2S/TiO2–doped Ti3C2Tx nanocomposites was achieved through a simple hydrothermal approach, which served as the sensing component. The findings from the microscopic morphology analysis indicate that the nanocomposites were evenly dispersed across the flexible TPU. The performance of the fabricated flexible gas-sensitive and strain sensors was evaluated, the results showed a 25.2 % response to 100 ppm ammonia at room temperature (25 ℃), which was approximately five times higher than that of the pure Ti3C2Tx gas-sensitive materials. When subjected to a strain range of 40 %–60 %, the response was measured as 378.597, exhibiting a notably high level of linearity (linear fitting value of 0.9849). The stability and repeatability of the flexible sensor make it play a significant role in room temperature gas sensing and motion monitoring.