This post further documents the development of the Whisper enemies
Bug Fixing

More specifically, this bug would occur for one second after the player had killed the Whisper enemy, as the Whisper gameobject was coded to wait 1 second to be destroyed once it was killed, this was in anticipation for a death animation in the future. However, during this time the Whisper was still able to move and shoot although it should have been dead
In order to fix this, I created an isDead bool that is set to true whenever its health is less than or equal to zero. The Whisper would then be unable to move and shoot while the isDead bool was set to true, allowing the gameobject to stay active during the death animation (when it gets made) while preventing it from making any more actions.

Text highlighted in red shows parts of the script that were removed, Text highlighted in green shows parts of the script that were added.