You wouldn't want me to post the whole script, but I don't believe there are any errors in variables. I am trying to fade the music out using renderstepped (since using wait()s would delay the whole script) but it only goes down one increment. Any help? And If you want me to post the whole code I can. It's over 200 lines so I think I may just want to put it into an external site.
runservice:BindToRenderStep("IntroMusicFade", Enum.RenderPriority.Camera.Value, function()
if intromusic.Volume > 0.01 then
intromusic.Volume = intromusic.Volume - 0.01
elseif intromusic.Volume == 0 then
runservice:UnbindFromRenderStep("IntroMusicFade")
end
end)
by the end of the script the intromusic.Volume is only 0.49, set from a previous function which faded it in using renderstepped (which worked)

4 comments
Is it possible there's another script that's increasing the volume at the same time?
There is not. I've checked
If you want I can link to the whole code
Have you done debugging to see when the script stops? e.g., print("Stop", intromusic.Volume) in the
elseif?