Anyone can help with gun ray visibility?

Hello person who will read this! Im making a gun system and i have a question! Does anyone know how to make a ray effect like that’s or have a tutorial??

What am trying to do: robloxapp-20210815-1701227.wmv (1.5 MB)

I belive pf used parts with beams to create their tracers/

ok thank you am gonna try this!