Im trying to make a GUI that on click of a button it will clone a textlabel that is in the frame. Im working out the datastore later
Connect to the button's MouseButton1Click event.
Next, clone the frame you want.
The reason why the frame you wanted to clone did not appear is because when cloning, the default parent is nil (I assume, at least.)
So, if you want to clone an object and make it appear on screen, you must set the parent in order to make it work.
Step three, is obviously, set the parent.
Very simple
local textToclone = game.Workspace.TextLabel --- Set the workspace to wherever the textlabel's original parent is local clonedtext = textToclone:Clone() clonedtext.Parent = game.StarterGui.ScreenGui