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.
COMMUNITY QUESTION
How do I make a audio switcher part?
1 answer
Something like this might work:
local sound = the.directory.to.audio.object
function stopaudio()
sound:Stop()
end
script.Parent.Touched:connect(stopaudio)
This discussion is preserved as it was. New answers, comments, and votes are closed.
