how to make a run and gun?

I just got started making these games today and I can’t figure out how to make a character that can shoot. I would really appreciate any help

look for the EMIT command and make an object to fire