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
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