Title Screen Music

I have a title screen already, and the music stops as soon as the play button is pressed. Instead I want the music to fade out when play is pressed. I also might want to make it so the gui and blur also have a fade out, but for now all I want to know how to do is to get the music to fade out instead of instantly stopping. I’ve seen people talk about tweening, but I have 0 clue how to use it or implement it into my script. Here is the script I’m currently using.
image

local TweenService = game:GetService("TweenService")
local t = TweenService:Create(game.SoundService.MenuMusic, TweenInfo.new(1), {Volume = 0})
t:Play()

just change TweenInfo.new(1) to how long you want it to take to fade.

1 Like