You could have the button your student presses control a toggle instead of a bang. Then have the toggle turn on/off a metro to send out a bang often enough to make it apear as though the bang is on continuously.

-- Pasted Max Patch, click to expand. --

Copy all of the following text. Then, in Max, select New From Clipboard.