Skip to content
English

ProgressBar Client Side Only

A UI progressbar that allows you to display brogress bars/circles within your scripts!

API Docs

Initiate the progress bar globally

lua
progressbar = exports["feather-progressbar"]:initiate()
progressbar = exports["feather-progressbar"]:initiate()

Start your progress UI

lua
progressbar.start(message, time, callback, theme)
progressbar.start(message, time, callback, theme)

Input Parameters

InputInfo
messageWhat you want the progress to display
timehow long the progress should display (in milliseconds)
callbackfunction that will get called when the progress is done
themeWhat you want the progress bar/circle to look like

Theme Options

OptionInfo
linearShows a linear progress flat bar
circleShows a circle progress bar
innercircleShows a circle progress bar with a seconds countdown in the middle

Example:

lua
progressbar.start("Loading Linear Example", 20000, function ()
    print('DONE!!!!')
end, 'linear')

--or

progressbar.start('Loading Circle Example...', 20000, function ()
    print('DONE!!!!')
end)
progressbar.start("Loading Linear Example", 20000, function ()
    print('DONE!!!!')
end, 'linear')

--or

progressbar.start('Loading Circle Example...', 20000, function ()
    print('DONE!!!!')
end)