Question: what happens to the root-mean-square speed of the molecules?
Answer: The speed of the molecules in a gas is proportional to the temperature and is inversely proportional to molar mass of the gas. In other words, as the temperature of a sample of gas is increased, the molecules speed up and the root mean square molecular speed increases as a result.