Ok,I have this huge gap within the position of 0,0,0 inside the scrolling frame.The problems is that I can't spawn anything within the gap because I multiplied every text label position by 100.
s = Instance.new("ScrollingFrame",script.Parent)--Makes the ScrollingFrame s.Position = UDim2.new(0,50,0,30) s.Size = UDim2.new(0,700,0,540) s.CanvasSize = UDim2.new(0,0,6,6) s.ScrollBarThickness = 20 names = {"0","1","2","3","4","5","6" }--The names for i,v in pairs (names) do print(v) h = Instance.new("TextLabel",s)--Puts it all in the ScrollingFrame h. Text = v h.Name = v h.Size = UDim2.new(0,100,0,100) wait(1) h.Position = UDim2.new(0, 0, 0, 100*i)--For each name move up one end
I don't know if I understand what you're saying.
s = Instance.new("ScrollingFrame",script.Parent)--Makes the ScrollingFrame s.Position = UDim2.new(0,50,0,30) s.Size = UDim2.new(0,700,0,540) s.CanvasSize = UDim2.new(0,0,6,6) s.ScrollBarThickness = 20 names = {"0","1","2","3","4","5","6" }--The names for i,v in ipairs (names) do print(v) h = Instance.new("TextLabel",s)--Puts it all in the ScrollingFrame h.Text = v h.Name = v h.Size = UDim2.new(0,100,0,100) h.Position = UDim2.new(0, 0, 0, (i*100)-100)--For each name move up one end