I have a bunch of scripts that all shoot raycasts but i also have a bunch of invisible parts that i want to use as colliders.
I searched it up and saw a devforum post saying i could just set it in a script, but my raycasts still aren't going through.
did they block this so i have to use filterdescendantinstances? the devforum post is only about a year and a half old.
this is the code im using. i tried putting cancollide there and it worked perfectly fine so its not like its not getting the correct parts.
for _, part in pairs(script.Parent:GetDescendants()) do
if part:IsA("BasePart") then
part.CanQuery = false
end
end
** You are now Level 2! **