Hello, im making a logger script wich logs textboxes, chat and output in a script builder, the problem i have is that i do it and the textlabel appears and dissapears, even if i change the size to textbounds manually it doesnt fit, it just gives the X, the Y is always 14, Why?
local mtoGlobal = _G["logsGlobal"] -- a table
-- outputlogs is a table too
for i,v in pairs(mtoGlobal.Outputlogs) do
local cop = script.Parent.tst:Clone() -- cloned textlabel
cop.Visible = true
cop.Parent = script.Parent.ScrollingFrame
cop.Text = v
wait(0.2)
local el = UDim2.new(0,225,0,cop.TextBounds.Y)
local el2 = UDim2.new(0,0,0,script.Parent.ScrollingFrame.UIListLayout.AbsoluteContentSize.Y)
cop.Size = el
script.Parent.ScrollingFrame.CanvasSize = el2
end
What am i doing wrong?
