TheDarBear

printpos.lua

Mar 2nd, 2022 (edited)
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. os.loadAPI("moveApi")
  2. os.loadAPI("tableApi")
  3. pos = moveApi.loadPosition()
  4. xf = pos.xfacing
  5. zf = pos.zfacing
  6. print("X Facing: "..xf)
  7. print("Z Facing: "..zf)
  8. print("Coordinate: ("..pos.x..", "..pos.y..", "..pos.z..")")
Add Comment
Please, Sign In to add comment