Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local manager = peripheral.find("inventoryManager") -- Finds the peripheral if one is connected
- if manager == nil then error("inventoryManager not found") end
- 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