heres an guide:
booting up the library:
local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/RubberDucky778/Rubber-Ducky-Library/refs/heads/main/ui.lua"))()Great after that lets create an window of course!
local Window = Library.CreateLib("YourTittle", "DeafultTheme")if you want themes there are: DarkTheme LightTheme BlueTheme GreenTheme RedTheme you can always create your own by modifying the sorce code
Creating an tab:
local Tab1 = Window:NewTab("Tab1")creating an button:
local Button1 = Tab1:CreateButton({
Name = "Button Example 1",
Callback = function()
print("Button Example 1 Pressed")
end,
})Creating an slider I put an walkspeed Example:
local WalkSpeedSlider = Tab1:CreateSlider({
Name = "WalkSpeed",
Min = 16,
Max = 100,
Default = 16,
Callback = function(value)
print("WalkSpeed set to", value)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = value
end,
})Creating an label:
local Label1 = Tab1:CreateLabel({
Name = "Label Example",
Text = "This is a label example",
})Creating an toggle:
local Toggle1 = Tab1:CreateToggle({
Name = "Toggle Example",
Callback = function(state)
if state then
print("Toggle is On")
else
print("Toggle is Off")
end
end,
})Creating an textbox:
local TextBox1 = Tab1:CreateTextBox({
Name = "TextBox Example",
Default = "Type here...",
Callback = function(text)
print("TextBox content:", text)
end,
})The end bye ๐ค๐ค๐๐