You can use the Fast-Random-Extension to use seeded random number generation, which I used in a similar project to what you are aiming to do. You can also search the forums for more examples of “seeded RNG”.
Self promotion: You can find extensions like this and more at Awesome Arcade!