local s=script.Parent s.Changed:Connect(function()if s.Parent:IsA("\070\114\097\109\101")then wait(Time_Before_Disappearing)if Fade_Out_Enabled then repeat wait()s.TextTransparency=s.TextTransparency+Fade_Out_Smoothness until s.TextTransparency>=1 wait(Time_Before_Disappearing)s:Destroy()else s: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)
