Advertisement
Shuudoushi

random

Apr 14th, 2013
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.12 KB | None | 0 0
  1. local side = "front", "back", "left", "right"
  2.  
  3. while true do
  4.  sleep(0.1)
  5.  rs.setOutput(side, math.random(0, 1) == 1)
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement