How do I make a typewriter effect for my text labels?

I wanna make a typewriter effect for my text labels so how would I do it?

Ive looked at this post but i cant seem to figure out how to get it to work.

this should work

text = string.split('text here','')
label = 'lable here'
for i,v in ipairs(text )do
    label.text = label.text..v
end
1 Like

Nothing seemed to happen and i got this error.

10:02:43.722 Players.spydercam500.PlayerGui.ScreenGui.LocalScript:27: Expected identifier when parsing expression, got ':' - Studio - LocalScript:27

local Text = "hello"
local TextLabel = path to textlabel
local Time = .05

for i = 1, #Text do
	TextLabel.Text = string.sub(Text, 1, i)
	task.wait(Time)
end
3 Likes