If I were to try and create a for loop that checks for the children of the contents of of a table, how would I do it? MY current idea is:
local 1 = game.Workspace.Part1
local 2 = game.Workspace.Part2
local 3 = game.Workspace.Part3
local table = {1,2,3}
for _, v in pairs (#table:GetChildren())
if v:FindFirstChild("Value1") == true then
v:Destroy()
end
end
Is this correct?

1 comment
you are looping through a number, try doing table:GetChildren() instead of #table:GetChildren()