Advertisement
ecco7777

Monster Terminal Glasses Sensor Display

Apr 14th, 2017
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.35 KB | None | 0 0
  1. s=peripheral.wrap("top")
  2. t=peripheral.wrap("right")
  3. player="ecco7777"
  4. while true do
  5. if s.getPlayerNames()[1]==player then
  6. xPos,yPos,zPos=s.getPlayerData(player)["position"]["x"],s.getPlayerData(player)["position"]["y"],s.getPlayerData(player)["position"]["z"]
  7. t.clear()
  8. t.addText(1,1,xPos)
  9. t.addText(1,11,yPos)
  10. t.addText(1,21,zPos)
  11. sleep(1)
  12. end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement