I have seen games that have loading screens that wait for the game to load then you can play. But I searched up tutorials on youtube and all their loading screens were just to make the game look nicer.. How do you make an actual loading screen that waits for the game to load?
How do I make a loading screen that ACTUALLY waits for the game to load?
3 answers
For those who are looking at this now, you can use game:IsLoaded() to check if the game is loaded. Use a loop to delay until finished loading.
1 comment
You could. It wouldn't be the best, as it wouldn't show the amount of assets loaded or show a progress bar, but it'd work
Use a wait for child like this
game:WaitForChild(putwhateveryouarewaitingtoladhere)
--remove the gui here
You can use multiple wfc if you want to be sure, or you can wait for the thing that takes the longest to load. If it's directly in the workspace do
Workspace:WaitForChild(putithere)
otherwise, make a variable and use that like this
local a = game.Workspace.Agrouporsomething
a:WaitForChild(somethinginsidethegrouporhwatever)
If you have any more questions, feel free to ask me!
2 comments
If your gonna do this, just copy the table of game:GetDescendants if you wanna do this method which is really inconvenient.
You could just do
Answer i guess: Don't. Roblox loads up servers extremely fast. The loading screen would only be up for a couple seconds, if that. If you really wanted to, though, you could have it display the assets loaded as a loading bar, and have the assets be the total amount of assets in the game. You could use :WaitForChild(part name here inside "") and wait for every asset of the game, and have the loaded assets increase for every asset :WaitForChild has waited for.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
This is not a request site :3
If you were to make one, (To make a true loading screen and not a fake like alot of games on roblox do) it'd be a very quick loading screen I presume due to the fact Roblox loads extremely quickly, once connected to a server. You would need to make each part render at a time for that to make a loading screen lokk relaistic and work realistically.
Here's a Tutorial on Roblox's website that waits for image and sound assets to load. http://wiki.roblox.com/index.php?title=Custom_loading_screen Some of the image and sound assets are kind of weird loading up now due to a Roblox Update, check this post. https://devforum.roblox.com/t/contentprovider-preloadasync-and-preload-update/49069
Why not use http://wiki.roblox.com/index.php?title=API:Class/DataModel/Loaded