Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ITEM = 'mana fluid' -- name or id
- local COUNT = 300
- local CONTAINER = 'blue backpack' -- you can use container name or index here.
- local LOCATION = { X = 33066, Y = 32315, Z = 9 } -- Ground location to pickup.
- ITEM = itemid(ITEM)
- local item_count = itemcount(ITEM, CONTAINER)
- while item_count < COUNT and topitem(LOCATION.X, LOCATION.Y, LOCATION.Z, false).id == ITEM do
- moveitems(ITEM, CONTAINER, ground(LOCATION.X, LOCATION.Y, LOCATION.Z), (COUNT - item_count))
- wait(500)
- item_count = itemcount(ITEM, CONTAINER)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement