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)`

1 comment
you've made it quite hard to read when you spammed `` on your code lol