Advertisement
MagmaLP

Fontania Bahnübergang PC

Dec 24th, 2023 (edited)
512
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. function Pistons()
  2.     rs.setOutput("top", true)
  3.     sleep(10)
  4.     rs.setOutput("top", false)
  5. end
  6.  
  7. function BellsAndLamps()
  8.     for i = 1,10 do
  9.         rs.setOutput("left", true)
  10.         rs.setOutput("right", true)
  11.         sleep(0.5)
  12.         rs.setOutput("left", false)
  13.         rs.setOutput("right", false)
  14.         sleep(0.5)
  15.     end
  16. end
  17.    
  18. if rs.getInput("front", true) then
  19.     Pistons()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement