Local script

local item = value.Name
print(item)
local invSpot = inventorySpot:Clone()
invSpot.Parent = inventoryList
invSpot.Name = statsProvider[item['Name']]

"value" is randomly found through a folder, and every item in the folder also has a spot in a module script;

TestItem1 = {
		['Icon']     = "rbxassetid://3441613514",
		['Name']     = "TEST",
		}

In this instance, i only have 1 value in the folder, named "TestItem1", but the name of "TestItem1" inside the table is TEST. How would I get the line

invSpot.Name = statsProvider[item['Name']]

to print TestItem1's Name which is "TEST" instead of it printing its current "nil"