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
|
  |
| Joined: 28 Mar 2011 |
| Total Posts: 913 |
|
|
| 28 Dec 2011 04:51 PM |
Mouse.KeyDown;connect(function(key) --things end) |
|
|
| Report Abuse |
|
|
| |
|
Biostream
|
  |
| Joined: 28 Mar 2011 |
| Total Posts: 913 |
|
| |
|
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 |
|
|
|
| 28 Dec 2011 04:53 PM |
| Ohno. I meant to post earlier D: |
|
|
| Report Abuse |
|
|
xZKx
|
  |
| Joined: 12 Dec 2010 |
| Total Posts: 79 |
|
| |
|
| |
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 28 Dec 2011 04:55 PM |
| Can anyone answer my question please? |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| 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
|
  |
| Joined: 08 Dec 2007 |
| Total Posts: 3024 |
|
|
| 28 Dec 2011 04:57 PM |
| Local... could it work for a GUI? :3 |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 28 Dec 2011 04:58 PM |
| Mkay thanks. I'ma go study it. |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 28 Dec 2011 05:00 PM |
| I was saying "No it doesn't" for the tool question, idiots. |
|
|
| Report Abuse |
|
|
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
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
| |
|
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
|
  |
| 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
|
  |
| Joined: 28 Mar 2011 |
| Total Posts: 913 |
|
| |
|
| |
|
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 |
|
|