How to detect parts inside a Sphere part?

i want to make a growing redzone part effect where every part thats inside this redzone will disappear so I did with a touched event but it missed some parts that are welded to the baseplate inside the zone, any help?

Look at this →

Sorry region3 is a rectangle, the parts i want it to take effect is inside a sphere

BasePart:GetTouchingParts()

:+1:

1 Like

is this how i do it?

for _, p in pairs(script.Parent:GetTouchingParts()) do
p:Remove()
end

it didnt remove the parts, any help?

Remove() is deprecated,

for i,v in pairs(script.Parent:GetTouchingParts()) do
    v:Destroy()
end
1 Like