mercwear

redstone_timer

Apr 22nd, 2025 (edited)
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. --Toggles redstone active / inactive at the back of the computer every 1 second forever
  2. print("Killing Bees! press CTRL+T to stop")
  3. while true do
  4. redstone.setOutput("back", not redstone.getOutput("back"))
  5. sleep(1)
  6. redstone.setOutput("top", not redstone.getOutput("top")) --Set top to cycle off and on too to display a light letting us know the timer is on
  7. end
Advertisement
Add Comment
Please, Sign In to add comment