Saereth

DanceFloor2

Jan 31st, 2015
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local i=0
  2. local working=false
  3. while true do
  4.    
  5.    i=0
  6.    if redstone.getInput("top") == true and working==false then
  7.     working=true
  8.  
  9.     for i=0, 50 do
  10.     redstone.setOutput("right",true)
  11.         sleep(.25)
  12.     redstone.setOutput("right",false)
  13.     sleep(.025)
  14.     end
  15.     redstone.setOutput("right",false)
  16.     working=false
  17.     end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment