MrTechn0
|
  |
| Joined: 23 Nov 2012 |
| Total Posts: 1252 |
|
|
| 07 May 2014 12:36 PM |
| how do I get the text from what someone typed into a text box? |
|
|
| Report Abuse |
|
|
noah
|
  |
| Joined: 11 Sep 2006 |
| Total Posts: 18977 |
|
|
| 07 May 2014 12:44 PM |
textbutton.MouseButton1Click:connect(function() if textbox.Text ~= nil then print(textbox.Text) end end)
or
textbox.Changed:connect(function() print(textbox.Text) end)
|
|
|
| Report Abuse |
|
|
|
| 07 May 2014 12:45 PM |
lol,why no one ever hear of FocusLost?
textbox.FocusLost:connect(function() print(textbox.Text) end)
unless you want it to tell you what they type the second they type it
textbox.Changed:connect(function(prop) if prop == "Text" then print(textbox.Text) end end) |
|
|
| Report Abuse |
|
|
MrTechn0
|
  |
| Joined: 23 Nov 2012 |
| Total Posts: 1252 |
|
|
| 07 May 2014 05:50 PM |
| there arnt any errors, but i type in what I want it to say, and then i press enter and nothing happens. |
|
|
| Report Abuse |
|
|