I put this into a regular script under a hopper bin, but for some reason it only works in solo mode.
function onButton1Down(mouse)
local b = game.ReplicatedStorage.Torch:Clone()
b.Parent = game.Workspace
b.torchhandle.Position = mouse.Hit.p
b.fireholder.Position=Vector3.new(b.torchhandle.Position.x,mouse.Hit.p.y+3.24900,b.torchhandle.Position.z)
end
function onSelected(mouse)
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
end
script.Parent.Selected:connect(onSelected)

2 comments
This a local script or script?
An ordinary script