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

Player breifly seeing game before GUIs appear (?)

How would I fix players breifly seeing the game before the GUIs appear? I am making a loading screen, and loading screen transitions between games.

For the game transitions I used:

game:GetService('TeleportService'):Teleport(814847290, game.Players.LocalPlayer, {}, transitionFrame.Parent)

I want the game to not appear breifly when loading into a new place and when loading into the start place. I have no idea really how to fix it and when I read the wiki I saw this message

There is a small delay when waiting for the PlayerGui. If you hide the default loading screen before you wait for the PlayerGui to load the game will be visible for a brief moment. It is recommended to wait for the PlayerGui to load first, insert the initial screen you want to display, and then hide the default loading GUI.

I don't really understand what this means

1 answer

Put a loading gui inside of ReplicatedFirst. This service clones it's children into the player before the roblox window even appears, thus allowing you to create a loading screen while roblox get's everything up and running.

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