Loot Table Luck Multiplier not working

i am currently working on a RNG game called Gear RNG and i have a function which picks a Random Item from a module script based on chance but somehow the luck multiplier i made doesnt work

This is the Function with the Luck Multiplier

local globalluckmultiplier = math.huge

function GetRandomItem()
local Sum = 0
for GearName,Chance in pairs(items) do
Sum += Chance
end
local randomNumber = math.random(Sum)
for GearName,Chance in pairs(items) do
if randomNumber <= Chance * globalluckmultiplier then
return GearName
else
randomNumber -= Chance * globalluckmultiplier
end
end
end

and this is the module:

local gears = {
[“Cheezburger”] = 50,
[“Pizza”] = 33.33333333333333,
[“Latke”] = 25,
[“Space Sandwich”] = 20,
[“Cake”] = 14.285714285714285,
[“Chocolate Milk”] = 12.5,
[“Turkey Leg”] = 10,
[“Waffle”] = 8.333333333333332,
[“Watermelon”] = 6.666666666666667,
[“Taco”] = 5,
[“Smore”] = 4.166666666666666,
[“Candy Bar”] = 4,
[“Tom’s Beans”] = 3.571428571428571,
[“Foam Finger”] = 3.3333333333333335,
[“Pirate Juice”] = 2.857142857142857,
[“Bloxy Cola”] = 2.5,
[“Starblox Latte”] = 2.2222222222222223,
[“Witches Brew”] = 1.8181818181818181,
[“Bloxiade”] = 1.6666666666666667,
[“Illumina”] = 0.000001818181818181818,
}

return gears

But Somehow if i roll with infinite Luck or for example 100X luck it always gives me Witches Brew instead of the Highest Tier Gear like Illumina

here is a video showcasing it:

Funny thing, your making everything *100 instead of just items that are under the Rarity X

how do i implement this into my game?