I have been searching everywhere for some type of moving text. Like when you die in the game doors you can see the blue text moving like if its bouncing. I did not see anyone explaining how to do it nor was I able to find out the math behind the movement.
I know how to use TweenService. I would just like to know how to make something similar to the “guiding text” as they call it in that game.
I mean there is :Lerp()
but I do not know any other method other than that and Tweening.
Here is an example for anyone who is willing to help me:
https://www.youtube.com/watch?v=dOnYN1nmYI4
Those messages primarily use TweenService
so I suggest you learn about it.
As I said earlier, I already know about TweenService
. So if I rephrase it, I want to reproduce the animation using TweenService. What properties should I give to TweenService for it to make it similar.
Edit: To make it shorter: I want to use TweenService to reproduce this effect. I know I have to use Position and Transparency. What I want is help to find the “formula” to get the animation to look like the video. (I want the values)
You should use properties such as Position
and Transparency
What I am trying to get:
- The math “formula” to know the end position of the animation.
Edit: I am going to sleep, I will not be answering right now. Feel free to leave an answer I will check it in the morning.
local gui = --where ur gui is located
local TS = game:GetService("TweenService")
local TI = TweenInfo.new(--insert ur number here)
local goals = {["Position"] = UDim2.new(--insert position here)}
local goals2 = {["Position"] = UDim2.new(--insert position)}
local track = TS:Create(gui,TI,goals)
track:Play()
track.Completed:Connect(function()
task.wait(--insert how long u want to wait to play the next position)
local track2 = TS:Create(gui,TI,goals2)
track2:Play()
end)
I dont think this answers your question but I hope it helps.