Ok guys im trying to get my banlist to line up one after another heres what i got so far

local banned 
local http = game:GetService("HttpService")
local url = "lolno"
local ret = http:GetAsync(url,true)
banned = http:JSONDecode(ret)

function update()
	banned = http:JSONDecode(ret)
	for i,v in pairs(script.Parent:GetChildren()) do
		if v.Name == "TextLabel" then
			v:Destroy()
		end
	end
	for i,v in pairs(banned) do
		lol = Instance.new("TextLabel",script.Parent)
		lol.Text = v
		lol.Position = lol.Position + UDim2.new(0,0,0.05,0)
		lol.Size = UDim2.new(1,0,.05,0)
	end
	
end

while wait(5) do
	update()
end

3 comments

0

If anyone is interested this is what its going on lol http://prntscr.com/78blox

0

Are you talking about the stretched text?

0

No Im trying to make a display for my banlist but when i insert the textlabel it just inserts in one place