Im using this script to hide the toolbar but it also doesent let me equip the tools?
local StarterGui = game:GetService('StarterGui')
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false) StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)
The Enum on line 03 is Enum.CoreGuiType.All
and you had used this to disable All CoreGuiTypes. Backpack
is one of these CoreGuiTypes. This won't allow you to select tools using the Inventory that Backpack provides you. Just add to the code if you want it back:
local StarterGui = game:GetService('StarterGui') StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false) StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true) StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
Alternatively you could keep the Backpack Inventory UI hidden and just set up a system that uses the Humanoid:EquipTool()
function.