Advertisement
Squanou

Flux

Jun 24th, 2024 (edited)
472
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. local flux = peripheral.find("energyDetector")
  2.  
  3. if flux == nil then
  4.     error("Aucun 'energyDetector' disponible.")
  5.     return
  6. else
  7.     while true do
  8.         print("Currant transfert Rate : " .. flux.getTransferRate() .. " FE/t")
  9.         os.sleep(0.1)
  10.     end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement