Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.58 KB | None | 0 0
  1. init start
  2.     FID = {12060, 12061, 12063, 12075, 12076}
  3. init end
  4.  
  5. auto(1000)
  6. for _,Fung in ipairs(FID) do
  7.     for i = -7,7 do
  8.         for j = -5,5 do
  9.             fungustile = gettile($posx+i,$posy+j,$posz)
  10.             for ftilecount = 1,fungustile.itemcount do
  11.                 if fungustile.item[ftilecount].id == Fung and tilereachable($posx+i,$posy+j,$posz) and maround(7) == 0 then
  12.                     FungX,FungY = $posx+i,$posy+j
  13.                     pausewalking(5000)
  14.                     reachlocation(FungX,FungY,$posz,1)
  15.                     useitemon('slime gobbler', 0, ground(FungX,FungY,$posz))
  16.                     pausewalking(0)
  17.                     wait(5000)
  18.                 end
  19.             end
  20.         end
  21.     end
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement