Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xcoord = -22
- ycoord = 70
- zcoord = -69
- player = "Creeper9207"
- p1 = "Creeper9207"
- p2 = "nil"
- p3 = "supercreeper9854"
- p4 = "Nerdfreak22"
- p5 = "nil"
- p6 = "MrKaboommm1"
- function data(r)
- y = peripheral.call("top", "getPlayerData", r)
- return y.position.x + xcoord, y.position.y + ycoord, y.position.z + zcoord
- end
- while true do
- sleep(1)
- function one()
- peripheral.call("right", "clear")
- x, y, z = data(player)
- x2, y2, z2 = data(p1)
- x = 200 - x + x2
- z = 100 - z + z2
- peripheral.call("right", "addText", x, z, p1)
- end
- function two()
- x, y, z = data(player)
- x2, y2, z2 = data(p2)
- x = 200 - x + x2
- z = 100 - z + z2
- peripheral.call("right", "addText", x, z, p2)
- end
- function three()
- x, y, z = data(player)
- x2, y2, z2 = data(p3)
- x = 200 - x + x2
- z = 100 - z + z2
- peripheral.call("right", "addText", x, z, p3)
- end
- function four()
- x, y, z = data(player)
- x2, y2, z2 = data(p4)
- x = 200 - x + x2
- z = 100 - z + z2
- peripheral.call("right", "addText", x, z, p4)
- end
- function five()
- x, y, z = data(player)
- x2, y2, z2 = data(p5)
- x = 200 - x + x2
- z = 100 - z + z2
- peripheral.call("right", "addText", x, z, p5)
- end
- function six()
- x, y, z = data(player)
- x2, y2, z2 = data(p6)
- x = 200 - x + x2
- z = 100 - z + z2
- peripheral.call("right", "addText", x, z, p6)
- end
- pcall(one)
- pcall(two)
- pcall(three)
- pcall(four)
- pcall(five)
- pcall(six)
- end
Advertisement
Add Comment
Please, Sign In to add comment