Skip to content

RubberDucky778/Rubber-Ducky-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

38 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Hi welcome to my Rubber Ducky Library its still in development

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 ๐Ÿค‘๐Ÿค‘๐Ÿ˜Š๐ŸŒ

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages