Title, Description & Separator
The three layout pieces that stop a section becoming a wall of rows.
These three have no value and no callback. They exist to give a long section some shape.
My Script
v1.0
These only apply while a round is running.
Enabled
FireOnStart runs the callback once at build time.
Status
Title#
A heading inside a section.
main:Title("MOVEMENT") -- shortest form
main:Title({ Text = "MOVEMENT", Icon = "compass" }) -- with an icon| Option | Type | Default | What it does |
|---|---|---|---|
Textreq | string | — | The heading. Written in caps by convention, not by force. |
Icon | string | — | An icon before the text. |
IconColor | Color3 | — | Overrides the icon's colour. |
IconSize | number | — | Icon size in pixels. |
Description#
A paragraph of explanatory text. Use it where a comment would be useless because the user cannot see your source.
main:Description("These only apply while a round is running.")
main:Description({ Text = "These only apply while a round is running." })Separator#
A dividing line. No options.
main:Separator()Putting them together#
main:Title({ Text = "COMBAT", Icon = "crosshair" })
main:Description("These only apply while a round is running.")
main:Toggle({ Text = "Aimbot" })
main:Slider({ Text = "Smoothing", Min = 0, Max = 1, Step = 0.05 })
main:Separator()
main:Title({ Text = "MOVEMENT", Icon = "compass" })
main:Toggle({ Text = "Infinite jump" })Strings or tables
Title and Description both accept a bare string as a shortcut. Reach for
the table form only when you want an icon or a colour.
When a group is better#
Titles and separators divide a section visually but everything stays on screen. Once a section is long enough that the user has to scroll past things they do not care about, a collapsible group is the better tool — it can be shut.