GDragonArcher

yoink

Apr 9th, 2022 (edited)
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.52 KB | None | 0 0
  1. local manager = peripheral.find("inventoryManager") -- Finds the peripheral if one is connected
  2.  
  3. if manager == nil then error("inventoryManager not found") end
  4.  
  5. manager.removeItemFromPlayer("UP", 1, -1, "waystones:warp_stone") --Will remove 114 stone blocks from the players inventory to the chest above. -1 Says it will ignore the slot
  6.  
  7. manager.removeItemFromPlayer("UP", 1, -1, "balancedflight:ascended_flight_ring") --Will remove 114 stone blocks from the players inventory to the chest above. -1 Says it will ignore the slot
  8.  
Add Comment
Please, Sign In to add comment