Play an audio/sound at the beginning then have it gradually fade away.
wait(3)
game.Workspace.Sound:Play()
That is all I have
Play an audio/sound at the beginning then have it gradually fade away.
wait(3)
game.Workspace.Sound:Play()
That is all I have
What you can use is a for loop with the volume:
wait(3)
game.Workspace.Sound:Play()
wait(timeyouwantittoplaynormally)
for i = 1,100 do
wait(0.1) --Fades away taking 10 seconds
game.Workspace.Sound.Volume = 1- (i/100)
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
6 comments
It just stops it abruptly. :I
Try it now.
Same thing happens, I was watching the sound and the volume goes up then it goes to zero.
Oops, here try it now.
Works perfect, thanks! After looking over it it makes some sense, I learned something :D
Good!