Booting the Library

Load the library directly from the source using `loadstring`. This is the first step in your script.

LUA
local ProXLib = loadstring(game:HttpGet("https://gist.githubusercontent.com/ProXSC/d352bbdd0555640ad41c1ba46ae549b4/raw/ProXLibrary"))()

Configuration

Configure essential settings like your unique Hub ID before creating the window.

LUA
ProXLib.BotConfig = {
    HUB_ID = "proxlibv2", -- Change to your specific hubId
}

Create Window

Initialize the main UI window. You can customize the size and the header icon.

LUA
local Window = ProXLib:MakeWindow({
    Name = "ProX Library",
    Size = UDim2.new(0, 800, 0, 550), -- Optional
    Icon = "rbxassetid://12345678" -- Optional, delete if dont need it
})

Setting Tab(Optional)

Setting tabs allow you to configure your cheats or tools.

LUA
Window.SettingsTab:AddButton({
    Name = "Unload Hub",
    Callback = function() 
       Window:Unload()
   end
})

Tabs

Tabs allow you to categorize your cheats or tools. They appear on the left sidebar of the UI.

LUA
local MainTab = Window:MakeTab({
    Name = "Main",
    Icon = "rbxassetid://12345678" -- Optional, delete if dont need it
})

Sections

Sections group elements together within a Tab for better organization.

LUA
local MainSection = MainTab:AddSection({
    Name = "Combat Features"
})

Button

A standard click interaction. Useful for one-time actions like "Teleport" or "Get Item".

LUA
MainTab:AddButton({
    Name = "Kill All",
    Icon = "rbxassetid://12345678", -- Optional, delete if dont need it
    Callback = function()
        print("Button pressed!")
    end
})

Toggle

A switch to turn features on or off (e.g., Auto Farm, Aimbot).

LUA
MainTab:AddToggle({
    Name = "Auto Farm",
    Default = false,
    Icon = "rbxassetid://12345678", -- Optional, delete if dont need it
    Callback = function(state)
        print("Toggle is now:", state)
    end
})

Slider

Allows the user to select a number within a specific range.

LUA
MainTab:AddSlider({
    Name = "WalkSpeed",
    Min = 16,
    Max = 500,
    Default = 50,
    Premium = false,
    Callback = function(value)
        print("Value:", value)
    end
})

Text Input

An input box for strings, useful for player names or custom messages.

LUA
MainTab:AddInput({
    Name = "Target Player",
    Placeholder = "Enter username...",
    Icon = "rbxassetid://12345678", -- Optional, delete if dont need it
    Callback = function(text)
        print("User typed:", text)
    end
})

Text Label

A static text element for information or warnings.

LUA
MainTab:AddLabel({
    Name = "This script is safe to use."
})

Notifications

Send a popup message to the user.

LUA
Window:CreateNotification(
    "Executed!",        -- Title
    "ProX Library Loaded", -- Description
    "success",          -- Type
    5                   -- Duration
)

Destroy UI

Removes the interface from the screen completely.

LUA
Window:Destroy()