#Adding sound to an NPC dialogue

4 messages · Page 1 of 1 (latest)

hearty raftBOT
#

studio** You are now Level 2! **studio

distant lantern
#

I want to add a unique sounds to each of my NPCS that plays when the text is typing itself out; think Animal Crossing, Roblox story games, or Undertale. I'm not sure how to go about this since the base local script is in the Start GUI, and uses mod scripts in the different NPCS so each of their dialogue is separate.

#

Just need a starting point so I can problem solve my way from there. I know how to play sounds, but how do I have it play sounds in the mod scripts every time it types text, and have it play different sounds for each npc?
Last screenshot is an example of the mod script in the different NPCS.
Sorry this is lengthy, I don't use this server often and it always makes me intimidated ..lmao. Disclaimer, I'm using a pre-existing script and building off of it to help me learn and observe what's going on. I'm VERY new to scripting, and perhaps a little too ambitious for my own good.