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

How can I manually add or subtract to use in UDim2?

Asked by 9 years ago

I really to want make a surface Gui with text labels that go on top of each other(like a list).

names = {"Bob","Tod","Jake","Dude","Wut" }--The names
for i,v in pairs (names) do
print(v)
h = Instance.new("TextLabel",script.Parent)
h. Text = v
h.Name = v
h.Size = UDim2.new(0,100,0,100)
wait(1)
h.Position = h.Position+UDim2.new(0,0,1,0)--For each name move up one
end

Answer this question