I made a button where if u click the button, the button clones, i place the button in the frame and when i click it once, it clones once but when i click it for the second time, it clones twice, its like its multiplying instead of adding up. heres the code:
`local frame = script.parent.parent`
local button = script.parent
`button.mousebutton1click:connect(function()`
`local NewButton = frame:FindFirstChild("TextButton"):clone() NewButton.Name = "NewButton" NewButton.Parent = frame`
`end)`
it's bc the buttons are stacked on each other and so u click them all at the same time.
Just add in a UIGridLayout into the frame, it will space them out for you.