How to "cast to" a specific npc that is duplicated

any idea how to set that up?