Im having trouble with this, I need it to a frame to become invisible when a song starts to play and when the song stops playing
function onChanged(IsPlaying)
if script.Parent.ScrollingFrame.Sound.IsPlaying==true
then script.Parent.ScrollingFrame.Visible = false
elseif script.Parent.ScrollingFrame.Sound.IsPaused==true
then script.Parent.ScrollingFrame.Visible = true
end
end
script.Parent.ScrollingFrame.Sound.IsPlaying.Changed:connect(onChanged)
