Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local sleeper = 0.15
- local function say(x)
- for i = 1, 10 do
- print(x)
- sleep(sleeper)
- end
- end
- local function you(x)
- for i = 1, 10 do
- term.write(x)
- sleep(sleeper)
- end
- end
- local cL = {
- colors.white,
- colors.orange,
- colors.magenta,
- colors.lightBlue,
- colors.yellow,
- colors.lime,
- colors.pink,
- colors.cyan,
- colors.purple,
- colors.blue,
- colors.brown,
- colors.green,
- colors.red,
- colors.black,
- }
- local function love(j,c)
- local x,y = term.getCursorPos()
- for i = 1, 10 do
- term.setCursorPos(x,y)
- term.setBackgroundColour(c[i])
- term.setTextColor(c[10-i])
- term.write(j)
- sleep(sleeper)
- end
- end
- local function me()
- for i = 1, 10 do
- term.write("Me")
- local x,y = term.getCursorPos()
- term.setCursorPos(x,y+1)
- sleep(sleeper)
- end
- end
- term.clear()
- term.setCursorPos(1,1)
- term.setBackgroundColor(colors.black)
- term.setTextColor(colors.white)
- say("Say")
- you("You")
- print()
- love("Love",cL)
- print()
- me()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement