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: Keypressed

Previous Thread :: Next Thread 
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
28 Dec 2011 04:50 PM
What's the link for hitting a key? At least, what's the event?
Report Abuse
Biostream is not online. Biostream
Joined: 28 Mar 2011
Total Posts: 913
28 Dec 2011 04:51 PM
Mouse.KeyDown;connect(function(key)
--things
end)
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
28 Dec 2011 04:51 PM
KeyDown...
Report Abuse
Biostream is not online. Biostream
Joined: 28 Mar 2011
Total Posts: 913
28 Dec 2011 04:51 PM
Ohno. I meant colon
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
28 Dec 2011 04:53 PM
Ok thanks. And to make it work it has to be a tool, right? And does the script have to be a localscript?
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
28 Dec 2011 04:53 PM
Ohno. I meant to post earlier D:
Report Abuse
xZKx is not online. xZKx
Joined: 12 Dec 2010
Total Posts: 79
28 Dec 2011 04:54 PM
Yes it does.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
28 Dec 2011 04:55 PM
No it doesn't.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
28 Dec 2011 04:55 PM
Can anyone answer my question please?
Report Abuse
Biostream is not online. Biostream
Joined: 28 Mar 2011
Total Posts: 913
28 Dec 2011 04:56 PM
Has to be local. Mouse object is local; events triggered by it are local.
Report Abuse
Phellem is not online. Phellem
Joined: 04 Aug 2011
Total Posts: 1984
28 Dec 2011 04:56 PM
It works in tool and hopperbin.

Let me go find it... it's in wiki somewhere:
http://wiki.roblox.com/index.php/Mouse
Report Abuse
xZKx is not online. xZKx
Joined: 12 Dec 2010
Total Posts: 79
28 Dec 2011 04:56 PM
It has to be local to work correctly don't listen to king he is a skiddie.
Report Abuse
Zarcius is not online. Zarcius
Joined: 08 Dec 2007
Total Posts: 3024
28 Dec 2011 04:57 PM
Local... could it work for a GUI? :3
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
28 Dec 2011 04:58 PM
Mkay thanks. I'ma go study it.
Report Abuse
Phellem is not online. Phellem
Joined: 04 Aug 2011
Total Posts: 1984
28 Dec 2011 04:58 PM
No, it would not work for a gui.
Report Abuse
xZKx is not online. xZKx
Joined: 12 Dec 2010
Total Posts: 79
28 Dec 2011 04:59 PM
Zarcius it can't I wish it could but there are mods which I know of to activate without using a tool. This is called a script exploit which if I tell anyone of you it will be patched. I don't want that but I am indeed sorry.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
28 Dec 2011 04:59 PM
Wait, you know I meant like you hit the keyboard...One of the letters not the mouse..
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
28 Dec 2011 05:00 PM
I was saying "No it doesn't" for the tool question, idiots.
Report Abuse
Biostream is not online. Biostream
Joined: 28 Mar 2011
Total Posts: 913
28 Dec 2011 05:00 PM
Yes. The KeyDown event is a child of the mouse object. That's why it's mouse.KeyDown
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
28 Dec 2011 05:01 PM
Is it still same thing :P
Report Abuse
xZKx is not online. xZKx
Joined: 12 Dec 2010
Total Posts: 79
28 Dec 2011 05:01 PM
King go work on your script that doesn't have a purpose you skiddie.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
28 Dec 2011 05:01 PM
So is this the event?

mouse.KeyDown:connect(function(key)
--code
end)
Report Abuse
Biostream is not online. Biostream
Joined: 28 Mar 2011
Total Posts: 913
28 Dec 2011 05:01 PM
Is what the same thing?
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
28 Dec 2011 05:02 PM
Yes.
Report Abuse
Biostream is not online. Biostream
Joined: 28 Mar 2011
Total Posts: 913
28 Dec 2011 05:02 PM
Yes it is. The key argument that is returned is a string of the key that was pressed
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