Yet, another question. This is a simpler one though. How would I make a hopperbin that finds the name of a part when clicked on? I use mouse.Hit but it doesn't seem to work. Here's my script.
mouse.Button1Down:connect(
function(target)
target = mouse.Hit
print(target.Name)
end
)
The error(I'm not sure if this is necessary)
19:57:52.204 - Name is not a valid member
19:57:52.205 - Script 'Players.Player1.Backpack.Extract.Script', Line 9
19:57:52.205 - Stack End
19:57:52.206 - Disconnected event because of exception
20:00:43.544 - Auto-Saving...
