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.
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.