Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local cSide = ...
- local mSide = "top"
- local mHandle = peripheral.wrap(mSide)
- function outputRedstoneOnSide(t,s)
- if not t then return end
- if not s then return end
- rs.setOutput(s, true)
- for i = 1, t, .5 do
- mHandle.write("Crushing, " .. i .. " seconds left.")
- sleep(.5)
- end
- rs.setOutput(s, false)
- end
- outputRedstoneOnSide(9.5, cSide)
Advertisement
Add Comment
Please, Sign In to add comment