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 » Scripters
Home Search
 

Re: Trying to allow people to change key control

Previous Thread :: Next Thread 
thelolguy301 is not online. thelolguy301
Joined: 27 Sep 2011
Total Posts: 2997
08 Jul 2015 01:31 PM
I have a TextBox with a key in it. I want this to happen:

mouse.KeyDown:connect(function(key)
key = key:lower()
if key == (controlpanel.CrouchKey.Text) then
print("Pressed "..key)
end
end)

Ain't doing anything.
Report Abuse
Locard is not online. Locard
Joined: 13 Apr 2014
Total Posts: 3516
08 Jul 2015 01:33 PM
lower the controlpanel.CrouchKey.Text as well.
Report Abuse
thelolguy301 is not online. thelolguy301
Joined: 27 Sep 2011
Total Posts: 2997
08 Jul 2015 01:35 PM
Omfg, actually forgot that.. gg me. Appreciate the help, thank you :)
Report Abuse
Locard is not online. Locard
Joined: 13 Apr 2014
Total Posts: 3516
08 Jul 2015 01:38 PM
Mhm.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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