When you Equip a Tool/Hopperbin it'll print something like Equiped weapon, and when UnEquiped it'll print UnEquiped Weapon, I wish I explain a bit more, but thats the Best I could think of what to explain about my question.
✓ ANSWER ACCEPTED
How can I make a Equip and UnEquip script?
2 answers
✓ Accepted answer
script.Parent.Equipped:connect(function()
print("The tool was Equipped!")
end)
script.Parent.Unequipped:connect(function()
print("The tool was unequipped!")
end)
Or for hopperbin
script.Parent.Selected:connect(function()
print("The hopperbin has been Selected")
end)
script.Parent.Deselected:connect(function()
print("The hopperbin has been Deselected")
end)
Put this in a tool or hopperbin! Selected for hopperbin!
Equipped event : http://wiki.roblox.com/index.php?title=Equipped_(Event)/mouse
Unequipped event : http://wiki.roblox.com/index.php?title=Unequipped_(Event)
Hope this helped, if you need an example, I can provide.
2 comments
0
I guess you need to give me an example. :P
0
Please dont link to sources( you can) but you must provide an example please...
This discussion is preserved as it was. New answers, comments, and votes are closed.

8 comments
Hope I helped!
NOTE: If you want it to do hopperbin the correct term is Selected and Deselected this is for a tool and a tool only.
Somehow the script isn't working, when I tried it it said 'Unequipped is not a valid member of Backpack'?
Oh hold on
Don't put the script in Backpack put it in tool! Or hopperbin!
Oh. I am sorry for some reason it won't work :(
Its alright man, I'll +1 you anyway. ;)
Thank you!