Advertisement
Guest User

startup

a guest
Apr 30th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. while true do
  2.   if rs.getAnalogInput("left") < 2 then
  3.      rs.setBundledOutput("bottom",colors.red)
  4.   end
  5.   if rs.getAnalogInput("left") > 6 then
  6.     rs.setBundledOutput("bottom",0)
  7.   end
  8.   sleep(5)
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement