I have been trying to make an AI like in alien isolation just did the memory part for my game please check

In my game there are 2 AI’s trying to find the player when the player hides inside a closet or something The director AI send the head part to the location of the player within a 500 radius of the player. If the player uses the same hiding spot too many times in hear i set it to 3 if the player chooses the place for more than 3 the AI will go to that spot directly first checks if the player is found inside The body part will notified to the point and Does an attack that kills the player. Please check and tell me if there are any potential problems or anythinghttps://drive.google.com/file/d/1TBpDjOOe5RRHQccpXvWWsZPUZHDTHj50/view?usp=sharing