There are infinitely many possibilities but what I would do is have a message sent to the source entity upon right click or have a custom gui open for the player with buttons which would also allow for back and forth dialogue between the player and npc.
i figured it out thanks for nothing :)
There are infinitely many possibilities but what I would do is have a message sent to the source entity upon right click or have a custom gui open for the player with buttons which would also allow for back and forth dialogue between the player and npc.