Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getUi(color, property)
- color <boolean> -> return screengui containing all ui objects
- color <color3>
- property <string> -> return ui objects with the same property that matches color
- return -> { object <guiobject> }
- property <boolean> -> return ui objects and it's property that matches color
- return -> { object <guiobject>, properities <table> }
- getConfigs()
- return -> table of customizable properities
- load(name, key)
- name <string> -> name of the screengui
- key <string> -> whitelist key
- swap(side)
- side <boolean> -> shift ui side
- true -> left
- false -> right
- toggle(value)
- value <boolean> -> toggle the ui
- true -> shows ui
- false -> hide ui
- promptNotify(text, option1, option2, callback)
- text <string> -> text to notify
- option1 <string> -> text for button1
- option2 <string> -> text for button2
- callback <function> function to call when either button is clicked
- return (option)
- option <string> text of button clicked
- addMenu(name)
- name <string> -> name of menu
- addButton(text, callback)
- text <string> -> text for button
- callback <function> -> function to call when button is clicked
- return (set)
- set <function> (text)
- text <string> -> new text for button
- return -> button
- addDropdown(text, placeholder, list, callback)
- text <string> -> default text for the searchbox
- placeholder <string> -> placeholder for the dropdown searchbox
- list <string> -> list of values to display
- callback <function> -> function to call when a dropdown button is clicked
- return (text, set)
- text <string> -> text of button
- set <function> (list)
- list <table> -> new list of values to display
- return -> dropdown
- addInput(text, default, callback)
- text <string> -> text for input
- default <string> -> text for textbox
- callback <function> -> function to call when focus is lost
- return (text, set)
- text <string> -> text of textbox
- set <function> (text)
- text <string> -> text for textbox
- return -> textbox
- addToggle(text, default, callback)
- text <string> -> text for toggle
- default <boolean> -> default value for toggle
- callback <function> -> function to call when toggle is changed
- return -> (value, set)
- value <boolean> -> toggled
- set <function> (value)
- value <boolean> -> toggled
- return -> toggle
- addSlider(text, default, min, max, callback)
- text <string> -> text for slider
- default <number> -> default value for slider
- min <number> -> minimum value of slider range
- max <number> -> maximum value of slider range
- callback <function> -> function to call when slider is changed
- return (value, set)
- value <number> -> value of the slider
- set <function> (value)
- value <number> -> new value for slider
- return -> slider
- addKeyBind(text, default, bind, callback)
- text <string> -> text for bind
- default <keycode> -> default key for bind
- bind <function> -> function to call when key is pressed
- callback <function> -> function to call when bind is changed
- return -> (key, set)
- key <keycode> - new key binded
- set <function> (key)
- key <keycode> -> new key to bind
- return -> keybind
- addColorPicker(text, default, callback)
- text <string> -> text for picker
- default <color3> -> default color for picker
- callback <function> -> function to call when color is changed
- return -> (color, set)
- color <color3> -> new color picked
- set <function> (color)
- color <color3> -> new color for picker
- return - colorpicker
Add Comment
Please, Sign In to add comment