FindPartsInRegion3 always returning nil

local Region = Region3.new(Vector3.new(Truck.Value.Body._LeftMirror.Position.X + 20, Truck.Value.Body._LeftMirror.Position.Y + 20, Truck.Value.Body._LeftMirror.Position.Z + 20), Vector3.new(Truck.Value.Body._LeftMirror.Position.X - 20, Truck.Value.Body._LeftMirror.Position.Y - 20, Truck.Value.Body._LeftMirror.Position.Z - 20))
	
print(workspace:FindPartsInRegion3(Region,nil,math.huge))

The code above prints an empty table, despite there obviously being parts within the area it covers. Sorry if I’ve made a blatent mistake, I’ve never really worked with Region3.

Any help is appreciated.

They deprecated that and the documentation stopped getting updated about a week ago. There was a replacement function for this.

…could you provide the function?

I believe it was this:
Workspace | Roblox Creator Documentation

1 Like

Oh hey, I switched to it and it works now! Thanks a lot.