Advertisement
Mediakiller7Cool

umm

Jul 17th, 2019
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. function onKeyPress(actionName, userInputState, inputObject)
  2. if userInputState == Enum.UserInputState.Begin then
  3. print("R was pressed")
  4. end
  5. end
  6.  
  7. game.ContextActionService:BindAction("keyPress", onKeyPress, false, Enum.KeyCode.R)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement