Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Pos = {...}
- masterServer = 0
- dnsServer = 1
- ID = os.getID()
- label = os.getLabel
- Pos.X, Pos.Y, Pos.Z = gps.locate()
- if turtle then
- turtle.forward()
- X, Y, Z = gps.locate()
- if X>Pos.X then
- Pos.O = 1
- elseif X<Pos.X then
- Pos.O = 3
- elseif Z>Pos.Z then
- Pos.O = 2
- elseif Z<Pos.Z then
- Pos.O = 0
- end
- turtle.back()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement