I tried doing
script.Parent.Touched:connect(function(hit)
if hit.Parent:findFirstChild("Humanoid") then
game.Players[hit].Backpack.Key:Destroy()
end
end)
but it didn't work and I used the same name "Key for the tool" any help will be truly appreciated
Thanks,
Exsius,

2 comments
Your problem would have to be the name of the "Key" as the rest of your script works. If the player can hold the "Key" then you may also want to check their character as that's where tools that are being held are.
Where do I check I can't find "characters"