Sorry if this is a dumb question but I can't seem to be able to get region3 to work. I am trying to find parts near a certain position, however I cannot figure out how to do this using region3. Here is my attempt:
while true do wait (1)
local list = {workspace.Folder}
region = Region3.new(script.Parent.Position,Vector3.new(400,400,400)) -- position, size right?
local parts = workspace:FindPartsInRegion3WithWhiteList(region, list, 1000)
for i = 1, #parts do
print(parts[i].Name)
end
print("the script is running")
end
There is a part descended from "Folder" right next to the script's parent but the script does not detect it. I have absolutely no idea how to use region3s so the problem is probably something really obvious. thanks in advance :)

1 comment
thx