#how do i get a tables parents?
1 messages · Page 1 of 1 (latest)
local table = workspace.Folder:GetChildren()
for _, v in ipairs(table) do
print(v.Parent.Name)
end
think i can get it working now thanks
why ipairs
they are both useless in luau
ya but i cant use a pairs loop anyway because it starts infinitely looping
that can't be true unless you
have an infinite array
the script adds stuff to the table so it starts adding it over and over again