How to make sure that the weapon would fire until I release the fire button? ( Start First Person Blueprint )

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 :