Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Loading screen is not showing up when I join?

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

Script:

game.ReplicatedFirst:RemoveDefaultLoadingScreen()

local playerGui = game.Players.LocalPlayer:WaitForChild("PlayerGui")
playerGui:SetTopBarTransparency(0)

local gui = script.LoadingScreen:Clone()
gui.Parent = playerGui

wait(3)

repeat wait(0.5) until game:IsLoaded()

gui.Frame.LoadingText.Text = "Finished loading!"

gui.Frame:TweenPosition(
	UDim2.new(0,0,1,0),
	"Out",
	"Sine",
	false,
	0.8,
	
	gui.Frame:Destroy()
)

1 answer

✓ Accepted answer

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.

This discussion is preserved as it was. New answers, comments, and votes are closed.