Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you save the text from a TextBox?

Asked by
Xianon 105
10 years ago

I'm trying to give the user the ability to store what he writes but i don't know what function should i use.

1 answer

Log in to vote
1
Answered by
wazap 100
10 years ago
local answers = {}
text.FocusLost:connect(function()
table.insert(answers,text.Text)
end)
0
Thats it? Xianon 105 — 10y
0
Be more specific if you want more. Thats all I can go off of. It saves the text in a table called answers. wazap 100 — 10y
Ad

Answer this question