Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local playerName = "wv1106"
- local augments = peripheral.wrap("back")
- while true do
- local meta = augments.getMetaByName(playerName)
- if meta~=nil then
- local pitch = meta.pitch
- local yaw = meta.yaw
- if meta.isSneaking then
- if meta.isSprinting then
- augments.launch(yaw, pitch, 2)
- else
- augments.launch(0, -90, 1)
- end
- end
- else
- os.reboot()
- end
- sleep(0.1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement