Ok I can see your program now. First of all, do you want it to be random numbers, or do you want it to count 1 through 10, and then go down 10 to 1, and keep going in a loop like that until the spacebar is pressed?
Ok I am working on it now again. The problem with your program is that you made the RandomNumber variable inside of your method. That means that whenever your method ends, it gets rid of the variable that it assigned. The RandomNumber variable should be a world variable, accessible by every method in the program. I will fix this, and I will also add the 1-10 scale if I can. I'll post it when it is done.
EDIT: Wow, I'm sorry but you are going to have to remake this world or something because I just cannot get rid of that RandomNumber variable. Whenever I try to get rid of it, it just produces an error and won't let me do anything else. Can you try doing everything you did before you made that RandomNumber variable? And from now now only create variables in objects, not methods.
only create variables in a method when you are only going to use them in that method, because as soon as the method ends, the variable is erased (hence why your football always goes to the same place, the variable gets set back to 1 always.)
I have an idea on that, about making a variable numberUp and numberDown, and then (if numberUp < 10 and not 1), add 1. (If number == 10), set number up to 1, and subtract 1 from numberDown(which is at 10) and so on the other way.
It would be in an infinite if/else statement, and each time a numberUp or numberDown is changed, it would set that number as a different integer, numberDisplay, which would display it to the world in the text.
Oh, and make sure that you are using the latest version of Alice 2.2 (the one made on August 1, 2009). If you are not using that, I would suggest downloading it and using that from now on.