Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Load the setNorth.lua script
- os.loadAPI("setNorth.lua")
- -- Call the directionCheck function from setNorth.lua
- print(setNorth.directionCheck())
- local coordinates = setNorth.directionCheck()
- -- Display the returned coordinates
- if coordinates then
- print("Coordinates:")
- print("Alpha X:", coordinates[1], " Alpha Y:", coordinates[2], " Alpha Z:", coordinates[3])
- print("Beta X:", coordinates[4], " Beta Y:", coordinates[5], " Beta Z:", coordinates[6])
- else
- print("Failed to retrieve coordinates.")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement