Gamepad Controller GUI Detector

Hello!
so I want to make a Gamepad detector for my game, by that I mean that if the system detects a gamepad connected/used it shows a different icon and changes the controls to the gamepad ones.
here’s an example pic, when you connect a gamepad controller in jailbreak it changes the control icon GUI and the controls.
image

I’m not that good at coding so may it be more easier to understand?
thanks for reading.

You can use both GamepadConnected and GamepadDisconnected for handling events when you plug in a controller.

The developer page is a good resource to read more about it:

Try this Model I created made for all platforms. You can change this to display whatever you want by putting your GUIs into the Specified areas (Console GUI, Mobile GUI, Desktop GUI).

1 Like

There’s no GUI that tells what key to press, but that’s fine thanks!

Yeah, sorry about that, it was pre-made for another game I made.

1 Like

Thanks anyways, I’m gonna use it, I’ll credit, by the way, do you wanna collab am working on a new horror game i’d like for a scripter because i’m bad at this.

Yeah, no problem. Thanks for the credit.

I would help you make a game if I have time, but I’m very busy and I’m already working around the clock right now. But I’ll message you if anything changes. You can always try Collaboration - Developer Forum | Roblox

Thanks.

1 Like

no worries. thanks for the help