Como fazer Botao piscar por script?

Como fazer Botao piscar por script ?
Quero digitar a logica pra fazer o botao piscar