Advertisement
Guest User

Untitled

a guest
Aug 1st, 2014
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. local WallRune = 3180 -- 2130 (tree wall ID)
  2.  
  3. local MagicwallLine = {
  4. { ["x"] = 1354, ["y"] = 978, ["z"] = 15, ["active"] = false },
  5. { ["x"] = 1354, ["y"] = 979, ["z"] = 15, ["active"] = false },
  6. { ["x"] = 1354, ["y"] = 980, ["z"] = 15, ["active"] = false },
  7. { ["x"] = 1354, ["y"] = 981, ["z"] = 15, ["active"] = false },
  8. { ["x"] = 1353, ["y"] = 982, ["z"] = 15, ["active"] = false },
  9. { ["x"] = 1353, ["y"] = 981, ["z"] = 15, ["active"] = false }
  10. }
  11.  
  12. function checkLine()
  13. for index, tile in pairs(MagicwallLine) do
  14. local TopTile = Map.GetTopUseItem(tile.x, tile.y, tile.z)
  15. wait(300)
  16. print(TopTile.id)
  17. if(TopTile.id ~= 2129)then
  18. Self.UseItemWithGround(WallRune, tile.x, tile.y, tile.z)
  19. wait(1000)
  20. else
  21. break
  22. end
  23. end
  24.  
  25. end
  26.  
  27. while(true)do
  28. checkLine()
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement