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
 

How to make a textbox gui?

Previous Thread :: Next Thread 
Dodeca is not online. Dodeca
Joined: 11 Sep 2011
Total Posts: 13649
18 Jun 2014 08:10 PM
Where someone can type into?
Report Abuse
Dodeca is not online. Dodeca
Joined: 11 Sep 2011
Total Posts: 13649
18 Jun 2014 08:18 PM
Ok I put in a textbox..
But how can I make a script that checks what they typed into it?
Report Abuse
jojods1125 is not online. jojods1125
Joined: 27 Sep 2011
Total Posts: 11253
18 Jun 2014 08:25 PM
Put a script into the textbox, and then put this as your first few lines:


if script.Parent.Text = "Put Text Here"
then


Where I said "Put Text Here", write what you want to know what they typed. After that, put the rest of your script after "then". For example:


if script.Parent.Text = "Hide"
then script.Parent.Visible = false


That would figure out if the Textbox has the word "Hide" in it, and if it does, then the Textbox would turn invisible. Remember, the words you want to check for MUST be in quotation marks in the script. However, they won't need to be in quotation marks when the player types it.
Report Abuse
jojods1125 is not online. jojods1125
Joined: 27 Sep 2011
Total Posts: 11253
18 Jun 2014 08:26 PM
Oh, and I almost forgot; you will need some ends after the script. Don't forget those.

Be sure to tell me if this works or not.
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