Quick Timer By Function?

Yes I have tried switch on another part of my script before, but instead I used an integer input.

I’m assuming I would need a sequence node to do multiple switches/gates for the same tick?