Thanks for the response,
I’ll have a look at math:modulo and see if I can get a result that way.
I tried the formula node but it only worked when time was 0.134, any time after output was 0.
EDIT: That was perfect! Thank you so much.
This isn’t vital, but more of a curiosity. do you know any way in which the intensity can be changed more smoothly than a sudden random change?