Is it possible to run 2 or more ignore lists with FindPartOnRayWithIgnoreList, I tried everything i could think of.
Example:
workspace:FindPartOnRayWithIgnoreList(ray, list1, list2)
You could do something like this to combine two lists/tables into one.
local table1 = {4,5,6} local table2 = {1,2,3} for i,v in pairs(table1) do table.insert(table2,#table2 + 1,v) end for i,v in pairs(table2) do -- this just prints the components of table2 print(v) end
Output:
1
2
3
4
5
6