So I'm making an FPS, and I want to make weapons that aren't tools, using GetMouse() instead of tools. But I need to get the backpack toolbar thingy out of the way! How could I do this in a script?
Is it even possible?
It's possible - you call SetCoreGuiEnabled
, which is a member of StarterGui. This has to be called from a LocalScript in order to take effect. To disable the backpack GUI you'd call:
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
game.StarterGui:SetCoreGuiEnabled("All",false) game.StarterGui:SetCoreGuiEnabled("Chat",true) game.StarterGui:SetCoreGuiEnabled("PlayerList",true) game.StarterGui:SetCoreGuiEnabled("Backpack",false)
Just edit it to what you wish. Hope this helped.