how do i get music to stop when my intro stops? i put music in my intro and when my intro fades out my music is still playing
I think this should work, make sure it's a local script so no one else hears the sound or it doesn't stop pre maturely for others.
local sound = game.Workspace.Sound --defines your sound, change it. local volume = sound.Volume local intro = true --turn to false when intro is done sound:Play() -- intro intro = false while intro do wait() end for i=0,sound.Volume,0.25 do sound.Volume = i wait(.75) end wait(volume) sound:Stop()
Closed as Not Constructive by hiimgoodpack, creeperhunter76, and Andorks
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?