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

How do you detect if a loading screen is done?

Asked by 5 years ago

How do you detect if a loading screen is done?

1 answer

Log in to vote
1
Answered by
pwx 1581 Moderation Voter
5 years ago

It certainly depends on how you've designed your loading screen (assuming you mean a custom one).

A lot of people like to use ContentProvider to preload their assets. You can read up on it here: https://developer.roblox.com/en-us/api-reference/class/ContentProvider

1
^ Most of the time, the only thing you want to preload is your IntroUIs. pwx 1581 — 5y
1
Alternatively, in CoreGui there is a ScreenGui named ‘RobloxLoadingGui’, and inside it is a frame called ‘BlackFrame’. When the loading GUI is finished, the contents of the ScreenGui are deleted, so you could listen for that. pwx 1581 — 5y
1
^ But I would definitely recommend ContentProvider over the CoreGui method. pwx 1581 — 5y
0
Thanks AndriusTheGreat 140 — 5y
Ad

Answer this question