Just a demo of the number guessing game, but in this case Scratch guesses the number.
This code will show you how to combine text with numeric value. You can change the min and max inside the code.