How to disable the core script responsible for the toolbar?

The title itself is pretty self-explanatory. I need a way to disable the current core script responsible for the toolbar, in order to create a new, custom one. However, I couldn’t find anything that would disable that script.

image

1 Like

Try this:

local StarterGui = game:GetService("StarterGui")
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)

Put it in a local script in StarterPlayerScripts.

1 Like

Thanks for help, but wouldn’t this only disable the gui, and not the script itself? meaning that even if the gui is disabled, you would still be able to equip/unequip tools?

Just a heads up, but setting the backpack core gui to false will also disable inventory selection.
As far as I know there is no other possible way in both having inventory selection as well as hiding the tool bar.

TL;DR: You’re gonna need to create your own inventory selection system

I don’t think you’re still able to equip/unequip tools, you could try it out?

No, you can’t equip/unequip tools anymore. Thanks!

1 Like