This is to spawn a model so it's in HopperBin so I have no idea what is going on?
bin = script.Parent
function onButton1Down(mouse)
local model = bin.Model:clone() --Change "Model" to What Ever Model Name You Have
model.Parent = game.Workspace
model:MakeJoints()
model:MoveTo(mouse.hit.p)
end
function onSelected(mouse)
mouse.Icon = "rbxasset://textures\\GunCursor.png"
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
end
bin.Selected:connect(onSelected)
