Tool selection bug for Xbox users in games with more than 10 tools

Normally, the left and right bumper buttons on the xbox controller are used to select tools 1 through 10 (the hotbar), and the backpack can be used to exchange tools from the backpack to the hotbar. But if your hotbar is full and you equip a new tool, such as a tool laying on the ground with a TouchIntrest and you walk to it, then the bumper keys will not work. The xbox controller bumper keys now only let you equip or unequip that one tool. That is the first problem. Next, if the tool is not equipped, you might try to move it to the hotbar to try to get the bumpers keys working again. But that does not work either. Through experimentation, I have found that you can get the bumper keys working again by equipping the only tool it lets you equip, then move it to the hotbar while it is equipped. That works, but it is clumsy and not easy to learn the trick.

I tried to BindAction the Enum.KeyCode.ButtonR1 and L1 bumper keys to control the tool selection myself, but those two keys are bound by the Core Gui, so no luck.
And there is no way to determine which tools are in the hotbar, and which are in the backpack, so I cannot use script to swap the equipped tool to the hotbar for the player.

If you would like to test this situation, you can play my Growing Up game Growing Up - Roblox
You can easily collect 10+ tools in the gas station store (all free). Some of the tools automatically equip via script (like the gravity coil). You can test the TouchIntrest auto equip feature by walking to the Soap tool on the checkered floor in the Pet Shop behind the gas station.

If a tool in your backpack (not hotbar) gets equipped, you will have this problem with the Xbox Gamepad controller.

I have attached an rbxl file with 11 tools in the StarterPack, and three tools on the ground for you to pick up. After picking up (equipping) a new tool, you will find that you cannot use the Xbox Bumper Keys to switch tools. I don’t know if the problem will occur in Studio, since my Xbox controller is connected to my Xbox, not my Studio PC. Also, the tools in this example may not actually function as expected (they are straight out of the Suburban Starter Place). But they will work fine to prove the problem at hand: equipping and selecting tools with the Xbox Gamepad controller Bumper keys.
TestXboxGamepadBumperKeysWithMoreThanTenTools.rbxl (54.4 KB)

1 Like

This topic was automatically closed after 1 minute. New replies are no longer allowed.