Basically i am just trying to sort this table from highest chance to lowest chance but i dont know how to do it i tried to do it with table.sort but i failed anyways here is the table:
local RNG = {
Money1 = {
Chance = 1,
Name = "Money1",
},
Money2 = {
Chance = 3,
Name = "Money2",
},
Money3 = {
Chance = 6,
Name = "Money3",
},
Money4 = {
Chance = 14,
Name = "Money4",
},
Money5 = {
Chance = 25,
Name = "Money5",
},
}