Which is more efficient for ensuring everything is loaded?

I was looking into making a custom loading screen with replicated first, but which would ensure everything is loaded?


game:IsLoaded()
—Or
game.Workspace:WaitForChildren()
—And so on.

The former just returns if the game is loaded or not, and the latter doesn’t even exist.

I think this is what you want to do.

if not game:IsLoaded() then
    game.Loaded:Wait()
end

If the game isn’t loaded then it will wait to load, then you would continue your code outside of the control block.