Use x = script:GetChildren()
for i,v in pairs(x) do
if v:IsA("ImageLabel" then
v:GetChildren()
for i = 1,#v do
if v[i]:IsA("LocalScript") then
--script
end
end
or look up how this works
LS = script.Parent:FindFirstChild("LocalScript", True)
Should look through all decedents for localscript |