After the Ai loses health how do i make them disappear?

Can you not just destroy it?