Advertisement
Solomeister

Untitled

Aug 17th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local robot = require("robot")
  2. local active_slot = 1
  3.  
  4. local function Text()
  5.     os.execute("cls")
  6.     print("Строитель 1.3.3.7")  
  7.     print("У тебя родится бабушка!)))))")
  8. end
  9.  
  10. Text()
  11.  
  12. while true do
  13.     robot.suckDown()
  14.     robot.place()
  15.     robot.select(active_slot)
  16.     robot.place()
  17.     if robot.count(active_slot) == 0 then
  18.         active_slot = active_slot + 1 end
  19.     if robot.select(active_slot) == 16 then
  20.         active_slot = 1 end
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement