SHOW:
|
|
- or go back to the newest paste.
1 | local modules = peripheral.wrap "back" | |
2 | ||
3 | - | os.loadAPI "metaowner.lua" |
3 | + | local name = "gollark" |
4 | - | metaowner.upgrade(modules) |
4 | + | |
5 | while true do | |
6 | local meta = modules.getMetaByName(name) | |
7 | - | local meta = modules.getMetaOwner() |
7 | + | |
8 | while meta.isSneaking do | |
9 | meta = modules.getMetaByName(name) | |
10 | - | meta = modules.getMetaOwner() |
10 | + | |
11 | sleep(0.1) | |
12 | end | |
13 | ||
14 | if meta.motionY < -0.8 then | |
15 | modules.launch(0, 270, 2) | |
16 | end | |
17 | ||
18 | sleep(0.4) | |
19 | end |