Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x,y,z = gps.locate()
- print(x,y,z)
- local file = fs.open("startup","w")
- file.write("shell.run(\"gps host "..tonumber(x).." "..tonumber(y).." "..tonumber(z).."\")")
- file.close()
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement