Better way to achieve semi-automatic fire for third person shooter?

When a function is called, it doesn’t save it’s state from its previous call. So DoOnce node will reset as well. ))