Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how to create new frames in a scrolling gui?

local number = 20
script.Parent.Activated:Connect(function()
	local gui = script.Parent.Parent.ScrollingFrame.module:Clone()
	local frame = script.Parent.Parent.ScrollingFrame.module
	gui.Position = UDim2.new(0,frame.AbsolutePosition.X,0,frame.AbsolutePosition.Y - number);
	print(number)
	number = number + 20
	gui.Parent = frame.Parent
end)

title says it all, im basically trying to make a player list but with no slots.

1 answer

You can use :Clone() or instance.new then move it down a bit, I already made a player list with some more complicated coding

1 comment

0

thats what i did, but it doesnt show up in the scrolling frame

This discussion is preserved as it was. New answers, comments, and votes are closed.