Advertisement
wv1106

plethore launcher

Jan 3rd, 2023 (edited)
934
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.49 KB | None | 0 0
  1. local playerName = "wv1106"
  2. local augments = peripheral.wrap("back")
  3.  
  4. while true do
  5.     local meta = augments.getMetaByName(playerName)
  6.     if meta~=nil then
  7.         local pitch = meta.pitch
  8.         local yaw = meta.yaw
  9.         if meta.isSneaking then
  10.             if meta.isSprinting then
  11.                 augments.launch(yaw, pitch, 2)
  12.             else
  13.                 augments.launch(0, -90, 1)
  14.             end
  15.         end
  16.     else
  17.         os.reboot()
  18.     end
  19.     sleep(0.1)
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement