How to make one specific npc play a animation help

So I’ve been tryna recreate the Sims npc interactions on roblox but idk how to make this one work
What I’m tryna make is you click on the npc some options come up like chat,insult etc
Here’s what I’m tryna make
https://gyazo.com/34a1d1307f3d420a142d43632a55eee7

See u click on a option you and the npc your talking too plays some animation
But how do I do that? I tried using distance but if theres another npc close by the npc also plays the animation.
I need help

Your whole concept is wrong then. You don’t use distance for that, you should use it to check whether you can communicate with the NPC to begin with, the NPC’s character should then be stored in a variable and animations played when they are required.