Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local sensor = peripheral.wrap("back")
- local tableInfo = snsor.getPlayerData(read())
- for key, value in pairs(tableInfo) do
- if type(key) == "table" then
- for key2,value2 in pairs(key) do
- print(key2.. " = " .. tostring(value2))
- end
- else
- print(key.. " = " .. tostring(value))
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement