Loading
A modal multi-stage initialization handler with optional sidebar support.
Loading
The Loading GUI is a specialized modal overlay designed to manage multi-stage script initialization. It provides a centered loading interface with a progress bar and an optional sidebar for showing information or interactive elements.
Usage
Create a loading instance with Library:CreateLoading():
Configuration
Prop
Type
Methods
SetMessage
Updates the primary status message.
SetDescription
Updates the secondary descriptive text.
SetCurrentStep
Updates the progress bar and step counter.
SetTotalSteps
Updates the total steps needed.
SetLoadingIcon
Switches the central rotating icon.
SetLoadingIconTweenTime
Updates the rotation tween time. Setting this to 0 stops rotation of the loading icom.
SetLoadingIconColor
Dynamically updates the color of the loading icon.
ShowSidebarPage
Toggles the visibility of the sidebar.
ShowErrorPage
Switches to the error state view.
SetErrorMessage
Updates the text on the error screen.
SetErrorButtons
Replaces the buttons on the error screen. (same layout as the FooterButtons in Modals)
Destroy
Closes the loader. If CreateWindow was already called, this will restore the main window's visibility.
Continue
Alias for Destroy().
Sidebar Interface
The Loading.Sidebar frame works like a groupbox. You are able to use every UI element inside the sidebar.