I really want to fade my audio smoothly but i dont know how. Any help?
As XXahraternotXX said in the comments, use a for loop to loop the audio volume down.
Here's an example,
01 | local sound = script.Parent |
02 | sound.Volume = 1 |
03 | sound:Play() |
04 |
05 | for i = 1 , 0 ,- 0.03 do |
06 | wait() |
07 | sound.Volume = i |
08 | end |
09 |
10 | sound:Stop() |
To make it fade faster or slower, change the number at the end of the i = thing. I used 0.03.