Advertisement
GDragonArcher

yoinkAWM

Apr 9th, 2022
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 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, "additionalguns:awm") --Will remove 114 stone blocks from the players inventory to the chest above. -1 Says it will ignore the slot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement