Every number has the same possibility: 1/(number of values)
In your example (1-4), the chance of having the same number again is 25%, that's quite a lot.
If you want to 'block' a specific number for a given time, you'll need an extra OnUpdate script that handles a blacklist.
Or you fix it with a looping function that loops until the current random number is different to the previous.
|