please delete this question
1/ Create a List containing all your AI’s.
2/ Create a function in the AI script that iterates through the list and removes the AI when it's dead.
3/ Create the function to enable the gameobject (if(AI.Count = 0){ gameObject.SetActive(true);})
Hope this helps!