somehow math really does everything. here you go you know how scratch gets random numbers now... Space to change the numbers and click anywhere to activate. also remember. This is a PRNG which uses seeds so if you have two accounts that launched the game at the same time and generated a number at the same time. might get the same numbers. note: this prng runs/changes the seed every scratch tick in a predictable amount. but its every tick thats why its hard to accually predict the random number. but there might be a prng every second, if its every minute then if you roll something bad wait ten minutes before rolling again else if its good SPAM THE ROLL BUTTON
GPT-4 for half the code (gpt4 made the classic pick random 1 to 4) mainly uses the "( ) mod ( )" block which gets the remainder of the two numbers. see inside if you want to see how this even somehow works