[SOLVED] Raycasting from a gun

A post was split to a new topic: How to make a spark spawn at the end of a gun