Advertisement
Ezteyh

Armor

Jun 21st, 2021
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. manager = peripheral.wrap("left")
  2. detector = peripheral.wrap("back")
  3. local count = 1
  4.  
  5. while (1) do
  6.  
  7. if detector.isPlayerInRange(1,"Ezteyh") == true then
  8. if manager.isPlayerEquipped() == true then
  9. manager.removeItemFromPlayer("LEFT", 1, "pneumaticcraft:pneumatic_boots")
  10. manager.removeItemFromPlayer("LEFT", 1, "pneumaticcraft:pneumatic_boots")
  11. manager.removeItemFromPlayer("LEFT", 1, "pneumaticcraft:pneumatic_boots")
  12. manager.removeItemFromPlayer("LEFT", 1, "pneumaticcraft:pneumatic_boots")
  13. end
  14. end
  15.  
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement