I'm trying to make a (relatively) simple fully-automatic gun. I won't post the entire code, but this is where something's going wrong:
function onEquipped(mouse)
print("Check 1") --This works
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
end
gun.Equipped:connect(onEquipped)
...And above that I have the onButton1Down function...
function onButton1Down(mouse)
print("Check 2") --This doesn't work
--...more code
end

6 comments
It is in a local script?
Nope. It's a server script.
Put it in a local
You're thinking of hopperbins. This is an actual tool.
Yeah, but the mouse is local
I do the test and its working and a test server ;)