I am trying to create a command log GUI, which has a scroll frame. I have made a script that will insert 100 textlabels into it. However, they do not render inside the scrollingframe. I can see them in the explorer. But they are not there. Please help.

Here is the code I used to generate them:

local gui = script.Parent.Parent.Parent
local bar = gui:WaitForChild("Bar")
local main_frame = bar:WaitForChild("Frame")
local scroll = main_frame:WaitForChild("ScrollingFrame")
--[[ (Unrelated) local event = game.ReplicatedStorage:WaitForChild("GiveLogs")
local fetchLogs = game.ReplicatedStorage:WaitForChild("FetchLogs") ]]--

function generate()
	local offset = 0
	for i = 1,100,1 do
		print(i)
		local label = Instance.new("TextLabel")
		label.Parent = scroll
		label.Size = UDim2.fromScale(1,0.01)
		label.Position = UDim2.fromScale(1,0.01)
		label.Name = "Log"..tostring(i)
		offset += 0.01
	end
end

generate()