Just wondering, for certain games. Mainly Horror games. You know? Is there a way?
COMMUNITY QUESTION
How do I make where when you choose the item in your inventory, the inventory disappears?
1 answer
You would use the Equipped event to know that the tool is equipped and the SetCoreGuiEnabled method to get rid of the backpack GUI. Also, please make sure the script inside the tool is a localscript. As well as to remember that tools always need handles to work.
local tool = script.Parent;
tool.Equipped:connect(function()
game.StarterGui:SetCoreGuiEnabled("Backpack", false);
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Are you asking to remove the tool or the actual core GUI where all of your tools are stored?
actual core GUI where all of your tools are stored...