About 1,180,000 results
Open links in new tab
  1. KeyCode | Documentation - Roblox Creator Hub

    The KeyCode enum contains a list of byte keycodes that represent the key or button involved in user input. This enum also includes buttons and axes present on gamepads, and 96 World[] values for non-standard buttons. Note that keyboard values refer to the physical position of buttons on a standard QWERTY keyboard.

  2. UserInputService:GetStringForKeyCode | Documentation - Roblox

    GetStringForKeyCode returns a string representing a key the user should press in order to input a given Enum.KeyCode, keeping in mind their keyboard layout. For key codes that require some modifier to be held, this function returns the key to be pressed in addition to the modifier. See the examples below for further explanation.

  3. Mouse and keyboard input | Documentation - Roblox Creator Hub

    Roblox provides default key bindings for all experiences. These are the most common inputs used for movement, camera control, and basic environment interaction. Excluding the reserved bindings, you can use ContextActionService to create cross‑platform binds that prioritize multiple bindings to a single action, as described in context ...

  4. How do i make function happen when you press a key ... - Roblox

    Feb 13, 2021 · Im trying to make it where when you press a key (The Spacebar for example) for a function to happen. I’ve tried if input.KeyCode == Enum.KeyCode.Space then [Code Here] end But when I run it, nothing happens, am I doi…

  5. UserInputService | Documentation - Roblox Creator Hub

    UserInputService is a service used to detect and capture the different types of input available on a user's device. The primary purpose of this service is to allow for experiences to cooperate with multiple forms of available input, such as gamepads, touch screens, and keyboards.

  6. KeyCode Button Assignments. A Small Guide - Roblox

    Oct 18, 2020 · Infer what the buttons would be as the other model. Below is a full guide on all of the special KeyCodes such as ButtonR2 and where they are assigned. Or if you do not want to download the .pdf, here are the pages: I do not know if this would be to any help to anyone, but I decided to do it anyway. Have a good day!

  7. Help with this UserInputService KeyCode - Roblox

    Nov 6, 2020 · it should not be keycode, it should be key.KeyCode. Scroll down on this link to see how it works: UserInputService | Documentation - Roblox Creator Hub 412. I triend but it still dosent work. You have some serious issues with your code. I’ve …

  8. KeyboardService | Documentation - Roblox Creator Hub

    ©2025 Roblox Corporation. All rights reserved. Terms · Privacy · Accessibility · Support. English

  9. How to use the user input service easily - Roblox

    Feb 6, 2022 · I will show you a step by step tutorial on how to use the User Input Service as easy as possible through a tool while handling the main portion of things on the server. The User Input Service is like mouse.KeyDown, exce…

  10. UserInputService.KeyboardEnabled | Documentation - Roblox

    It can be used to determine whether the user has an available keyboard - which can be important if you want to check if you can use UserInputService:IsKeyDown() or UserInputService:GetKeysPressed() to check for keyboard input.

  11. Some results have been removed