local Tool = game:GetService("InsertService"):LoadAsset(List[math.random(#List)])
List is a table of tables containing information about the gear it's loading, but I can't get it to load
Output : Unable to cast Array to int?
Format of the tables
List = {
[1] = {[1] = "16895215"; [2] = "Darkheart"; [3] = "246454502"; [4] = "It's darker than RGB(0,0,0) and it steals \n life from your enemies. What more is there to say."};
[2] = {[1] = "23727705"; [2] = "Spec Epsilon Biograft Energy Sword"; [3] = "246455445"; [4] = "The superintelligent cloud people of the \n distant future find the history of human conflict hilarious and ironic."};
[3] = {[1] = "14876573"; [2] = "Spec Beta Biograft Energy Sword"; [3] = "246456657"; [4] = "In 2113, decades after the initial release of the hugely successful Spec Alpha biograft energy weapons"};
[4] = {[1] = "16641274"; [2] = "Illumina"; [3] = "246455445"; [4] = "Telamon's favorite weapon from Sword Fight on the Heights."};
}

4 comments
The id # is listed in the table as a string
nvm i got it
Congrats on becoming a Scholar =
Thanks :D