Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print ("To Exit press and hold CTRL-T")
- os.loadAPI("functions")
- local m = peripheral.find("monitor")
- m.setTextScale(5)
- m.clear()
- for startupX = 1, 3 do
- m.setCursorPos(startupX,1)
- m.setBackgroundColor(colors.black)
- m.setTextColor(colors.white)
- m.write("OwO")
- m.clear()
- for startupY = 1, 2 do
- m.setCursorPos(startupX,startupY)
- m.write("OwO")
- end
- end
- sleep(1)
- m.setTextScale(1)
- function localwrite(text, justify, line)
- if justify == 1 then
- -- Right
- m.setCursorPos(1,line)
- m.write(text)
- elseif justify == 2 then
- functions.centerText(m, text, line)
- m.write(text)
- elseif justify == 3 then
- functions.rightJustify(m, text, line)
- m.write(text)
- elseif justify == 4 then
- functions.splitText(m, text, ":", line)
- end
- end
- while true do
- --rand = math.random (1, 10)
- for cosY = 1, math.random (1, 30) do
- m.setCursorPos(math.random (1, 30),math.random (1, 10))
- m.write("OwO")
- for cosX = 1, math.random (1, 30) do
- m.setCursorPos(math.random (1, 30),math.random (1, 10))
- m.write("UwU")
- for what = 1, math.random (1, 100) do
- if (math.random (0, 10) > math.random (0, 100)) then
- m.setCursorPos(math.random (1, 30),math.random (1, 10))
- m.write("*what's this*")
- end
- for i = 1, math.random (1, 14) do
- --m.setBackgroundColor(2^i-1)
- --term.setTextColor(2^i)
- m.setTextColor(2^i)
- m.setCursorPos(math.random (1, 30),math.random (1, 10))
- --localwrite("OwO", 1, 1)
- --functions.centerText(m, "OwO", 1)
- m.write("OwO")
- sleep(0.1)
- end
- m.clear()
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement