|
Post by sombra842 on Oct 5, 2020 23:23:00 GMT
Hi everyone! Does anyone know if it's possible to generate a random wait time with wait()?
I thought about the math.random function in Lua however I do not see it listed as supported in AnkuLua.
Essentially my goal is to generate a random wait between 0.15-2.0, any help would be greatly appreciated.
|
|
|
Post by AnkuLua on Oct 6, 2020 0:34:04 GMT
AnkuLua supported all lua 5.1 built-in functions. You can use following script wait(math.random(200-15)/100)
|
|
|
Post by sombra842 on Oct 8, 2020 1:33:03 GMT
AnkuLua supported all lua 5.1 built-in functions. You can use following script wait(math.random(200-15)/100) Amazing thank you.
|
|