Another way would be, to have three variables: bool Firing, float Delay (set in editor), float LastShotTime
OnPressed - set firing to True.
OnTick - If firing and CurrentTime > (LastShotTime + Delay) THEN fire and LastShotTime = CurrentTime
OnReleased - set firing to False.