Why my Custom Loading screen is not showing?
Asked by
5 years ago Edited 5 years ago
Local script in ReplicatedFirst:
01 | game.ReplicatedFirst:RemoveDefaultLoadingScreen() |
02 | local PlayerGui = game.Players.LocalPlayer:WaitForChild( "PlayerGui" ) |
03 | PlayerGui:SetTopbarTransparency( 0 ) |
04 | local GUI = game.ReplicatedFirst.Loading |
08 | GUI.Frame.BackgroundTransparency = i |
09 | GUI.Frame.TextLabel.TextTransparency = i |
The thing is I still see the default loading screen and when it loads up, I see my loading screen...
I am teleporting players to the private place with:
Teleport:TeleportToPrivateServer(PLACE_ID, code, players,"SpawnLocation","", GUI)
GUI is in both situations ScreenGUI placed in ReplicatedFirst.
Here is a short clip of what is going on.