Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Getting Coords
- print("What are my Coords?: ")
- io.write("X: ")
- CurrentX = tonumber(io.read())
- io.write("Z: ")
- CurrentZ = tonumber(io.read())
- print("What Are my Chest's Coords?: ")
- io.write("X: ")
- ChestX = tonumber(io.read())
- io.write("Z: ")
- ChestZ = tonumber(io.read())
- print("Which Direction am i facing?: ")
- CurrentDir = tonumber(io,read())
- -- getting ready to strip mine
- print("How many Tunnels?: ")
- Tunnels = tonumber(io.read())
- CompletedTunnels = 0
- print("How long is each tunnels?: ")
- TunnelLength = tonumber(io,read())
- if CurrentDir == 1 then
- DestX = CurrentX - TunnelLength
- elseif CurrentDir == 2 then
- end
- while CompletedTunnels ~= Tunnels do
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement