Umm.I mean, ****I made a local script inside a tool and type this codes.
player = game.Players.LocalPlayer
tool = script.Parent
tool.Equipped:connect(function(mouse)
mouse.KeyDown:connect(function(key)
if key == "h" then
print("You pressed h")
else
end
end)
end)
I am confused with line 9, and i want to put a code in line 9 that can go inside through LocalPlayer's inventory and destroy the tool.. tool's name = tool
please tell me the answer scripting veterans..

3 comments
ur rlly smart! thx!
But, number 1 solution isn't working. XD Error says Players.(PlayerName).Backpack.Tool.LocalScript2:9: attempt to index a nil value
Did you put both of them together?