Buttion not cloning

I am trying to create a ShopGUI and i’m trying to make a shop where the buttions for items creating themselves automatically but I made the system to clone buttions for each item the buttion doesn’t clone

Code:
image

You need to set the parent of CurrentButton to Frame.ScrollFrame like this:

CurrentButtion.Parent = Frame.ScrollFrame

Also, I would recommend putting CurrentButton = v:Clone() at the start, and also making it a local variable.

1 Like