Advertisement
Guest User

Untitled

a guest
May 20th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. local cols = "0123456789abcdef"
  2. local text = "Hello world!"
  3. local function randomReplace(match)
  4. local i = math.random(1, 16)
  5. return cols:sub(i, i)
  6. end
  7. term.blit(text, text:gsub(".", randomReplace), text:gsub(".", randomReplace))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement