I'm making a reappearing and disappearing part so i want audio to play when the transparency of the part hits 0 because i want the audio to play only when the part is actually visible, so to sum it up i want the audio to only play when the part is visible (transparency is 0), help is appreciated.

1 comment

0

The best code to use would depend on how you're fading in the part. If you're using TweenService to tween transparency from 1 to 0 for instance, you can connect to the tweens Completed event and play the audio there.