Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function flash()
- redstone.setOutput("front",true)
- redstone.setOutput("left",true)
- redstone.setOutput("right",true)
- redstone.setOutput("back",true)
- sleep(.01)
- redstone.setOutput("front",false)
- redstone.setOutput("left",false)
- redstone.setOutput("right",false)
- redstone.setOutput("back",false)
- sleep(.01)
- end
- local items = ...
- for x = 1,tonumber(items),4 do
- redstone.setOutput("top",true)
- for i = 1,10,1 do
- flash()
- end
- redstone.setOutput("top",false)
- sleep(0.25)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement