robocyclone

Crusher 4

Feb 21st, 2016
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.36 KB | None | 0 0
  1. function outputRedstoneOnSide()
  2.     if not t then return end
  3.     if not s then return end
  4.     rs.setOutput("down", true)
  5.     rs.setOutput("up", true)
  6.     for i = 1, 9.5, .5 do
  7.         print("Chrushing, " .. t - i .. " seconds remaining.")
  8.         sleep(.5)
  9.     end
  10.     rs.setOutput("down", false)
  11.     sleep(10)
  12.     rs.setOutput("up", false)
  13.     shell.run("crushmsg")
  14. end
  15. outputRedstoneOnSide()
Advertisement
Add Comment
Please, Sign In to add comment