Gui Not Dissapearing

Hello! So I am making a loading screen and at the end it is supposed to fade away. However, everything fades away except for one frame. Can someone help? Below I have attached my script. The bottom is where it fades. The frame that wont fade is “BarBackround”


Help1

2 Likes

Delete the loading screen GUI after the tween ends

script:Destroy()

Oh alright that works. Thank you!

It looks kinda weird tho just popping out, is there no way to make it fade with the rest of them?

im guessing you forgot to tween the background of the IMAGE and not the IMAGE itself.
like where you put ImageTransparency include after a BackgroundTransparency
(this also is with textlabels if you have any)
not to mention you need to set the transparency for the UIStroke too because its a diffrent instance.

1 Like

do another tween for the BackgroundTransparency and then play that at the same time as the others

cant u just

script.Parent.BarBackround.Visible = false

?

1 Like

they did something like this however they wanted it to fade with the rest,

Yeah that was it lol, thank you!

no problem im glad to help this situation.