Hello, I recently created a ban list, and made a crappy one because I had no idea how to use scrolling guis, but today I decided to give it a shot. It extends as normal, adds it, but the buttons in it are extremely large compared to kme adding them in studio. even making the buttons size really small did make it smaller, but then they space out. Heres the localscript for you (sorry about indentation, I indent weird):
script.Parent.Parent.Parent.Parent.Dev.Banlist.MouseButton1Click:Connect(function()
script.Parent.Script:WaitForChild("BanList",20)
for i,v in pairs(script.Parent.Script.BanList:GetChildren()) do
local txt = script.Parent.Parent.Parent.TexyButton:Clone()
txt.Parent = script.Parent.Parent
txt.TextSize = 18
txt.TextScaled = false
txt.Visible = true
txt.Name = v.Name
txt.Text = v.Name.." ("..game:GetService("Players"):GetUserIdFromNameAsync(v.Name)..")"
local ls = script.LocalScript:Clone()
ls.Parent = txt
ls.Disbaled = false
local ab = script.Parent.AbsoluteContentSize
script.Parent.Parent.CanvasSize = UDim2.new(0,0,0,ab.Y)
end
end)