I cant figure out how to make a local hopperbin only useing a script.
COMMUNITY QUESTION
How to make a hopperbin in a script?
1 answer
To access features of a Player, such as mouse and playerGui, you have to use a LocalScript.
Really, it makes things easier, because LocalScripts run off the Player's computer, instead of ROBLOX's Server - which makes the script respond Faster.
Events are still the same:
HopperBin = script.Parent
HopperBin.Selected:connect(function( mouse ) -- returns mouse once selected
end)
Tool= script.Parent
Tool.Equippedconnect(function( mouse )
end)
You don't even need a Tool / HopperBin to access the Mouse:
player = game.Players.LocalPlayer -- You
mouse = player:GetMouse() -- Your Mouse
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Explain? ROBLOX has disabled server side scripts (unless this changed) from running in hopperbins due to a exploit that allowed place theft.
oh