AndyE7

Untitled

Aug 29th, 2026
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. local d = peripheral.find("player_detector")
  2.  
  3. while true do
  4. local p = d.getPlayer("PLAYER_NAME")
  5.  
  6. term.clear()
  7. term.setCursorPos(1, 1)
  8.  
  9. if p then
  10. print("X:", p.x)
  11. print("Y:", p.y)
  12. print("Z:", p.z)
  13. print("Dimension:", p.dimension)
  14. print("Yaw:", p.yaw)
  15. print("Pitch:", p.pitch)
  16. else
  17. print("Not detected")
  18. end
  19.  
  20. sleep(0.25)
  21. end
Advertisement
Add Comment
Please, Sign In to add comment