Heres a link to the video https://gyazo.com/1955ebcd46220cf1da28c8255b373855.mp4
I want to make the first effect when the text kinda does a bounce effect. ive been trying for hours but couldnt figure it out, so ive resorted to asking better developers for help. Thank you for reading.
It appears to me the text size is being increased and decreased, and at the same time, the text field is wrapping the text to expand out based on the character size. Problem is, you can only size one field at a time. So this means they might have used another means to display that. My first thought is something along the lines of individual text objects for each letter, and the evidence to support that claim is the synchronization of the rainbow color, which also questions the use of a sort of matrix configuration.
It seems to use UIgradient, you can experiment with this maybe, I’m sure there is a tutorial for it on YouTube.
Roblox’s rich text has a <font size=whatever>
tag.
I’d imagine that this was done by setting the size of individual characters.
This code doesn’t do that, rather, it sets every letter to a random size.
(Does NOT account for UTF-8, don’t use this code anywhere that would give it non-ASCII letters like Д or シ or )
local text = "Hello world"
-- this function takes a string and puts a random font size on it
function charfunc(str)
return "<font size=\"" .. math.random(10, 20) .. "\">" .. str .. "</font>"
end
print(text:gsub(".", charfunc))
The effect before that size change effect is called a typewriter effect, letters appear one at a time.