local l=script.Parent l.Changed:Connect(function()if l.Parent:IsA("\070\114\097\109\101")then wait(Time_Before_Disappearing)if Fade_Out_Enabled then repeat wait()l.TextTransparency=l.TextTransparency+Fade_Out_Smoothness until l.TextTransparency>=1 wait(Time_Before_Disappearing)l:Destroy()else l:Destroy()end end end)

local txt = script.Parent

txt.Changed:Connect(function()
    if txt.Parent:IsA("Frame") then
        wait(Time_Before_Disappearing)
        if Fade_Out_Enabled then
            repeat
                wait()
                txt.TextTransparency = txt.TextTransparency + Fade_Out_Smoothness
            until txt.TextTransparency >= 1
            wait(Time_Before_Disappearing)
            txt:Destroy()
        else
            txt:Destroy()
        end
    end
end)
