Here's the issue. I am using a for loop to view all buttons inside of my Frame, but when I use :GetChildren() or :GetTagged it always gives me the ones firstly created in the UI and when I make new button It does not register it inside.
My question is: How Can I take those Buttons to be inside of the tag and be registered in the for loop? / How can I run the for loop every time a new button is made?
Here's a code sample:
for i,v in pairs(CollectionService:GetTagged("TaskButtons")) do
v.MouseButton1Click:Connect(function()
print(v.Name)
end)
end
