Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local integrator = peripheral.find("colonyIntegrator")
- while true do
- if integrator.isUnderAttack() then
- print("Under Attack")
- end
- if integrator.isUnderAttack() == false then
- print("Safe")
- end
- sleep(10)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement