Advertisement
Guest User

usthiago - pedido.

a guest
Aug 8th, 2016
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.62 KB | None | 0 0
  1. --[[ Eternal-Scripts | Equip Soft Boots ]]--
  2. --[[ Configurações ]]--
  3. Soft_OnlyWithoutMonster = true -- Equipar apenas se não tiver monstro na tela!
  4. --[[ Configurações ]]--
  5.  
  6. function clearScreen()
  7.     local count = 0
  8.     for n, c in Creature.iMonsters() do
  9.         count = count + 1
  10.     end
  11.  
  12.     if (count == 0 or
  13.         Soft_OnlyWithoutMonster == false) then
  14.         return true
  15.     else
  16.         return false
  17.     end
  18. end
  19.  
  20. Module.New("Equip new soft", function(mod)
  21.     if (Self.Feet().id ~= 3549) then
  22.         if (Self.ItemCount(6529) > 0 and
  23.             clearScreen()) then
  24.             Self.Equip(6529, "feet", 1)
  25.             wait(Self.Ping() + 100)
  26.         end
  27.     end
  28. mod:Delay(500)
  29. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement