How i can check if dictionary is in table

Hi, i’m have a trouble how find dictionary in table. I wan’t to get methood of checking if dictionary is in table. I wan’t to achieve something like this

local table = { -------- example table
Name = part.Name,
Anchored = part.Anchored,
}

and now if table find Name , do function

local Table = { 
	Name = part.Name,
	Anchored = part.Anchored,
}


if Table["Name"] then 
	--// do stuff
end
1 Like

Oh, thanks a lot, i don’t know it is that easy. Anyway now i can make my part saving system

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.