Guest User

Untitled

a guest
Oct 16th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. --showas ~~Getting Stars~~
  2.  
  3. setpriority(10,0,10000,300000,0)
  4. setlifetime(300000)
  5. reachgrounditem('depot')
  6. openitem('depot')
  7. wait(1000,2000)
  8.  
  9. local currentamount = itemcount(Ammoname)
  10.  
  11. amount = buyAmmo-currentamount
  12.  
  13. while amount > 0 --[[and (tradecount('buy',itemname) >= amount or tradecount('buy',itemname) == 100)--]] do
  14. buyitems(Ammoname, amount)
  15. waitping(3,4)
  16. moveitems(Ammoname, ammobpname, 0)
  17. waitping(3,4)
  18. amount = amount-100
  19. end
  20.  
  21. if itemcount(Ammoname) < buyAmmo then
  22. gotolabel('145 Stand')
  23. return
  24. end
Add Comment
Please, Sign In to add comment