3 Steps.
Step One: Build your turret so it looks how you want it to.
Step Two: Name the barrel something, and event the trigger so it looks like this: onActivate> "WhateverYouNamedYourBrick"> spawnProjectile> whatever you want it to shoot, size, and velocity.
Step 3: Thank someone named "Arcleader" for explaining how to do it.