Advertisement
Guest User

Untitled

a guest
Feb 21st, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. local ITEM = 'mana fluid' -- name or id
  2. local COUNT = 300
  3. local CONTAINER = 'blue backpack' -- you can use container name or index here.
  4. local LOCATION = { X = 33066, Y = 32315, Z = 9 } -- Ground location to pickup.
  5.  
  6.  
  7. ITEM = itemid(ITEM)
  8.  
  9. local item_count = itemcount(ITEM, CONTAINER)
  10.  
  11. while item_count < COUNT and topitem(LOCATION.X, LOCATION.Y, LOCATION.Z, false).id == ITEM do
  12. moveitems(ITEM, CONTAINER, ground(LOCATION.X, LOCATION.Y, LOCATION.Z), (COUNT - item_count))
  13. wait(500)
  14. item_count = itemcount(ITEM, CONTAINER)
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement