More Random Number Help

What I have is a two MC’s and when they hit a random number is generated. But while they are hitting the number is constantly changing because random is still in effect. Can I make it so when they hit a random number is only chosen once?