So let's say I wanted to delete the parts only in a region3 thingy that I've created, and there are multiple parts called "Part" in the workspace.. this would work, right?
local k = Region3.new(Vector3.new(0,0,0), Vector3.new(5,5,5))-- idk if that actually how u do it, but whatever
for _,v in pairs(workspace:FindPartsInRegion3(k,nil,100) do--btw, as a side note, what's the difference between this and saying "for i,v", instead of "for _,v"?
v:Destroy()
end
That works right? |