So I made a for loop that goes through Workspace and checks if there are any Object that have a ClassName called Part.
for i,v in pairs (game.Workspace:GetChildren()) do
if v:IsA("Part") then
--------------------------
--Insert Code Here--
--------------------------
end
end
Here is the Table where I want the Part to be added. So I got the condition set up but I want to know how can I Part to my Table.
PartList = {}
Thank you for taking the time to read my unusual question, I would appreciate it could help! :)

4 comments
Title meant to say "Objects" not "Object".
Why is there a "end)"? Should be "end"
Please do not mark this question as duplicate. There is an explicit difference between appending to a list and adding a key to a map. Although they are similar questions, they are very different things.
@TheContinentoEurope That was a silly mistake ignore it :s