so that was my problem thank you for reading!
The problem here is likely the or
check. Try to see if this works:
if trash.Name == "UIGridLayout" or trash.Name == "Template" then
continue -- skip the iteration
end
print(trash.Name)
1 Like