Sayomie550

Untitled

Jan 9th, 2014
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. local stabbed = 0
  2. while true do
  3.     function display()
  4.         term.clear()
  5.         term.setCursorPos(1,1)
  6.         print ("Stab Bot 9000 V1.0.0")
  7.         print ("-----------------------")
  8.         print ("Number of mobs stabbed: " ..display)
  9.     end
  10.    
  11.     turtle.attack()
  12.     sleep(.1)
  13.     if turtle.attack(true) then
  14.         stabbed = stabbed + 1
  15.     end
  16. end
Advertisement
Add Comment
Please, Sign In to add comment