SHARE
TWEET

Untitled

a guest Apr 20th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local sentence = 'fuck joey' -- The thing you want it to type out
  2.     local label =  -- Your textlabel
  3.      
  4.     local len = string.len(sentence) -- It gets the lenght of your string
  5.      
  6.      
  7.     repeat -- Isn't neccesary, it just makes it so it loops
  8.         wait() -- pretty neccesary if you don't want your studio to crash xD
  9.         n = 0 -- Sets n (position) to 0
  10.         repeat -- Loop is neccesary if you don't want it to do manually
  11.             wait(0.2) -- Waittime
  12.             n = n + 1 -- Add to position with 1
  13.             io.write(string.sub(sentence,1,n)) -- Sets the text using string.sub
  14.         until n >= len -- Waits for the lenght to be the same as the position
  15.     until false
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top