I’m making a item that perform an action an disable them from equipping and unequipped , change any tool.
I searched it up and some of the techniques are ineffective or just bugs the script (resetting the script in the tool).
I’m making a item that perform an action an disable them from equipping and unequipped , change any tool.
I searched it up and some of the techniques are ineffective or just bugs the script (resetting the script in the tool).
Do you mean disabling the tool GUI? You can do
local StarterGui = game:GetService(“StarterGui”)
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
Not really sure what you mean.
no I mean’t disabling equip and disrequip temporarily
Can’t you disable the GUI and then when you want to enable it again?
try this
for i,tool in pairs(player.Backpack:GetChildren()) do tool.Enabled = false end
it will disable all tools but the GUI will still be visible
You’ll need a custom hotbar for this and your own system for this. First of all, disable default backpack, and have your own system for hotbar.
Then make a system to have tools which are not really into the new hotbar, so players can’t mess with it.
Lol that’s it.