Advertisement
CelticCoder

test

Nov 19th, 2023 (edited)
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.52 KB | None | 0 0
  1. -- Load the setNorth.lua script
  2. os.loadAPI("setNorth.lua")
  3.  
  4. -- Call the directionCheck function from setNorth.lua
  5. print(setNorth.directionCheck())
  6. local coordinates = setNorth.directionCheck()
  7.  
  8. -- Display the returned coordinates
  9. if coordinates then
  10.     print("Coordinates:")
  11.     print("Alpha X:", coordinates[1], " Alpha Y:", coordinates[2], " Alpha Z:", coordinates[3])
  12.     print("Beta X:", coordinates[4], " Beta Y:", coordinates[5], " Beta Z:", coordinates[6])
  13. else
  14.     print("Failed to retrieve coordinates.")
  15. end
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement