Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I remove inventory tab?

Some games like Phantom Forces have no inventory tab. How do I remove it?

1 answer

To remove it, one uses the game.StarterGui:SetCoreGuiEnabled() method, which has two arguments: coreguitype and enabled.

The enum for the backpack coregui is Enum.CoreGuiType.Backpack.

local enabled = false; -- true if enabled, false if disabled.
game:GetService('StarterGui'):SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, enabled);

Just a warning, this disables the entire Backpack object, and as a result you cannot utilize any function of the backpack object.

This discussion is preserved as it was. New answers, comments, and votes are closed.