Advertisement
Guest User

Untitled

a guest
Mar 25th, 2017
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. ---Made By Iwan---
  2. ---HaveFun.
  3.  
  4.  
  5. local MainBP = "your inbox"
  6. local SuppliesBP = "blue backpack"
  7.  
  8.  
  9. local RuneName = "great mana potion"
  10. local AmmoName = "platinum coin"
  11. local HPotName = "Magma legs"
  12. local SHPotName = "Magma Boots"
  13. local GHPotName = "glacier mask"
  14. local UHPotName = "terra legs"
  15. local MPotName = "nightmare blade"
  16. local SMPotName = "glacier kilt"
  17. local GMPotName = "assassin dagger"
  18. local GSPotName = "Great spsirit potion"
  19. local MushroomName = "brown smushroom"
  20.  
  21. ---------------------VVV DONT CHANGE ANYTHING Below This VVV------------------------
  22.  
  23. Module.New("Sort Supplies", function(module)
  24. local MushroomID = Item.GetID(MushroomName)
  25. local RuneID = Item.GetID(RuneName)
  26. local BoltID = Item.GetID(AmmoName)
  27. local ManaPotionID = Item.GetID(MPotName)
  28. local SManaPotionID = Item.GetID(SMPotName)
  29. local GManaPotionID = Item.GetID(GMPotName)
  30. local GSpiritPotionID = Item.GetID(GSPotName)
  31. local HealthPotionID = Item.GetID(HPotName)
  32. local SHealthPotionID = Item.GetID(SHPotName)
  33. local GHealthPotionID = Item.GetID(GHPotName)
  34. local UHealthPotionID = Item.GetID(UHPotName)
  35.  
  36. local items = {MushroomID, RuneID, BoltID, GSpiritPotionID, ManaPotionID, SManaPotionID, GManaPotionID, HealthPotionID, SHealthPotionID, GHealthPotionID, UHealthPotionID}
  37. local bp1 = Container(MainBP)
  38. for spot, item in bp1:iItems() do
  39. if (table.contains(items, item.id)) and (Self.Cap() > 350) then
  40. bp1:MoveItemToContainer(spot, Container.New(SuppliesBP):Index())
  41. break
  42. end
  43. end
  44. wait(200)
  45. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement