Hey, I tried it again and at some point they do disappear and I'm not quite sure why. Here is my script.
-- Find and Equip Tool --
function Equip(num)
for x, v in pairs(backpack:GetChildren()) do
if v:IsA('Tool') then
if v:FindFirstChild(num) then
humanoid:EquipTool(v)
end
end
end
end
-- Hotkeys --
local uis = game:GetService('UserInputService')
uis.InputBegan:connect(function(input)
if input.UserInputType == Enum.UserInputType.Keyboard and input.UserInputState == Enum.UserInputState.Begin then
if input.KeyCode == Enum.KeyCode.One then
if 1 <= #list then
humanoid:UnequipTools()
Equip(1)
end
elseif input.KeyCode == Enum.KeyCode.Two then
if 2 <= #list then
humanoid:UnequipTools()
Equip(2)
end
elseif input.KeyCode == Enum.KeyCode.Three then
if 3 <= #list then
humanoid:UnequipTools()
Equip(3)
end
elseif input.KeyCode == Enum.KeyCode.Four then
if 4 <= #list then
humanoid:UnequipTools()
Equip(4)
end
end
end
end) |