To spray paint a nerf blaster,
1) Sand down the surface.
2) Clean it thoroughly
3) Set a layer of primer
4) Spray several, light coats of paint, making sure to keep it out of mechanisms. (It helps to disassemble the gun and only paint the shell)
5) Use some form of clear-coat to seal the paint against damage.
Finally, NerfHaven has been useful to me.