Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Add a screen gui, add a text label, add a local script
- local textLabel = script.Parent -- The text label
- wait(1) -- Wait until it starts
- local function typewrite(object, text, length) -- The function
- for i = 1,#text,1 do -- The text
- object.Text = string.sub(text, 1, i) -- How it will work
- wait(length) -- The time it takes to type out the enitre sentence
- end
- end
- typewrite(textLabel, "This is a test.", 0.02) -- Test
- wait(2)
- typewrite(textLabel, "I hope this works!", 0.02) -- Test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement