@uros76
i forget to mention i already changed the pin, i first tried pin 7 before
according to pinout.xyz my pin 11 is gpio 17
GPIO 17: level=0 fsel=0 func=INPUT
thank you very much for helping me, i dont have a multi meter but ill ask my father to do that. u think its not the sensor sending the signal? maybe it picks up something with the wire along the way? i dont have a engineering background.