for _, brick in pairs (game.Workspace:GetChildren()) do
if brick.Name == "Wall" then
print("found the wall")
end
end
This script checks for the children of workspace for a part named "Wall". However "Wall" is in a model which is a child of workspace...how would I get the wall part because the lines above only seem to search through Workspace and not the models inside of it.

3 comments
:IsDescendantOf
Can't you just do game.workspace.WhatEverTheModelNameIs:GetChildren()
No because there are multiple models.