drefus
|
  |
| Joined: 06 Feb 2011 |
| Total Posts: 307 |
|
|
| 30 Apr 2017 04:03 AM |
function onKeyPress(inputObject, gameProcessedEvent) if inputObject.KeyCode == Enum.KeyCode.R then print("R") end
repeat print("...") until onKeyPress(inputObject, gameProcessedEvent)
game:GetService("UserInputService").InputBegan:connect(onKeyPress)
would i call that for a repeat loop?
|
|
|
| Report Abuse |
|
|
| 30 Apr 2017 08:16 AM |
paste bin
/TtJc1xsr
Join my group: https://www.roblox.com/My/Groups.aspx?gid=3217670 |
|
|
| Report Abuse |
|
|
| 30 Apr 2017 08:22 AM |
local uis=game:GetService("UserInputService")
repeat wait() print("..") until ((uis:IsKeyDown(Enum.KeyCode.R))) |
|
|
| Report Abuse |
|