Greak5245
|
  |
| Joined: 15 Jun 2013 |
| Total Posts: 235 |
|
|
| 07 Nov 2016 11:32 AM |
| Is there any way you can get the name of the key you have released by using game:GetService('UserInputService').GetLastInputType()? If not is there any other way I can get the key released? |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2016 11:44 AM |
| Use IsKeyDown(Enum.KeyCode["KEY"]) |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 07 Nov 2016 12:42 PM |
uis.InputBegan:connect(function(input,event) if input.KeyCode == Enum.KeyCode.E then print('Pressed E') end end)
uis.InputEnded:connect(function(input,event) if input.KeyCode == Enum.KeyCode.E then print('UnPressed E') end end)
|
|
|
| Report Abuse |
|
|
Greak5245
|
  |
| Joined: 15 Jun 2013 |
| Total Posts: 235 |
|
|
| 07 Nov 2016 01:24 PM |
| I just got my own thing to work, but by this you reduce the activity with 0.3% so cheers mate. |
|
|
| Report Abuse |
|
|