Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is it possible to add a handle to a HopperBin?

I'd like to add a lock tool to my building game but the ones from the catalog don't work anymore since ROBLOX disabled the use of tools without handles. Is there any way I can add a handle to the HopperBin?

1 answer

✓ Accepted answer

Not directly, no, because that is the chief difference between HopperBins and Tools.

If you want to use a handle, you need to use a Tool (which is a really simple conversion if necessary).

Of course, you can always modify the posing of the character and weld an object to their hand, but you will have a lot of work to make it be as fluid and provide the full functionality (e.g., dropping and picking up).

3 comments

0

Alright, thank you for the answer. I'll just forget about the lock tool at the moment, since I can barely script anything (only flickering lights)

0

To change from a HopperBin to a Tool, you essentially only need to change "Selected" to "Equipped" and "Deselected" to "Unequipped"

0

Mevermind I found the problem. I just had to put my code in a Script instead of a LocalScript. Found out that apparently functions like "onMouseButton1Down()" don't work in LocalScripts anymore.

This discussion is preserved as it was. New answers, comments, and votes are closed.