Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p = peripheral.wrap("back")
- list = {}
- list = p.getNearbyPlayers(100)
- for k,value in pairs(list) do
- print("player_name: "..value.player)
- print("distance: "..value.distance)
- end
Advertisement
Add Comment
Please, Sign In to add comment