Advertisement
Guest User

simplefly

a guest
Jan 5th, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 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 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