Adding and killing npc functionality