hmm, set the instance variable to a value (I would say seconds) until it should be destroyed. Each second, deduct 1 from the variable for each of the sprites.
For each NPC Sprite, if variable <= 0, destroy it.
EDIT: Example attached
BTW.: To know if you did it correctly it is always a good idea to attach your project file, that we can have a look into it