Advertisement
veeir

Untitled

Dec 20th, 2024
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.15 KB | None | 0 0
  1. while true do
  2.     x = io.read()
  3.     for y,0,x do
  4.     redstone.setOutput("right", true)
  5.     sleep(0,5)
  6.     redstone.setOutput("right", false)
  7.     sleep(1)
  8.     end
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement