the default 1,2,3,4,5… key on the tool can not be disabled? I have checked Roblox wiki but didn’t find a way to disable or change the default keybinding
1 Like
You can disable inventory using :SetCoreGuiEnabled()
, inventory gui will vanish and keybinds wont work.
He means the key binding. The keys I believe you can remove them using contextactionservice or userinputservice.
1 Like
I dont think you need to Disable KeyBinding, Just do this:
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
It Disables them for you
1 Like
ouh I thought SetCoreGuiEnabled is for the GUI only I was wrong, thank you guys
I tested using SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false) is also disable the button not only the GUI
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.