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

Player breifly seeing game before GUIs appear (?)

Asked by 7 years ago

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

Log in to vote
0
Answered by
RubenKan 3615 Moderation Voter Administrator Community Moderator
7 years ago

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.

Ad

Answer this question