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

Make a script apply to everything thats a 'child' (under or part) of a model?

Asked by 6 years ago

I have tried to do them all independently but that takes along time to do as i may have to go through 50 objects!

I still consider myself as a beginner.

0
There are also events such as ChildAdded. User#5423 17 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago
for i, v in pairs (Model:GetChildren()) do
    --WHAT U WANT
end)
Ad

Answer this question