Advertisement
zwenboy

Untitled

Oct 2nd, 2023 (edited)
577
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. -- Step 1: Find the geo scanner
  2. local geo = peripheral.find("geoScanner")  -- Assuming the type is "geoScanner"
  3.  
  4. local scanResult = geo.scan(1)
  5.  
  6. for k,v in pairs(scanResult) do
  7.   for j,b in pairs(v) do
  8.   print(j, b)
  9. end
  10. end
  11.  
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement