find

Finds stuff in a given part name or classname with the given objects in a table

modules.find(parent: Instance, options: { [any]: any })

Example

local char = game:GetService("Players").LocalPlayer.Character
local all_parts = modules.find(char,{
    "BasePart"
})

print(#all_parts) -- returns a table with everything that's found or nil if nothing is found

Last updated