Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prox = peripheral.wrap("top")
- mon = peripheral.wrap("left")
- mon.setTextScale(0.5)
- mon.setTextScale(1)
- while true do
- success, players = pcall( prox.getPlayerByName, "jetski67890" )
- term.clear()
- term.setCursorPos(1,1)
- if success and type(players) == "table" then
- print("detected this stuff:")
- for a,b in pairs(players) do
- print(tostring(a) .. ": " .. tostring(B)/>)
- end
- else print("detection failure") end
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment