Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

[ANSWERED] What's the textbox animation that camping uses called?

Asked by 5 years ago
Edited 5 years ago

I am really curious and desperate to know how and where i can learn a certain text animation that has an animation like typing, camping has a great example of this, all i know is that they use some complicated loop. Thanks for reading and thanks in advance if you decide to answer the question!

1 answer

Log in to vote
0
Answered by
bluzorro 417 Moderation Voter
5 years ago

The animation is known as a typewriter animation, and you need a TextLabel and a variable with the message that you want.

Here's an example:

--Local script, with parent the textlabel

local textLabel = script.Parent
local message = "Hey I love pizza"

for i = 1, #message do
    textLabel.Text = string.sub(message, 1, i)
    wait(0.025)
end
Ad

Answer this question