i need help the last part does not work i want it to turn smoothely off
01 | sound = script.Parent |
02 |
03 | while true do |
04 | wait( 14 ) |
05 | sound:Play() |
06 | wait( 14 ) |
07 | script.Parent.Volume = 0 , 4 |
08 | wait( 1 ) |
09 | script.Parent.Volume = 0 , 3 |
10 | wait( 1 ) |
11 | script.Parent.Volume = 0 , 2 |
12 | wait( 1 ) |
13 | script.Parent.Volume = 0 , 1 |
14 | wait( 1 ) |
15 | sound:Stop() |
16 | end |
You have to change 0,4 to 0.4
01 | sound = script.Parent |
02 |
03 | while true do |
04 | wait( 14 ) |
05 | sound:Play() |
06 | wait( 14 ) |
07 | script.Parent.Volume = 0.4 |
08 | wait( 1 ) |
09 | script.Parent.Volume = 0.3 |
10 | wait( 1 ) |
11 | script.Parent.Volume = 0.2 |
12 | wait( 1 ) |
13 | script.Parent.Volume = 0.1 |
14 | wait( 1 ) |
15 | sound:Stop() |
16 | end |