Disabling Player Toolbar

I am trying to disable the toolbar but it isn’t working.

game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.Backpack,false)
1 Like

… How would I fix it if I have a custom toolbar then?

By toolbar, you mean the GUI at the bottom showing all equipable tools, correct? Also, where is this script located and is it in a server or local script?

Yes.

dfgdhfuisgjdfsgfjadsgjjsjfgijds

where is this script located and is it in a server or local script?

StarterGui
Localscript.
:slightly_smiling_face:

Hmm. I use the same line of code in my game but it works fine, but I have it in a tool in StarterPack.

Well it doesn’t work for me. :confused:

I have these 3 lines in a LocalScript inside a tool in StarterPack:

repeat wait() until game.Players.LocalPlayer.Character
game.Players.LocalPlayer.Character:WaitForChild("Humanoid"):EquipTool(script.Parent)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)

Perhaps the waiting may be important.

1 Like