Spawn KillPlayer object on key press

how would i go about spawning a killzone volume or any “killplayer” object at a location on key press? i have my animations and particle effects set up as my magic, but i dont know how to actually kill the AI character by using that key press animation. thanks!!!