Returns the text of the button's label

Signature:

text = Button:GetText()

Returns:

  • text - Text of the button's label (string)