GetChildByClassName(Instance obj
public lua v1 · immutablefunction GetChildByClassName(parent,string) local c = parent:GetChildren() for i = 1, #c do if c[i].className == string then return c[i] end end return nilendfunction GetChildByClassName(parent,string) local c = parent:GetChildren() for i = 1, #c do if c[i].className == string then return c[i] end end return nilend