Sayomie550

Untitled

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