Documentation
Documentation of MoonLIB.
MOON (library)
local library = loadstring(game:HttpGet('https://raw.githubusercontent.com/jakepscripts/moonlib/main/moonlibv1.lua'))()MoonLIB Window
local main = library:CreateWindow("MoonLIB", "#b36419", 9160626035)CreateWindow("name", "#hexvalue", id)
Creates a MoonLIB Window.
name, hex, id
Creates the Window.
Color of library.
The ICON of the library.
MoonLIB Tab
main:CreateTab("Home")CreateTab("name")
Creates a tab.
name
name
or nil
Create Label
main:CreateLabel("Label", "Home")CreateLabel("name")
Creates a label.
name
name
or nil
A label is only made if available (ex. 1 row with buttons, toggles.. ect.. ect.. then you can place it before or after, if there is not a single button, dropdown, toggle, ect..ect then you can also place it down).
Create Button
main:CreateButton("name", "path")
Creates a button.
name, path
name, path
"Button", "Home"
Create Toggle
main:CreateToggle("name", "path")
Creates a toggle.
name, path
name, path
"Toggle", "Home"
Create Dropdown
main:CreateDropdown("name", "path", {"List"}, function(args)
Creates a dropdown.
name, path, list
name, path, list
"Dropdown", "Home", {"List"}
Create Slider
main:CreateSlider("name", "path", minval, maxval, function(args)
Creates a slider.
name, path, minval, maxval
name, path, minval, maxval
"Slider", "Home", 0, 100
Last updated