guys how can i use :isA in for loops please explain
COMMUNITY QUESTION
How to can i use :isA loop? i really need the answer
2 answers
Uhh.. By doing :IsA()...? Loops dont change arguments....
for name,inst in pairs(workspace:GetChildren()) do
if inst:IsA("BasePart") then --Define className in the IsA to check if an instance "IsA" Classname.
inst.BrickColor = BrickColor.Random()
end
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
