Custom event gets executed by branch even conditions are not right?

Hey, I made a code to let my ai execute a custom event when looked at his face. But it’s not working, after starting my game, the event gets executed automatically, I tried to work with prints to find why it’s like that, but my prints working perfectly fine.

here is the code (the code is disabled because I’m using the old code right now, to have at least something)