What is the problem? I need to get the names of all the ImageButton, but instead I get "nil". Where was I wrong?
script.Parent.MouseButton1Click:connect(function()
local logos = script.Parent.Parent:GetChildren()
for i,v in pairs(logos) do
if v:IsA("ImageButton") then
print(logos.Name)
end
end
end)
