This utility allows you to create loading spinners in the developer console with a custom icon and color.

Prerequisite You should have a executor that supports accessing CoreGui.

API

Simple Usage

the custom_console_progressbar takes in the following arguments:

message
String
required

The message that is going to be printed (concatinated with the progress bar)

Examples

progressbar_message_arg.lua
local console = loadstring(game:HttpGet("https://raw.githubusercontent.com/notpoiu/Scripts/main/utils/console/main.lua"))()

local message = console.custom_console_progressbar("[MSHUB]: Authenticating...")

Advanced Usage

HOWEVER, it is possible to use a table as args and get more control. You can use a table with the following fields:

msg
String
required

The message that is going to be printed (concatinated with the progress bar)

img
String

The image that is going to be displayed as the icon. Defaults to ""

clr
Color3

The color of the message, Defaults to Color3.fromRGB(255, 255, 255)

length
Number

The maximum length of the progress bar, Defaults to 10

Examples

progressbar_table_args.lua
local console = loadstring(game:HttpGet("https://raw.githubusercontent.com/notpoiu/Scripts/main/utils/console/main.lua"))()

local message = console.custom_console_progressbar({
    msg = "[MSHUB]: Authenticating...",
    img = "",
    clr = Color3.fromRGB(255, 0, 0),
    length = 10
})

Progressbar Manipulation

the custom_console_progressbar function returns a table with the following fields:

message.update_message_with_progress
function
message.update_progress
function
message.update_message
function

Examples

local console = loadstring(game:HttpGet("https://raw.githubusercontent.com/notpoiu/Scripts/main/utils/console/main.lua"))()
local message = console.custom_console_progressbar("[MSHUB]: Authenticating...")

for i = 1, 10 do
    message.update_progress(i)
    task.wait(.05)
end

message.update_message("[MSHUB]: Authenticated!", "rbxasset://textures/AudioDiscovery/done.png", Color3.fromRGB(51, 255, 85))