Questions
Guides
About
Blog
Scripting Helpers is winding down operations and is now read-only.
More info→
Log in to vote
0
math.random on table error : attempt to get length of upvalue 'dmg' (a boolean value)?
Asked by
PureConcept
0
9
years ago
local dmg = {20, 30, 35, 15, 22} local damage = dmg[math.random(1, #dmg)]
0
I'm not getting any problems with it. Is dmg being changed at all later in the script?
M39a9am3R
3210
— 9y
1
Im not getting any errors. Perhaps post the whole script?
Kyokamii
133
— 9y
Answer this question
Answer
Edit
Preview