Advertisement
GDragonArcher

Untitled

Jun 9th, 2023 (edited)
986
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. local integrator = peripheral.find("colonyIntegrator")
  2.  
  3. while true do
  4.  
  5.     if integrator.isUnderAttack() then
  6.         print("Under Attack")
  7.     end
  8.  
  9.     if integrator.isUnderAttack() == false then
  10.         print("Safe")
  11.     end
  12.  
  13. sleep(10)
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement