I need script to move textLabel, however make it so, that textLabel that going out of frame can’t be seen or it’ll be truncate.
Right now I’m using UDim2 in my script, however, when TextLabel proceed to move out of the frame text is still able to see.
local Messages = {"//: TEXT"}
local StartingPosition = -0.003, 0, -0.032, 0
local EndPosition = 1.003, 0, -0.032, 0
while wait(1.5) do
script.Parent.Parent.TextLabel.Position = UDim2.new(-0.003, 0, -0.032, 0)
randomMessage = Messages[math.random(1, #Messages)]
script.Parent.Parent.TextLabel.Text = randomMessage
script.Parent.Parent.TextLabel:TweenPosition(UDim2.new(1.003, 0, -0.032, 0), "Out", "Linear", 8, true)
wait(5.4)
end