Well, it seems like you're trying to start a drumroll when the block starts giving coins and stopping the drumroll when the block's done. To do this, you'll need uberASM as well. In the block, you would have this:
+ STA $13CC
In uberASM, you would have this:
This is untested, but I'm pretty sure it should work.