Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how to get children with with specific classes?

I'm trying to find the number and boolean values of a part. can anyone help?

3 comments

0

name them; then findfirstchild with that name

0

or u could take extra effort to check them via findfirstchildofclass

0

i forgot to mention, i want to find multiple.

1 answer

Hope this helps! Make sure to mark this as the Solution if this helped!

for _,v in pairs(script:GetChildren()) do
	if v:IsA('Part') then
		-- replace Part with your ClassName.
	end
end

This discussion is preserved as it was. New answers, comments, and votes are closed.