FindFirstDescendant is not enabled

Hello, I’ve ran into a problem where. I want to change the the current size of the characters pads with a pre-existing size. But I’ve ran into a problem where it “FindFirstDescendant is not enabled” and Now I’m completely lost on what to do. Since everything isn’t in 1 spot and its sorted in folders. It wouldn’t be as easy as using :FindFirstChild. Please help me find a alternative.

Code:

		for Char,Meshes in ipairs(Character:FindFirstChild('Jersey'):GetDescendants()) do
			-- Check --
			if Meshes:IsA('MeshPart') then
				if not NewBody:FindFirstChild('Jersey'):FindFirstDescendant(Meshes.Name) then continue end
				local BasePartGoal = {Size = NewBody:FindFirstChild('Jersey'):FindFirstDescendant(Meshes.Name).Size}
				TweenService:Create(Meshes,TweenIno,BasePartGoal):Play()
			end
		end

1 Like

instead of :FindFirstDescendant() you’ll have to do a reclusive :FindFirstChild()

	for Char,Meshes in ipairs(Character:FindFirstChild('Jersey'):GetDescendants()) do
			-- Check --
			if Meshes:IsA('MeshPart') then
				if not NewBody:FindFirstChild('Jersey'):FindFirstChild(Meshes.Name, true) then continue end
				local BasePartGoal = {Size = NewBody:FindFirstChild('Jersey'):FindFirstChild(Meshes.Name, true).Size}
				TweenService:Create(Meshes,TweenIno,BasePartGoal):Play()
			end
		end

it’s not a beta feature that you can enable

Would that work. Cause I have each section of the outfit inside individual folders

basically, what I gave you acts exactly like the FindFirstDescendant

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.