My script
~~~~~~~~~~~~~~~~~
local textLabel = script.Parent:WaitForChild("TextLabel")
wait(4)
local function typewrite(object,text)
for i = 1,#text, 1 do
object.Tect = string.sub(text,1,i)
wait(0.05)
end
end
~~~~~~~~~~~~~~~~~
typewrite(textLabel, "Welcome to the match!")**
It is supposed to make a typewrite effect, it will write on the text label with each character on a wait to make it look like it is writing.. But it is not working. Please help.
✓ ANSWER ACCEPTED
Help with a script that is supposed to make a text effect on a text label?
1 answer
✓ Accepted answer
You misspelled Text on line 6. It's object.Text.
This discussion is preserved as it was. New answers, comments, and votes are closed.
