local TweenService = game:GetService("TweenService")
local Frame = script.Parent.Frame
local DurationTransparency = 1 -- Seconds
TweenService:Create(Frame, TweenInfo.new(DurationTransparency), { BackgroundTransparency = 0 }):Play() -- BackgroundTransparency Property you want to disappear or appear = 0 ] - The number goes up to the one you put
--[[
If you put your frame in 0 De Transparency and put 1 instead of 0 it will do the time you put in TweenInfo(--Seconds), until it goes to 0
]]