Add sound to my dialogue with type writing effect?

Hello, well, in my game when talking to an NPC it shows a text box with what it has to say accompanied by 2 options and with a type writing effect, but I want to add a small detail and that is that when the letters are passed they make a sound. The dialog interaction works with a ModuleScript in ReplicatedStorage that creates the dialog, A gui in StarterGui that is the Text box and a script inside the npc that makes the NPC say and answer you something different also an attachment that inside contains the Proximity Prompt with which you interact (I explain this so you can see how the dialog is built and works) so would there be a way to do this?

2 Likes

Let me see your script please. I might answer pretty late by the way.

Insert a sound into the module script and have the sound play for every character that is “typed”.

I already figured out how to do it thanks anyway