Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Loading screen is not showing up when I join?

Asked by
CodeWon 181
3 years ago

I tried making a loading screen and it does not work.

Script:

01game.ReplicatedFirst:RemoveDefaultLoadingScreen()
02 
03local playerGui = game.Players.LocalPlayer:WaitForChild("PlayerGui")
04playerGui:SetTopBarTransparency(0)
05 
06local gui = script.LoadingScreen:Clone()
07gui.Parent = playerGui
08 
09wait(3)
10 
11repeat wait(0.5) until game:IsLoaded()
12 
13gui.Frame.LoadingText.Text = "Finished loading!"
14 
15gui.Frame:TweenPosition(
View all 23 lines...

1 answer

Log in to vote
1
Answered by 3 years ago

SetTopBarTransparency is not a valid member of PlayerGui "Players.[PLR_NAME].PlayerGui" You should get rid of this line, the roblox doesn't support it anymore, you probably watched some outdated videos. It clearly says in a big red box here. Just try removing a line with this code. If you didn't knew, there was an actual topbar ui made by roblox, now it's gone.

Ad

Answer this question