Initial page

Starting The UI Library

local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Attrixx/FreeScripts/main/YTUILib1.lua"))():init("THE HUB NAME")
-- This function takes 1 arguement, the hub name which is meant to be an string

Creating An Tab

local Tab = Library:Tab("THE TAB NAME")
-- This function takes 1 arguement, which is the tab name which is mean to be an string

Creating An Section

local Section = Tab:Section("SECTION NAME")
-- This function takes 1 arguement, which is the section name which is supposed to be the section name

Creating An Toggle

Section:Toggle("TOGGLE NAME", false / true, function(value)
    print(value)
end)
-- This function takes 3 arguements, the toggle name which is meant to be an string,
-- the default value, true or false / a boolean, the callback which is meant to be
-- an function, the function will have an value (shown in the function above, its printing the value)

Creating An Slider

Creating An Dropdown

Creating An Keybind

Last updated

Was this helpful?