Booting the Library
Load the library directly from the source using `loadstring`. This is the first step in your script.
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.
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.
- Name The title displayed on the UI.
- Size (Optional) UDim2 size. Defaults to 750x480.
- Icon (Optional) rbxassetid string for the logo.
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.
- Name The title displayed on the UI.
- Icon (Optional) rbxassetid string for the logo.
- Elements You can change "AddButton" to any elements like (AddDropdown, AddToggle, AddSlider, etc).
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.
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.
local MainSection = MainTab:AddSection({
Name = "Combat Features"
})
Toggle
A switch to turn features on or off (e.g., Auto Farm, Aimbot).
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.
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.
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
})
Dropdown
A list of selectable options. Useful for selecting teleports or weapon skins.
MainTab:AddDropdown({
Name = "Select Weapon",
Options = {"Rifle", "Pistol", "Knife"},
Default = "Rifle",
MultiSelect= true, -- Set to true to active and false to deactive it
Callback = function(selected)
print("Selected option:", selected)
end
})
Text Label
A static text element for information or warnings.
MainTab:AddLabel({
Name = "This script is safe to use."
})
Notifications
Send a popup message to the user.
- Type Options: "info", "success", "warning", "error".
- Duration How long (seconds) the alert stays on screen.
Window:CreateNotification(
"Executed!", -- Title
"ProX Library Loaded", -- Description
"success", -- Type
5 -- Duration
)
Destroy UI
Removes the interface from the screen completely.
Window:Destroy()