Wed Sep 21, 2022 4:50 am
Hello
If you need the same sequence when you call math.random(), then you must set math.randomseed(same number every time before calling) before calling math.random().
If you want a different sequence of random numbers, then pass math.randomseed(os.time()) before calling math.random() because os.time() will return the time in number of seconds so it will be different every time.
John
Windows 10 Pro
AMD Ryzen 5 3600 6-Core Processor 3.60 GHz
64GB RAM
GTX1650 4GB
Samsung SSD 970 EVO Plus 1TB 1000.2 GB
Dual Monitors 32" & 27" Samsung
BM Multidock
Speed Editor
DR Studio Latest Version Fusion Studio Latest Version