This is a module I made to use for different types of ranged weapons, such as guns, bows, etc.
It contains all sorts of functions needed to make both the client-side and server-side of a weapon system functional. If you intend on using the module to make tracers you might want to change a couple of things within the module to make them look smooth.
If you have any questions or suggestions to improve the code feel free to comment those.