Flexible wearable sensors with multifunctional features have attracted great interest in various applications such as disease diagnosis, environmental detection and healthcare monitoring. However, it is still a challenge to achieve a multifunctional sensor with super water resistance without compromising the overall performance of the sensing material. Here, we developed a 3D bifunctional flexible sensor based on an MXene melamine sponge (MS) through a simple and effective ultrasonic mixing process and a further vacuum annealing process. The sensor is able to show excellent response to different stimuli, including pressure and humidity. The thermal annealing treatment allows MXene to adhere more firmly to the internal skeleton of the sponge, which does not easily fall off and improves the water resistance, thus achieving wearability and high sensitivity over a wide area. The T-MXene@MS sensor has a sensitivity of 9.97 kPa -1 in the 5-15 kPa range, a fast response time (180 ms), and good stability at 4000 cycles, enabling accurate monitoring of human movement. The sensor has a rich porous structure while maintaining its inherent flexibility, which allows for long term testing of human respiration as well as the ability to respond quickly to dynamic changes in humidity, demonstrating excellent long-term stability for 40 days of humidity detection.