Pepsi UI Library for Roblox | With documentation (look below)
local library = loadstring(game:HttpGet('https://raw.githubusercontent.com/Stratxgy/PepsiUI/refs/heads/main/pepsi.lua'))()
local ExampleHub = Library:CreateWindow({
Name = "Example Hub",
Themeable = {
Image = "nil. -- Add roblox image id or remove this",
Info = "Info",
Credit = false
},
Background = "",
-- if you want to turn off background put it here
})
Theme = [[{"__Designer.Background.UseBackgroundImage":false}]]
local GeneralTab = ExampleHub:CreateTab({
Name = "General"
})
Important
Where " Side = "Left " is, you can change this to right for it to be on the right side.
local ExampleSection = GeneralTab:CreateSection({
Name = "This is an example"
Side = "Left"
Callback = function()
Print("Example Print")
})
ExampleSection:AddToggle({
Name = "Example toggle",
Side = "Left"
Callback = function()
Print("Example Print")
})
ExampleSection:AddSlider({
Name = "Example",
Value = 0.15,
Precise = 2,
Min = 0,
Max = 1
Side = "Left"
Callback = function()
Print("Example Print")
})
ExampleSection:AddKeybind({
Name = "Example Key",
Callback = print
Side = "Left"
Callback = function()
Print("Example Print")
})