This happens whenever I try to use the FindFirstDescendant
function
Is there a way to "enable" it?
FindFirstChild(string:instanceName, boolean:recursive)
recursive - search through the children of children, and the children of those children, etc. tip: children of children is known as getdescendants()
local Part = nil local Descendants = Part:GetDescendants()
lua
local object;
for index, value in pairs(object:GetDescendants()) do
if value.Name == "name" then
object = value
break
end
end
This is an alternative.