How Do You Do That???
✓ ANSWER ACCEPTED
How To Add A String To A Table Everytime You Click A Gui?
1 answer
✓ Accepted answer
The table.insert function is perfect for this. You will also need to know how to handle events, because the MouseButton1Click event will fire everytime a specified GuiButton is clicked.
local button = -- reference to button here
local tbl = {}
button.MouseButton1Click(function()
local stringToInsert = ""
table.insert(tbl, stringToInsert)
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
