Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local cols = "0123456789abcdef"
- local text = "Hello world!"
- local function randomReplace(match)
- local i = math.random(1, 16)
- return cols:sub(i, i)
- end
- term.blit(text, text:gsub(".", randomReplace), text:gsub(".", randomReplace))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement