Advertisement
Thauma

Untitled

Feb 22nd, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. foodid = 3725 -- id food
  2. staminaHours = 50 -- ilosc godzin
  3. staminaMinutes = 1 -- ilosc minut
  4. backpack = 1 -- pierwszy bp
  5. slot = 0 -- pierwszy slot
  6.  
  7. while(true) do
  8.     if Self.Stamina() <= (staminaHours*60 + staminaMinutes) then
  9.         if Self.ItemCount(foodid) > 0 then
  10.             Container:UseItem(slot, backpack)
  11.         end
  12.     end
  13.     wait(5000)
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement