Adding a Global Setting
Last updated
Was this helpful?
Last updated
Was this helpful?
Global Settings simplifies your experience by integrating Boolean-based settings management directly into the main interface, partially eliminating the need for additional tabs.
local Global_Setting = Window:GlobalSetting({
Name <string>
Default <boolean>
Callback <function(): void>
})
Example
local Global_Setting = Window:GlobalSetting({
Name = "Moderator Join Alerts",
Default = false,
Callback = function(State)
print("Moderator Join Alerts " .. (State and "Enabled" or "Disabled"))
end,
})