I'm trying to get a hopperbin to detect when I press "e" and then fire up a script.
function onKeyDown(key)
key:lower()
if key == "e" then
script.Parent.Parent.bs.Disabled = false
end
function onSelected(mouse)
mouse.KeyDown:connect(onKeyDown)
end
script.Parent.Selected:connect(onSelected)
