How should I go about scripting an npc that responds to insults?

Hey, I don’t know how I should script an npc that responds to insults such as no you etc.

I don’t feel like writing a table full of insults and replies since that would be super boring and repetitive.

Otherwise I’m not sure how I should do this.

1 Like

Use the player chatted event. Then with the first parameter, string.match or string.find a phrase or word in it. You def gotta write a list of insults, or you could just copy and paste em from somewhere idk that’s on you.