I have a ModuleScript that takes a sound, plays it, then waits for it to end, then deletes it. But when I actually use it, the modulescript causes pausing all over the script that's calling it. How do you avoid this? I want to have the script run all the way through without a pause in the middle of it from the ModuleScript but I don't know how
You can use coroutines. Spawn is the one I generally use. If anyone has a better answer please comment to me down below because I would love to know it. Hope this helps and have a great day scripting!