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

Problem with positioning?

Asked by 9 years ago

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
0
If anyone is interested this is what its going on lol http://prntscr.com/78blox xXUltraAltraXx 20 — 9y
0
Are you talking about the stretched text? traigla 75 — 9y
0
No Im trying to make a display for my banlist but when i insert the textlabel it just inserts in one place xXUltraAltraXx 20 — 9y

Answer this question