ElijahCrafter

Untitled

Dec 5th, 2025
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. local serverRack = peripheral.find("server_rack")
  2. print("Rack count: " .. serverRack.getRackCount())
  3. local positions = serverRack.getClusterPositions()
  4. for i, pos in ipairs(positions) do
  5. print("Rack " .. i .. ": x=" .. pos.x .. ", y=" .. pos.y .. ", z=" .. pos.z)
  6. end
Advertisement
Add Comment
Please, Sign In to add comment