Detecting mesh is not working well

238424-

please see this pic(upper). I wanna make wall A changes its mesh when other wall detected.
If L trigger detects a wall, A changes mesh to Wall_Left.
and opposite, R, U know.

and this is the script of Wall BP.

238426-aaad.png

it works so wierd. sometimes it changes, sometimes not. it makes me so confuse.
It is so hard to explzin so I just want U to play this. Im not a man such ■■■■■■■ or hacker, so just plz try it and tell me what I have to do.
u can unzip file named ‘WIndowsNoEditor’. there is an exe file. Like what I said, Im not hacker or something. Im just a stupid kiddo who even cannot make just one script. so dont worry plz.
press B to toggle Building Mode, Press 1 to make floor, Press 2 to make wall(only on a floor). Press E to generate. Press R to rotate by 90 degree.

https://drive.google.com/file/d/1wckgReOdXtwYs8JJ8UBnkCokGQRVnNif/view?usp=sharing