How would I go about making this type of textLabel animation (shown below).
I want to use it on a loading screen and I’m thinking its just a tween, but I’m not so good with tweening. Any help and steering me into the right direction would be appreciated.
V ( it would loop continuing going back and forth ofc )
You could set up a TweenInfo value with its repeating option set to a massive number, so you won’t have to deal with waiting until a tween cycle ends when using normal looping.
Replace everthing from EasingDirection up with anything you want. The values that matter here are math.huge and true.
local tinfo = TweenInfo.new(
delay,
Enum.EasingStyle,
Enum.EasingDirection,
math.huge,
true
)
After that, mess with rotation values in a tween’s goal to get what you want. Remember that you can use Tween:Stop() to stop the tweening at any point, since it goes on (virtually) forever without needing a loop.
Of course, logically, it will stop playing at some point, but given that math.huge is such a large number, you won’t ever need to worry about that part.
You would need to create a Tween object containing the tween info, the object you want to manipulate, and the end properties of said object.
local ts = game:GetService("TweenService")
local tiinfo = TweenInfo.new(
delay,
Enum.EasingStyle,
Enum.EasingDirection,
math.huge,
true
)
local tw = ts:Create(
script.Parent,
tinfo,
{
Position = UDim2.new(0,0,0,0) -- example, set your own stuff in here
}
)
tw:Play()
wait(5)
tw:Stop()