guns TECHNICALLY wouldn't work in space/ on the moon because guns have a flintlock inside them which lights up some gunpowder inside the bullet which propels it forward so it will not work in a vacuum (because fire / sparke needs at least a TINY bit of oxygen to light anything