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
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Using Keys To Activate A TextBox

Previous Thread :: Next Thread 
Patel01 is not online. Patel01
Joined: 01 Feb 2013
Total Posts: 30
21 Jun 2014 01:08 AM
Basically, all I need is a script(or help making one) that sets up a textbox so every time the player would click "\" it would let you automatically begin to let you type in the textbox. This some what relates to the Roblox chatbar.
Thanks for any help or support you have provided me with.
Report Abuse
Amexurous is not online. Amexurous
Joined: 28 Jan 2014
Total Posts: 324
21 Jun 2014 01:11 AM
bruh
Report Abuse
smiley599 is not online. smiley599
Joined: 23 Jan 2010
Total Posts: 21869
21 Jun 2014 03:33 AM
mouse=game.Players.LocalPlayer:GetMouse()
mouse.KeyUp:connect(function(key)
if key=="\" then
script.Parent:CaptureFocus()
end
end)

--local script inside a text box
Report Abuse
Patel01 is not online. Patel01
Joined: 01 Feb 2013
Total Posts: 30
21 Jun 2014 11:31 AM
Thank you smiley.
I would +1 rep you, but you can't do that on Roblox.
Report Abuse
Patel01 is not online. Patel01
Joined: 01 Feb 2013
Total Posts: 30
21 Jun 2014 11:39 AM
@Smiley
The script did not work.
Here is the error:
prntscr(dot)com/3v2ych

If anyone could fix it, please put the fix in this forum.
Thanks!
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
21 Jun 2014 11:55 AM
you probably need to add :lower
Report Abuse
Patel01 is not online. Patel01
Joined: 01 Feb 2013
Total Posts: 30
21 Jun 2014 01:28 PM
I have successfully done this!
I no longer require anymore help.
Thank you for all of your help!
Report Abuse
Patel01 is not online. Patel01
Joined: 01 Feb 2013
Total Posts: 30
06 Aug 2014 02:49 AM
By the way, if anyone would like to know, I used KeyByte.
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