Need help with AI chasing the player

I am working on a project and having trouble with the AI. Because the person who was doing the coding left a while ago, the other people and I who are working on this project are going through and recoding everything, as we are not coders and he had his own way of coding in C++. So we are trying to remake the code in Blueprints, but we have been running into some issues.

The game has an enemy spotting system where, when the enemy fully spots a player, it chases after them. But the problem is that it isn’t chasing the player. I have been following tutorials and videos to create the code. But despite copying the code from the videos, the AI doesn’t chase the player and doesn’t go into the state tree like it is supposed to. But if the AI takes damage, it works properly. Does anyone have any ideas about what could be the problem? I am at my wits’ end trying to fix this.