Run a function when player presses "1" on keyboard

  1. What do you want to achieve? Keep it simple and clear!
    Want to run a function or do something when player presses “1” or any other number on the keyboard

  2. What is the issue? Include screenshots / videos if possible!
    Not sure which is the correct or most optimal way.

Bind a function using Context Action Service. It’s easy to use, and easy to expand upon.