As long as the sound is inside the helmet of your space suit, it will travel at the same speed as it would on Earth, through the same mixture of gases at the same pressure. Once it passes through the visor of your space helmet, its 'speed' has no meaning, since there's nothing for sound to travel through on the moon, and it doesn't travel at all.
Sound does not travel on the Moon because there is no medium, like air, for it to move through. While sound travels efficiently through air on Earth, it cannot propagate in the vacuum of space. Therefore, shouting on the Moon would not produce any audible sound.
;