#TweenTransparency help

1 messages · Page 1 of 1 (latest)

hoary wasp
#

can someone help me make the script so the objects have a fading animation instead of just vanishing ?
heres my full script



local Background = script.Parent:WaitForChild("Background")
local Bar = script.Parent:WaitForChild("Background").Bar
local LoadBar = script.Parent:WaitForChild("Background").Bar.LoadBar
local GameTitle = script.Parent:WaitForChild("Background").GameImage
local Description = script.Parent:WaitForChild("Background").Description
local LoadTime = 3


Background.Visible = true

wait(0.01)


Description.Text = script.Parent.LoadingBarDescription.Value




--Load
LoadBar:TweenSize(UDim2.new(0.99, 0, 0.9, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, LoadTime)
wait(LoadTime)
wait(1)
LoadBar.Transparency = 1
Bar.Transparency = 1
Description.Transparency = 1
GameTitle.Visible = false
Blur.Enabled = true

while Background.Transparency <1 do
    Background.Transparency = Background.Transparency +0.1
    wait(0.001)
end
vivid sundial
#

tweenservice