I plan to make something where when you go to a different level it plays different audio and I already have a part that plays audio but not I need to know how to make a part to stop audio playing. If you can tell me how to make a part to make audio stop playing or switch music than either one is fine.
Something like this might work:
local sound = the.directory.to.audio.object function stopaudio() sound:Stop() end script.Parent.Touched:connect(stopaudio)
Closed as Not Constructive by Goulstem, ImageLabel, and NotsoPenguin
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?