So my game has been using rays quite frequently, and for some strange reason, I cannot create an ignore table, I can only link a single model. I'm using the code like this: function RayCast(RayInfo,ign) local ignore = {} table.insert(ignore,game.Workspace.Camera) for _,i in pairs(ign:GetChildren()) do table.insert(ignore,i) end local hit,pos = game.Workspace:FindPartOnRay(newray,ignore) end

RayCast(rayInfo,script.Parent) --Enemy Model.

it returns that it cant cast a value to the object, in this case "ign" I couldn't see any documentation on the wiki for this in the FindPartOnRayWithIgnoreList, is there anything I can change here?