local outfits = {{id = 136, chance = 20}, {id = 142, chance = 40}}
local lookType, randomChance = nil, math.random(1, 100)
for k, v in pairs(outfits) do
if randomChance <= v.chance then
lookType = v.id
break
end
end
I do this very fast, but this isn't work 100% perfect....