I’m making a script that’s trying that gets a table from a dictionary, but it keeps through nil, despite the table having something in it.
local Inventory = TheValleyFunctions.GetInventory(Player)
print(Inventory.Data)
local SlotInformation = Inventory.Data[SlotFrame.Name]
print("Slot Information: ",SlotInformation)
print(Inventory.Data) & print("Slot Information: ",SlotInformation)
SlotFrame.Name
is 1, so it should be getting the table labeled [1] in Inventory.Data
I’ve tried using .tostring, and just straight up using 1 and “1” in place of SlotFrame.Name
, but all are nil.