Parameters

Parameters v1.0

Name
Type
Default

Text

string

Toggle

Enabled

boolean

false

Callback(State, Func)

function

function

Disable

boolean

false

Parameters v1.1

  • type: table

Field
Type
Default

Text

string

Toggle

Enabled

boolean

false

Callback(State, Func)

function

function

Disable

boolean

true

Font

string/Enum.Font

SourceSans

TextSize

number

16

TextColor

Color3

245, 246, 250

If the initial state of the toggle is true, the callback code will be executed (useful if you save the state of the toggle in a file and it is true).

Last updated