For example

local region = Region3.new(Vector3.new(0,0,0),Vector3.new(100,100,100)
	local partsinregion = workspace:FindPartsInRegion3(region,PartToBeIgnored,100) --What if i don't want the second parameter to ignore anything what would I put?





--also what does the 3rd parameter do when I read it in the wiki it saids The maximum amount of BaseParts to be returned. what does that mean?

1 comment

1

Simply set the second parameter to nil. Also the third parameter means the max amount of parts the region can detect. So if you have more than 100 parts in the region but set the third parameter to 100, it'll only give/return 100 parts.