This happens whenever I try to use the FindFirstDescendant function
Is there a way to "enable" it?
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()
this doesnt do anything
Change the path to the part first.
local object;
for index, value in pairs(object:GetDescendants()) do
if value.Name == "name" then
object = value
break
end
end
This is an alternative.
This discussion is preserved as it was. New answers, comments, and votes are closed.
6 comments
it cant be disabled, does the output show any error ?
yes'
it shows
FindFirstDescendant is not enabled
from the line in which i use FindFirstDescendant
wait never mind ifoudn the asnwer