So i tried using a simple and easy method:
trackl:Play() wait (15) --how long to wait until it needs to fade out trackl.Volume=0.9 wait(.3) mosik.Volume=0.8 wait(.3)
and so on... but because im using wait it pauses everything in the scripya know..
is there a way to do it without making everything in the script wait?
Yes there is and the simplest way would be to use Spawn usage example here.
Example only:-
1 | spawn( function () |
2 | trackl:Play() |
3 | wait ( 15 ) |
4 | trackl.Volume = 0.9 |
5 | wait(. 3 ) |
6 | mosik.Volume = 0.8 |
7 | wait(. 3 ) |
8 | end ) |
I hope this helps.