Playing sound with tween service

I have script that plays sounds with tween service. The problem is that is never actually plays the sound. Its supposed to fade in, but it never does. I need help with this. When I try to play the sound without tween service, it works perfectly fine.

local Sounds = game.Workspace:WaitForChild("Sounds")

local roundOverSounds = Sounds.RoundOver:GetChildren()

local overSound = roundOverSounds[math.random(1, #roundOverSounds)]
soundUpTween = TweenService:Create(overSound, TweenInfo.new(1), {Volume = 2})
soundUpTween:Play()
		

other script context is not that important.

You need to run Sound:Play() for the sounds to start playing. You can also condense the tween onto one line and eliminate the variable.

TweenService:Create(overSound, TweenInfo.new(1), {Volume = 2}):Play()
8 Likes