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: Real quick...

Previous Thread :: Next Thread 
hotshadow10 is not online. hotshadow10
Joined: 27 Jan 2012
Total Posts: 83
26 May 2014 06:10 PM
local b1 = a.Button.MouseButton2Down:connect(function() Aim() end)
local b2 = a.Button.MouseButton2Up:connect(function() UnAim() end)


Could someone please tell me how to change the mousebutton2's to connect with the key q? Thanks.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
26 May 2014 06:11 PM
KeyDown (check if key is "q") and KeyUp
Report Abuse
hotshadow10 is not online. hotshadow10
Joined: 27 Jan 2012
Total Posts: 83
26 May 2014 06:47 PM
It would be awesome if you rewrote it for me, i cant really understand what your saying :(
Report Abuse
Zeloi is not online. Zeloi
Joined: 27 Sep 2010
Total Posts: 1143
26 May 2014 06:49 PM
http://wiki.roblox.com/index.php?title=KeyDown_(Event)
http://wiki.roblox.com/index.php?title=KeyUp
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
26 May 2014 06:49 PM
Using the mouse object:
http://wiki.roblox.com/index.php?title=KeyDown_(Event)
http://wiki.roblox.com/index.php?title=KeyUp_(Event)
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