Below is the code I'm running to find the Children I need, but another aspect I need with it is finding out how many Children there are. Thank you!
local sP = script.Parent local descendants = sP:GetDescendants() for index, descendant in pairs(descendants) do if descendant:IsA("NumberValue") then print(descendant) end end
local sP = script.Parent local descendants = sP:GetDescendants() local amt = 0 for index, descendant in pairs(descendants) do if descendant:IsA("NumberValue") then print(descendant) amt = amt + 1 end end print(amt)