How can I make an infinitely scrolling textlabel?

Hello, I want to make the text on my GUI scroll infinitely but I can’t seem to figure out how.
I want to make it scroll like in this video: https://youtu.be/BTHewsFv-xg?si=kIIkfiIyWat_QMDg

This is how my GUI looks like. The text that I want to have the scroll effect are the 2 text labels on top and bottom (the “ELIMINATE ELIMINATE ELIMINATE” ones).

3 Likes

Here you go, this should help you.

local function tweenLabel()
	script.Parent.TextLabel.Position = UDim2.fromScale(1,0.5)
	script.Parent.TextLabel:TweenPosition(UDim2.new(0,-script.Parent.TextLabel.Size.X.Offset,0.5,0),Enum.EasingDirection.InOut, Enum.EasingStyle.Linear, 2, false, tweenLabel)
end

tweenLabel()
1 Like

This doesn’t look like in the video.
RobloxStudioBeta_wQmkGMBung

Also I’m really sorry if I seem to be rude, I just want to get straight to the point.

Nevermind. I found out another way. Thanks for your help though!

Could you share the script? I’m also looking for an effect like this

Well, I just increased the size and tweened the position for my use case.

But while I was searching a solution I came across this:

It’s made by an actual roblox staff and it’s really cool. It’s even easy to use.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.