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
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
regexman
(reg)
October 11, 2021, 1:42pm
#4
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?
regexman
(reg)
October 11, 2021, 1:44pm
#6
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
1 Like
regexman
(reg)
October 11, 2021, 1:46pm
#8
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
regexman
(reg)
October 11, 2021, 1:52pm
#10
turn the fade into the path of the fade u used earlier
replace the fade with gui.Fade
regexman
(reg)
October 11, 2021, 1:53pm
#12
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
regexman
(reg)
October 11, 2021, 1:57pm
#14
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
regexman
(reg)
October 11, 2021, 1:58pm
#16
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
regexman
(reg)
October 11, 2021, 2:00pm
#18
did you try the repeat thing because currently youre showing the tweenservice one
1 Like
regexman
(reg)
October 11, 2021, 2:01pm
#20
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