Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

how to create new frames in a scrolling gui?

Asked by 4 years ago
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

Log in to vote
0
Answered by 4 years ago

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

0
thats what i did, but it doesnt show up in the scrolling frame tigerman1234567hi 5 — 4y
Ad

Answer this question