generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: how to get textstrokes from guis text box

Previous Thread :: Next Thread 
MrTechn0 is not online. 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 is not online. 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
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image