I have no clue how to do this, I need this because I want a player not be able to equip another tool or unequip the tool its currently using
COMMUNITY QUESTION
how can I make a tool when activated disable the core gui for tools?
1 answer
Put LocalScript inside tool with following code. It will disable backpack when equipped.
tool = script.parent
local function disableGui()
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
end
tool.Equipped:Connect(disableGui)
This discussion is preserved as it was. New answers, comments, and votes are closed.
