SHARE
TWEET

Untitled

a guest Feb 27th, 2020 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local BuyMana = 400
  2.  
  3. local ManaID = Item.GetID(ManaName)
  4.  
  5. local ManaName = "great mana potion"
  6.  
  7.  
  8.  
  9. if (Self.ItemCount(ManaID) < BuyMana) then
  10.  
  11. Self.SayToNpc({"hi", "flasks"}, 100)
  12.  
  13. while (Self.ItemCount(FlaskID) >= 1) or (Self.ItemCount(FlaskIDA) >= 1) or (Self.ItemCount(FlaskIDB) >= 1) do
  14.  
  15. Self.SayToNpc("yes", 100)
  16.  
  17. end
  18.  
  19. wait(2000)
  20.  
  21. Self.SayToNpc("trade", 100)
  22.  
  23. wait(2000)
  24.  
  25. while (Self.ItemCount(ManaID) < BuyMana) do
  26.  
  27. Self.ShopBuyItemsUpTo(ManaID, BuyMana)
  28.  
  29. wait(500,800)
  30.  
  31. end
  32. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top