Element Object Options
Toggle Options
default
boolean
The default state of the toggle
Toggle Signals
onToggleChange
boolean
Fires when the toggles state is changed with the first arg being the state
Dropdown Options
no_none
boolean
Whether or not one option must be selected at all times
default
table
A table containing the default selected options
multi
boolean
Whether or not you are able to select multiple options
Dropdown Signals
onDropdownChange
table
Fires when the dropdowns options selection changes the first arg being a table of the currently selected options
Slider Options
decimal
integer
The amount of decimals in the value allowed on the slider
default
integer
The default value of the slider
prefix
string
Text that is displayed before the value on the slider
suffix
string
Text that is displayed after the value on the slider
max
integer
The maximum value allowed on the slider
min
integer
The minimum value allowed on the slider
Slider Signals
onSliderChange
integer
Fires when the slider's value is changed with the first arg being the value
Colorpicker Options
default_transparency
integer
The default transparency of the colorpicker
default
color3
The default color of the colorpicker
Colorpicker Signals
onColorChange
color3, integer
Fires when the colorpicker's color or transparency is changed with the first arg being the color and second being the transparency
Button Options
callback
function
The function that is ran upon clicking the button
Keybind Options
method_locked
boolean
Whether or not to allow changing the keybind method
method
integer
The default keybind method (1, 2 or 3)
key
Enum.KeyCode
The default key for the keybind
Keybind Signals
onActiveChange
boolean
Fires when the keybind is activated or deactivated
Multibox Options
search
boolean
Whether or not the search bar is visible and usable
max
integer
The maximum amount of options allowed to display before becoming scrollable
Multibox Signals
onSelectionChange
string
Fires when the selected option in the multibox is changed with the first argument being the option
Last updated