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: KeyDown seems bugged.

Previous Thread :: Next Thread 
Thaeh is not online. Thaeh
Joined: 05 Feb 2011
Total Posts: 7685
16 Jan 2014 08:48 PM
I don't have the script anymore, but I was coding a tool with five keypresses. For the first key I used If and for the other four I used Elseif. However, the first two keys I used printed twice despite having debounce and the fourth key didn't work at all.

I'm wondering if that's not the correct way to use the event. Should I use elseif or should I make multiple events for this to not happen?
Report Abuse
drager980 is not online. drager980
Joined: 25 May 2009
Total Posts: 13385
16 Jan 2014 08:49 PM
is there a wait on the debounce
Report Abuse
Thaeh is not online. Thaeh
Joined: 05 Feb 2011
Total Posts: 7685
16 Jan 2014 08:52 PM
Yes there was. 0.5 seconds.

I'm sorry that I can't provide the script, but it had nothing more than print for each key. This whole bug thing made me scrap it.
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