Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ok so i got bored of using kavo ui lib (i will admit its pretty good) but it doesnt fit my style, even with the options of coloring at the end
- -- so i made my own and its kinda worse but at least it functions (i will do the slider later because its the hardest function to fit in)
- -- this is an example
- getgenv().deletewhendupefound = true -- if it detects another ui, it will delete that
- getgenv().bgcolor = Color3.fromRGB(60,60,60) -- background color
- local lib = loadstring(game:HttpGet("https://pastebin.com/raw/A2Wf3WVh"))()
- lib.makelib("TITLE NAME HERE")
- local EXAMPLETAB = lib.maketab("TAB NAME HERE")
- local LABEL = lib.makelabel("LABEL TEXT HERE",EXAMPLETAB)
- lib.updatelabel("LABEL TEXT HERE2",LABEL)
- function BUTTONFUNC()
- print("EXECUTED")
- end
- lib.makebutton("BUTTON TEXT HERE",EXAMPLETAB,BUTTONFUNC)
- function TEXTBOXFUNC(TEXT)
- print(TEXT)
- end
- lib.maketextbox("TEXT BOX NAME HERE",EXAMPLETAB,TEXTBOXFUNC)
- function TOGGLEFUNC(BOOL)
- print(BOOL)
- end
- lib.maketoggle("TOGGLE TEXT HERE",EXAMPLETAB,TOGGLEFUNC)
- function DROPDOWNFUNC(WHATEVERYOUSELECTED)
- print(WHATEVERYOUSELECTED)
- end
- local DROPDOWN = lib.makedropdown("DROPDOWN NAME HERE",EXAMPLETAB,{"LIST STUFF","LIST STUFF"},DROPDOWNFUNC)
- lib.updatedropdown(DROPDOWN,{"LIST STUFF AGAIN","LIST STUFF AGAIN2"})
- --[[ tip; you can also do it like this:
- lib.makebutton("BUTTON TEXT HERE",EXAMPLETAB,function()
- print("EXECUTED")
- end)
- ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement