Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would I transfer data from a TextBox(GUI) and a StringValue?

I am thinking of making an advanced voting system, where you type in the person's name instead of buttons. The only problem is that I can't figure out how I could get the Text from the Box to a StringValue, which then I can send to another box. Any ideas?

1 answer

You can use a variable like this:

local frame = script.Parent -- Where frame for the TextLabel is.
local vote = frame.TextLabel.Text -- Then you should have the "vote" as what the text said. :)
print(vote) -- Look at output. If it says what you written in the box, then it works! -Toby

This discussion is preserved as it was. New answers, comments, and votes are closed.