I'm trying my hardest to create a rarity system in my game but can't seem to get it. I haven't yet settled on a way to correctly go about it, but what I have come across is a question. How would I go about adding number values within a table together? (I'm using a ModuleScript)
ModuleScript:
local module = {
['Item List'] = {
['Item One'] = 50,
['Item Two'] = 25,
['Item Three'] = 10,
['Item Four'] = 5,
['Item Five'] = 0.1
}
}
return module
