Not asking for a script but tried to look all over roblox wiki, i couldn't find it.
What I mean by filter out instances by property is the part only get edited when it has a certain name or something. For example: There are 3 parts named "Blocky" and other parts named different and 3 of those parts can be edited by script because it has the certain name.
I am gonna use this for recoil patterns
for _,w in pairs(rpattern) do
if w:IsA("Vector3Value") then
if tonumber(w.Name) == 5 then -- This is the filter. If the name is 5 then below gets activated using w's or rpattern's properties.
rnum = rnum + 1
local camrot = cam.CoordinateFrame - cam.CoordinateFrame.p
local camscroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
local rcl = CFrame.new(cam.Focus.p) * camrot * CFrame.fromEulerAnglesXYZ(w.Value)
cam.CoordinateFrame = rcl*CFrame.new(0, 0, camscroll)
end
end
end
heres the code i have so far just incase you want to help me
I'd really like it more if you answer how to filther instances by its properties (size, vector3, color, etc.).

3 comments
You have to explain what you mean. Filter a list? Which are you interested in the first place? All of them? All of them in a model? Only children of a model? Do you only want ONE answer or do you want ALL of the things that match?
edited. Happy? ;3;
Have you tried setting up the 'if' statement on line 3 to see if the Value's Name is a Number ('tonumber' can convert a string-number to a number-number, but can also return a 'bool', I think)? :)