I’ve worked on roblox studio on this thing I wanted to try out and I’ve ran into problems before related to this but fixed it. This time the problem is pretty weird. Depending on the amount of buttons, if they are more than 2 it starts breaking.
I’ve created these buttons with instance.new in a seperate for loop. I don’t know if that changes anything.
If there are 2 buttons it works. If there are 3 buttons the first one fires once, 2nd one fires 2 times, 3rd one doesn’t fire when clicked. If there are 4 the first one fires once, the second one fires 3 times, 3rd one doesn’t fire, and 4th one fires once when clicked.
Its cool. When I did some checking with prints I found when I did print(v) that if there were 3 buttons then one button would print once, one would fire twice, and the other would not print at all. Could this be a problem with GetChildren()?