Advertisement
Guest User

extend.lua

a guest
Nov 12th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. while true do
  2.   if rs.getInput("right") == true then
  3.     while rs.getInput("right") == true do
  4.       sleep(0.01)
  5.     end
  6.     sleep(0.2)
  7.     rs.setAnalogOutput("right", 15)
  8.     sleep(4)
  9.     rs.setAnalogOutput("right", 0)
  10.     sleep(1)
  11.   end
  12.   sleep(0.01)
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement