Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ dmg api ]]--
- local repeatOn = false
- local function __dmg()
- repeatOn = true
- repeat
- turtle.attack()
- until not repeatOn
- end
- function on()
- __dmg()
- end
- function off()
- repeatOn = false
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement