I cant figure out how to make a local hopperbin only useing a script.
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