Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s=peripheral.wrap("top")
- t=peripheral.wrap("right")
- player="ecco7777"
- while true do
- if s.getPlayerNames()[1]==player then
- xPos,yPos,zPos=s.getPlayerData(player)["position"]["x"],s.getPlayerData(player)["position"]["y"],s.getPlayerData(player)["position"]["z"]
- t.clear()
- t.addText(1,1,xPos)
- t.addText(1,11,yPos)
- t.addText(1,21,zPos)
- sleep(1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement