Create a working GUI with MoonLIB!

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/moonlibv1.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/moonlibv1.lua'))() 
local main = library:CreateWindow("Tutorial", "#19cf83", 9160626035)

main:CreateTab("Home")

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

main:CreateButton("Button", "Home", function()
print('btn')
end)

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

Step #3 | Sliders & Dropdowns

BONUS: Step #4 | Create More Tabs/Labels

Last updated