Guest User

Comp1.lua

a guest
Jan 14th, 2026
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. --Testing to see if the computers are connected in the first place
  2. modem = peripheral.find("modem") or error("no modem attached", 0)
  3. modem.transmit(6, 6,"lol")
  4.  
  5. --Primary loop watching the reactor
  6. local reactor = peripheral.find("redstone_relay")
  7.  
  8.     while true do
  9.         if reactor.getAnalogInput("back") > 5 then
  10.         print("fuck")
  11.             modem.transmit(6, 6,"fuck")
  12.         end
  13.         sleep(0.05)
  14. end
  15.  
Add Comment
Please, Sign In to add comment