how to kill an enemy

when i shoot my enemy i want it to dissapear. ive already tried using the characterdamage script which the fps tutorial says to use but it dosent work, so can anyone tell me if there's any other way of doing this?

Well this depends on a lot of factors in your game. Such as what are you using to kill the enemy? If you are using a gun, then you need to send negative hitpoints from you gun, to your enemy. And in your enemy you want something like this:

if (hitpoints <= 0){
Destroy(gameObject);
}

The FPS destroy emeny should work, but you havnt given me a lot of info to work from. Its your gun that sends the enemy negative hitpoints.