Advertisement
Guest User

simplefly

a guest
Feb 8th, 2019
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. local modules = peripheral.wrap "back"
  2.  
  3. os.loadAPI "metaowner.lua"
  4. metaowner.upgrade(modules)
  5.  
  6. while true do
  7.     local meta = modules.getMetaOwner()
  8.    
  9.     while meta.isSneaking or meta.isFlying do
  10.         meta = modules.getMetaOwner()
  11.         modules.launch(meta.yaw, meta.pitch, 4)
  12.         sleep(0.1)
  13.     end
  14.  
  15.     if meta.motionY < -0.8 then
  16.         modules.launch(0, 270, 2)
  17.     end
  18.  
  19.     sleep(0.4)
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement