Set a bool to true when the button is pressed. Set the same bool to false when released. After the bool on pressed, do a branch to check if your bool is still true then spawn the projectile. Set a delay (this will be your fire rate) and then plug the execution pin to the previous branch.
It would look like this :