Button

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,
})

Last updated

Was this helpful?