Skip to main content
The tab for your script’s settings page. One per script; create it with api.ui.tab (see UI overview). Removed automatically on unload.

Creation

api.ui.tab(title: string, icon: string?): Tab
title
string
required
Tab label.
icon
string
Image asset name.

AddSection

tab:AddSection(title: string, column: number?): Section
A section inside your tab.
title
string
required
Section heading.
column
number
default:"1"
1 (left) or 2 (right).
returns
Section
Use this to add widgets. See Section.

Example

local tab = api.ui.tab("Aim Assist", "crosshair")
local general = tab:AddSection("General", 1)
local advanced = tab:AddSection("Advanced", 2)