Disabling backpack GUI disables backpack entirely

im making a custom hotbar for my game, and part of that involves disabling the original backpack gui. it worked fine yesterday, but when i woke up and opened the game again, i wasn’t able to select any tools at all.
i narrowed the problem down to this piece of code:

game:GetService('StarterGui'):SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)

removing it makes everything work fine and placing it in another seperate script with nothing also causes the problem
this is really odd, because it should only disable the gui and not the backpack itself
does anyone have some advice for this?

1 Like

Hello!

I strongly believe that disabling a default GUI’s core is really gonna disable the feature as well. The backpack system basically cannot function without the GUI, as there wouldn’t be any way for players to change their tools in-game, if not affected by scripts.

It works like this with all other Roblox default GUIs, such as the Player/Team leaderboard, or the settings button.

In this video, for example, they do disable the default backpack’s GUI core. However, they then clone the custom button for the tool and make a function for the tool to get equipped. (:EquipTool)

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.