Im trying to make an Inventory System and i have one script looks like that:
for i,v in pairs(UI.Scroll:GetChildren()) do
v.MouseButton1Click:Connect(function()
print(“A”)
end)
end
but that only works on frames that are already there.
now i want to know how i could make it that it works on new added ones to