hi! so i made a script to scroll down automatically when a new message appears so the latest message can always be seen, but as you can see, it only works 1/2 of the time, strange…
heres the script:
script.Parent.ChildAdded:Connect(function(child)
if child:IsA("TextLabel") then
if #script.Parent:GetChildren() >= 13 then
script.Parent.CanvasPosition = Vector2.new(0, child.AbsolutePosition.Y)
end
end
end)
could anyone help me fix this?