Create a UI with Moon!

Using MoonLIB create an awesome script!

Step #1 | Load LIB and Create a TAB!

local library = loadstring(game:HttpGet('https://raw.githubusercontent.com/jakepscripts/moonlib/main/moonlibv2.lua'))() 
local main = library:CreateWindow("Tutorial", "#19cf83", 9160626035) -- // for the hex i chose green (use google color picker)

main:CreateTab("Home")

Step #2 | Get em buttons.. (+ toggles)

local library = loadstring(game:HttpGet('https://raw.githubusercontent.com/jakepscripts/moonlib/main/moonlibv2.lua'))() 
local main = library:CreateWindow("Tutorial", "#19cf83", 9160626035)

main:CreateTab("Home")

main:CreateLabel("Home", "Label")

main:CreateButton("Home", "Button", "This is a cool popup for a button!", function()
print('btn')
end)

main:CreateToggle("Home", "Toggle", false, function(togglestate)
    print(togglestate)
end)

Step #3 | Sliders, Dropdowns & Keybinds

BONUS: Step #4 | Create More Tabs/Labels

Last updated