Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

how to get children with with specific classes? [closed]

Asked by 5 years ago

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

0
name them; then findfirstchild with that name TheluaBanana 946 — 5y
0
or u could take extra effort to check them via findfirstchildofclass TheluaBanana 946 — 5y
0
i forgot to mention, i want to find multiple. gartfart36 5 — 5y

Closed as Not Constructive by valchip and DeceptiveCaster

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 5 years ago
Edited 5 years ago

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

Ad