Something went wrong. Try again.
A bunch of computer craft scripts
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364local monitor = peripheral.find("monitor")
if monitor == nil then print("monitor not connected") shell.exit()end
local cols = { [1] = colors.white, [2] = colors.orange, [3] = colors.magenta, [4] = colors.lightBlue, [5] = colors.yellow, [6] = colors.lime, [7] = colors.pink, [8] = colors.gray, [9] = colors.lightGray, [10] = colors.cyan, [11] = colors.purple, [12] = colors.blue, [13] = colors.brown, [14] = colors.green, [15] = colors.red, [16] = colors.black,}
-- We have a monitorterm.redirect(monitor)-- monitor.setTextScale(0.5)local width, height = monitor.getSize()
local function render() monitor.setCursorPos(1, 1)
local count = 0 local max_count = 5 local currentCol = cols[math.random(1, 17)]
for x = 1, width, 1 do for y = 1, height, 1 do count = count + 1
if count > max_count then count = 0 max_count = 2 + math.random(1, 20) currentCol = cols[math.random(1, 17)] end
paintutils.drawPixel(x, y, currentCol)
if math.random(1, 1000) > 990 then monitor.setCursorPos(x, y) monitor.setTextColor(cols[math.random(1, 16)]) print(string.char(math.random(65, 65 + 25)):lower()) end end endend
while true do render() sleep(0.2 + math.random())end