I just realized I could have just used a crossfader for fading in and out... I feel extremely silly now.