Advertisement
HawkPB

Untitled

Jun 24th, 2025 (edited)
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. local monitor = peripheral.find("monitor")
  2. monitor.setCursorPos(1, 1)
  3.  
  4. -- Set the top color
  5. monitor.setTextColor(colors.red)
  6. -- Set the bottom color
  7. monitor.setBackgroundColor(colors.green)
  8.  
  9. -- "▄" will draw a green lower half and a red upper half
  10. monitor.write("\x8C")  
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement