Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onKeyPress(actionName, userInputState, inputObject)
- if userInputState == Enum.UserInputState.Begin then
- print("R was pressed")
- end
- end
- game.ContextActionService:BindAction("keyPress", onKeyPress, false, Enum.KeyCode.R)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement