local delay = math.random(25, 50)
[string "LuaVM"]:5: attempt to index a nil value (global 'math')
I can't use math.random anymore is there any way to fix this ?
local delay = math.random(25, 50)
[string "LuaVM"]:5: attempt to index a nil value (global 'math')
I can't use math.random anymore is there any way to fix this ?
Copyright © 2021 Jogjafile Inc.
If
math
library is missed you can insert the following code block at the beginning of your script.It will not fix the whole
math
library, but only some of the most frequently used functions (includingmath.random
).It will also fix the following errors: