Upon clicking the tool becomes activated, allowing you to press keys to do stuff. The problem is that when you unequip the tool it's still activated I guess, so the stuff still happens when you press the corresponding key.
function onActivated()
uis.InputBegan:connect(function(input,process)
if not process and input.KeyCode == Enum.KeyCode.V
--Stuff happens here
end end)
end
script.Parent.Activated:connect(onActivated)

1 comment
How about use Tool.Equipped and then on activated call it?