Skip to content

Pepsi UI Library for roblox | With documentation !!

Notifications You must be signed in to change notification settings

Stratxgy/PepsiUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Pepsi UI Library (not mine)

Pepsi UI Library for Roblox | With documentation (look below)

Load the Library

local library = loadstring(game:HttpGet('https://raw.githubusercontent.com/Stratxgy/PepsiUI/refs/heads/main/pepsi.lua'))()

Create a Window

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
})

Turn off Background Image

Theme = [[{"__Designer.Background.UseBackgroundImage":false}]]

Create a new Tab

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.

Create a Section

local ExampleSection = GeneralTab:CreateSection({
Name = "This is an example"
Side = "Left"
Callback = function()
Print("Example Print")
})

Create a Toggle

ExampleSection:AddToggle({
Name = "Example toggle",
Side = "Left"
Callback = function()
Print("Example Print")
})

Create a Slider

ExampleSection:AddSlider({
Name = "Example",
Value = 0.15,
Precise = 2,
Min = 0,
Max = 1
Side = "Left"
Callback = function()
Print("Example Print")
})

Create a Keybind

ExampleSection:AddKeybind({
Name = "Example Key",
Callback = print
Side = "Left"
Callback = function()
Print("Example Print")
})

About

Pepsi UI Library for roblox | With documentation !!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages