Tilt sensor broken, possible fix?,

My guitars tilt sensor has been broke for a long time, activating whenever it feels like it, I want to know the location of it, a possible replacement part, or what I personally want to do is hook up a real pedal to activate it.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0