Hi there!
My issue is this...
The players action executes the script below and all is well, but if the player then quits during one of the "wait" periods, does the script fully execute or not.
It seems that sometimes the rain continues to fall and does not always stop, so Im thinking that it's maybe because the player quits before the script has a chance to signal the rain to stop?
The script below is in workspace and the Rain script is in serverscripts.
Here is a snippet of the code:
Mainsound:Pause()
Cheer:Play()
wait(2)
Happysound:Play()
Happysound.Volume = .3
rain.Disabled = false
Mainsound.Volume = 0
wait(30) **<<<<<<<<<< this is where Im thinking if they quit, does the rest of the script continue or does it end here? **
rain.Disabled = true **<<<<<<< "rain" is a script in serverscripts that executes the rain**
Mainsound:Resume()
Mainsound.Volume = .07
Happysound.Volume = .2
wait(.5)
Mainsound.Volume = .1
Happysound.Volume = .1
thank you for any feedback!

1 comment
I came back to post what I did to fix the issue and I saw your post. I ended up making another script in serverscripts to watch and disable... worked like a charm. Funny thing is the other method actually worked... just not consistently. Anyway thank you guys for the feedback! Issue resolved.