Button
Last updated
Was this helpful?
Last updated
Was this helpful?
Section:Button({
Name <string>
Callback <function() void>
}, <string or nil> Flag)
Functions
:UpdateName(<string>)
:SetVisiblity(<boolean>)
.Settings : table -- Not everything may be updated, but Callback should be correct.
Example
sections.MainSection1:Button({
Name = "Kill All",
Callback = function()
print("Killed everyone.")
end,
})