I think he meant, take the code he used to make OnRapidActivate, and make your own script.
Not exactly.
I just wanted something to be triggered when the brick is activated.
In this case, when the brick is activated, it shows print that decrements and when it reaches 0 something happens.
The reason I want this as a script is even though I could event it, even WITH auto wrench I don't want to event almost every brick in all of my builds.