karelvysinka

Redstone output

Nov 25th, 2015
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local nCount = 10
  2. local nPeriod = 0.5
  3.  
  4. for n=1,nCount do
  5.     redstone.setOutput( sSide, true )
  6.     sleep( nPeriod / 2 )
  7.     redstone.setOutput( sSide, false )
  8.     sleep( nPeriod / 2 )
  9. end
Add Comment
Please, Sign In to add comment