Lets say you need to search through all the parts in a folder, So the script searches through it, and if it finds a part named GO, it prints a message like “Yes, Found one.”. but If it can’t find one it print’s something like “No, No GO parts.”
You can use an Instance’s Instance:FindFirstChild(String name, bool recursive)function to search recursively through every descendent (and every descendent’s descendents) in your folder for name.
If the function finds it, it will return that Instance. If it doesn’t find it (doesn’t exist in your folder) it will return nil (nothing).