Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is it possible to add a handle to a HopperBin?

Asked by
Volugs 5
10 years ago

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

Log in to vote
0
Answered by
BlueTaslem 18071 Moderation Voter Administrator Community Moderator Super Administrator
10 years ago

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

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) Volugs 5 — 10y
0
To change from a HopperBin to a Tool, you essentially only need to change "Selected" to "Equipped" and "Deselected" to "Unequipped" BlueTaslem 18071 — 10y
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. Volugs 5 — 10y
Ad

Answer this question