ElijahCrafter

Custom Mod Monitor Test

Nov 29th, 2025
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.19 KB | Source Code | 0 0
  1. local mon = peripheral.find("monitor")
  2. if mon then
  3.     print("Found")
  4.     while true do
  5.         local rng = math.random(0, 1)
  6.         mon.write(rng)
  7.     end
  8.     else
  9.     print("Failed")
  10. end
Advertisement
Add Comment
Please, Sign In to add comment