local lib = loadstring(game:HttpGetAsync("https://raw.githubusercontent.com/Lucasfin000/Orbit-UI-Library/main/Library", true))()
local window = lib:Window()
local wind = lib:Window(Color3.fromRGB(gradientcolor1), Color3.fromRGB(gradientcolor2), "Orbit UI Library")
local tab = wind:NewTab("test", "")
tab:Info("test info")
local btn = tab:Button("test button", function()
print("text button")
end)
Button("TEXT", callbackfunc)
tab:Slider("test slider", 1, 100, function(val)
print(val)
end)
Slider:Set(2)
tab:Label("test label")
Label("TEXT")
Slider("TEXT", minimumvalue, maximumvalue, callbackfunc)
Textbox("TEXT", placeholdertext(optional), callbackfunc) -- user needs to press enter for callbackfunc to be fired, a ripple will show when enter is pressed
tab:Paragraph("test paragraph")
Paragraph("TEXT")
tab:Textbox("test textbox", "test placeholder", function(text)
print(text)
end)
lib:Destroy()