I don't know if I asked the question right or not, so sorry if I didn't, but I am trying to make a chat gui and I need to know how to make the next persons chat line go down instead of all the lines piling up on top of eachother, this is my first time scripting a chat gui so let me know what I should add or what I should change, I hope this explains it well enough, heres the code I have so far.
Code:
wait(2) local plr = script.Parent.Parent.Parent plr.Chatted:connect(function(msg) local chat = script.Parent.Chat local chatline = Instance.new("TextLabel", chat) chatline.Name = "Line" chatline.Visible = false chatline.BackgroundTransparency = 1 chatline.Size = UDim2.new(0,175,0,20) chatline.TextYAlignment = "Top" chatline.TextXAlignment = "Left" chatline.ClipsDescendants = true chatline.TextColor3 = Color3.new(255,255,255) chatline.Text = "["..plr.Name.."] "..msg.."" chatline.Visible = true end)