Im trying to make an infinite scroll(basically social media).
but it wont clone itself below the next. Also, when I switch Canvas size to infinite it turn invisible.
(This is with scrolling frames and labels inside) (GUI)
while true do wait(0.2) Instance.new() local guiObject = script.Parent guiObject.Position = UDim2.new(0, 0, 0.5, 0.1) wait(0.2) end
In order to clone something, you need to use :Clone(), Instance.new creates a completely new object(a part for example).
while true do wait(0.2) local guiObject = script.Parent:Clone() -- creates a clone of parent guiObject.Position = UDim2.new(0,0, 0.5,0.1) wait(0.2) end