There is no error but it is not spinning, here is the code
local CNRs = {
--Ult
Freecss = .05,
Kurta = .05,
Zoldyck = .05,
Meruem = .05,
Netero = .05,
-- Legendary
Lucilfer = 1,
Neferpitou = 1,
Kite = 1,
Morow = 1,
Portor = 1,
Gigante = 1,
Pyon = 1,
--Epic
Uvogin = 3,
Machi = 3,
Hazama = 3,
Shizuku = 3,
Shalnark = 3,
Pakunoda = 3,
Bonolenov = 3,
Krueger = 3,
Magcub = 3,
Mackernasey = 3,
Nana = 3,
--Rare
Knov = 15,
Hill = 15,
Yorkshire = 15,
Paradinight = 15,
Kobayakawa = 15,
Bine = 15,
McMahon = 15,
--Uncommon
Siberia = 20,
Pokkle = 20,
Hanzo = 20,
Buhara = 20,
Baise = 20,
Bodoro = 20,
Geretta = 20,
--Common
Tsezguerra = 70,
Agon = 70,
Amori = 70,
Umori = 70,
Imori = 70,
Tonpa = 70,
Bourbon = 70,
Ponzu = 70,
Kyu = 70,
Todo = 70,
Morel = 70,
Mercer = 70,
Goz = 70,
}
local function getSizeOfDict(dict)
local count = 0
for _, _ in pairs(dict) do
count += 1
end
end
local function getRandom(dict) local random = math.random(1, getSizeOfDict(CNRs))
local chosen = ""
for index, _ in pairs(dict) do
if index == dict[random] then
chosen = dict[random]
break
end
end
return chosen
end
for c = 1, 15 do
script.Parent.Parent.Clan.Text = getRandom(CNRs)
end