re-generate another number from the same rnd.range

I’ve stored a Random.Range number, how can I remove that Random.Range number from the range so when I search again for the same Random.Range it’ll find a number between that range but will ignore the number from the first random.range this is what I’ve got so far : http://pastie.org/1002368

for e.g. :
Random.Range(0,13) // I got number 5.
Random.Range(0,13) // I’ll get a number from 0-13 but without 5.
//5 won’t be chosen in any way.

You can’t ‘remove it from the range.’

You can however store the previous results in an array and if your new number was generated before, simply pick another.

Can u please show me a code how u’d do that?
I find hard to implement that, I tried alot of things and none of them works.

You might want to look at the random picking/shuffling library in this thread. The SampleRemove will pick several items from the list at once, but never the same one twice. Another way to go is to use the Shuffle function to randomly scramble the list and then take the items one by one as you need them. You should put the source file in the Standard Assets or Plugins folder of your project to make the functions available to JavaScript.