Play screen fading not disappearing

I was trying to make this loading screen but the black screen was supposed to go away, and I got this error


This is the line where it says that there is some error

tween = game.TweenService:Create(gui.Fade, TweenInfo.new(1.5, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {["backgroundTransparency"] = 1})

‘Fade’ in this is a Frame
image

So does anyone knows what’s the error and how to fix it?

1 Like

The B in ‘Background’ is supposed to be capitialized
"BackgroundTransparency’

3 Likes

I did that it worked but I am facing another problem that after it shows the normal screen it disappears the tool and the leaderstats like this:


The leaderstats that shows the strength and the tool is missing, is any command doing any thing?

1 Like

maybe after that line of code, add
game:GetService(“StarterGui”):SetCoreGuiEnabled(“Chat”,true)

and do that with all of the coreguis that may be missing
https://developer.roblox.com/en-us/api-reference/function/StarterGui/SetCoreGuiEnabled

if it didnt work i recommend using
repeat
fade.BackgroundTransparency += 0.1
wait() – dont remove or you will crash, you can make it higher that will make it slower
until fade.BackgroundTransparency == 1

1 Like

In which line of code? at the end?

at the end of the code 30 ch ars

ignore 30 ch ars it was just bc the characters were too short

1 Like

You mean over here? At this line will it work
image

1 Like

just at the end of the code alright? if its not at the end of the code 90% will not work

2 Likes

Is this all correct, because it is returning a red line under Fade
image

turn the fade into the path of the fade u used earlier

replace the fade with gui.Fade

yes, just do it and it will be fixed

1 Like

Nope it disappears again so what do you think is a problem in the code could these lines be doing this?

1 Like

i think it was supposed to reenable them so u ca see it again

1 Like

What do you mean I did not understand can you please repeat it

nvm, its the transparency, anyway where is the fade gui located

But what should I do to fix it? any commands to fix it

1 Like

did you try the repeat thing because currently youre showing the tweenservice one

1 Like

Yep this one right?
image

yeah, did you try it? 30 ch ars

1 Like

You can use this line of script

game.StarterGui:SetCoreGuiEnabled("PlayerList", true)

to enable the playerlist(Leaderstats).

1 Like