|
| 15 Sep 2013 03:28 PM |
can i do
mouse.KeyDown:connect(function(key) print(key) repeat wait() until mouse.KeyUp() print(key) end)
or would i use a bool value? |
|
|
| Report Abuse |
|
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
|
| 15 Sep 2013 03:30 PM |
mouse.KeyDown:connect(function(key) print(key) mouse.KeyUp:Wait() print(key) end) |
|
|
| Report Abuse |
|
|
|
| 15 Sep 2013 03:34 PM |
ok so say i wanted it to repeat something until keyup.
mouse.KeyDown:connect(function(key) repeat print(key) until mouse.KeyUp() print("keyup") end)
how would i implement what you put into this scenario>? |
|
|
| Report Abuse |
|
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
|
| 15 Sep 2013 03:35 PM |
mouse.KeyDown:connect(function(key) print(key) mouse.KeyUp:Wait() print(key) end) |
|
|
| Report Abuse |
|
|
| |
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
| |
|
|
| 15 Sep 2013 04:33 PM |
i still dont get it, anyone help?
|
|
|
| Report Abuse |
|
|
| |
|