Hello scriptinghelpers. I just would like to understand how to make my script recognize and run a block of code when a Gamepad button is pressed. I have already tried using the UserInputService through the 'InputBegan' event, but I knew that something was off, or maybe I was using it wrong.
Specifically, I am trying to make a script that detects when a UserInputType Enum (Gamepad8) is pressed and then it will run some code. Thank you!

1 comment
Thank you!