local chances = {
["legendary"] = 1,
["epic"] = 4,
["rare"] = 10,
["uncommon"] = 20,
["common"] = 65
}
print(chances[3])
2 Likes
because you are trying to print index 3
where you have set the indexes as strings. To print them out, you have to do chances["legendary"]
or use a for loop.
4 Likes
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.