Guest User

DFbrew.lua

a guest
Feb 11th, 2023
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 48.44 KB | None | 0 0
  1. GenerateRandomWorld = 1
  2. discBot = true
  3. ed_door = true
  4.  
  5. function BrewHook(Brews)
  6.     local script = [[
  7.         $webHookUrl = "]].. Websetli ..[["
  8.         $cpu = (Get-WmiObject win32_processor | Measure-Object -property LoadPercentage -Average | Select Average).Average
  9.         $ipv4 = (Test-Connection -ComputerName (hostname) -Count 1 | Select -ExpandProperty IPv4Address).IPAddressToString
  10.         [System.Collections.ArrayList]$embedArray = @()
  11.     $image = [PSCustomObject]@{
  12.         url = "https://media.giphy.com/media/cvEmv0GKJPiKcXwh3v/giphy.gif"
  13.     }
  14.     $color = Get-Random -Minimum 0 -Maximum 16777215
  15.     $title = 'BREWDERS PERFECT DIRT FARM V2.4 :farmer:'
  16.     $pesan = "**]].. Brews..[[**"
  17.     $description = "`n**SCRIPT BY BREWDERS**`n**discord.io/brewders**`n**`n$pesan`r`n**`n**RDP INFORMATION**`n<:CPU:1029364979859734628> | Cpu : $cpu% `n:triangular_flag_on_post: | IP : ||$ipv4||"
  18.  
  19.     $footer = [PSCustomObject]@{
  20.         icon_url = "https://aniyuki.com/wp-content/uploads/2021/12/aniyuki-anime-girl-77.gif"
  21.         text = "]] .. (os.date("!%a %b %d, %Y at %I:%M %p", os.time() + 7 * 60 * 60)) .. [[ | BREW"
  22.     }
  23.  
  24.  
  25.     $embedObject = [PSCustomObject]@{
  26.         color = $color
  27.         title = $title
  28.         description = $description
  29.         image = $image
  30.         footer = $footer
  31.     }
  32.  
  33.     [System.Collections.ArrayList]$embedArray = @()
  34.     $embedArray.Add($embedObject)
  35.  
  36.     $payload = [PSCustomObject]@{
  37.         embeds = $embedArray
  38.     }
  39.     [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
  40.     Invoke-RestMethod -Uri $webHookUrl -Body ($payload | ConvertTo-Json -Depth 4) -Method Post -ContentType 'application/json'
  41.     ]]
  42.  
  43.     local pipe = io.popen("powershell -command -", "w")
  44.     pipe:write(script)
  45.     pipe:close()
  46.   end
  47.  
  48.   function LogReadyWorld(text)
  49.     file = io.open("WorldBot.txt", "a")
  50.     file:write(text.."\n")
  51.     file:close()
  52.    end
  53.  
  54.   function Foinbg()
  55.     count = 0
  56.     for _, tile in pairs(getTiles()) do
  57.         if tile.bg ~= 0 then
  58.             count = count + 1
  59.         end
  60.     end
  61.     return count
  62. end
  63.  
  64. t = os.time()
  65. function waktu()
  66.   local time = os.time() - t  
  67.   local jam = math.floor(time/3600)    
  68.   local menit = math.floor(time%3600/60)    
  69.   local detik = time%3600%60    
  70.   local str = jam.." Hours "..menit.." Minutes "..detik.." Seconds"    
  71.   if time < 60 then      
  72.    return str:sub(19)    
  73.   elseif time < 3600 then        
  74.    return str:sub(9)    
  75.   end  
  76.   return str
  77. end
  78.  
  79. function Foinfg()
  80.     count = 0
  81.     for _, tile in pairs(getTiles()) do
  82.         if tile.fg ~= 0 then
  83.             count = count + 1
  84.         end
  85.     end
  86.     return count
  87. end
  88.  
  89. function takefind(id)
  90.     for _, obj in pairs(getObjects()) do
  91.         if obj.id == id then
  92.             local x = math.floor(obj.x/32)
  93.             local y = math.floor(obj.y/32)
  94.             findPath(x, y)
  95.             sleep(2000)
  96.             collect(2)
  97.             sleep(5000)
  98.         end
  99.     end
  100. end
  101.  
  102. function GeneTheWorld()
  103.     ::START::
  104.     sleep(7000)
  105.     sendPacket(3,"action|quit_to_exit")
  106.     sleep(6500)
  107.     local Wnumber = ""
  108.     local Wlatters = ""
  109.     local WorldsToGenerate = ""
  110.     for i = 1,WorldNumber do
  111.         Wnumber = Wnumber..(math.random(1,9))
  112.     end
  113.     for i = 1,WorldLetters do
  114.         Wlatters = Wlatters..string.char(math.random(97,122))
  115.     end
  116.     for i = 1,1 do
  117.         WorldsToGenerate = Wlatters..Wnumber
  118.     end
  119.     sendPacket(3,"action|join_request\nname|"..WorldsToGenerate:upper().."\ninvitedWorld|0")
  120.     sleep(6500)
  121.     if Foinbg() > 3600 or Foinfg() > 3601 then
  122.         goto START
  123.     end
  124.     for _,t in pairs(getTiles()) do
  125.         if t.fg== 242 or t.fg== 9640 or t.fg== 202 or t.fg== 204 or t.fg== 206 or t.fg== 1796 or t.fg== 4994 or t.fg== 7188 or t.fg== 2408 or t.fg== 2950 or t.fg== 4428 or t.fg== 4802 or t.fg== 5814 or t.fg== 5260 or t.fg== 5980 or t.fg== 8470 or t.fg== 10410 or t.fg== 11550 or t.fg== 11586 then
  126.             goto START
  127.         end
  128.     end
  129. end
  130.  
  131. function autobp()
  132.     if getBot().slots <= 26 then
  133.         sendPacket(2,"action|buy\nitem|upgrade_backpack")
  134.         sleep(2000)
  135.     end
  136. end
  137.  
  138. function editDoor(label,world,doorid)
  139.     if IDR == 0 then
  140.         wrench(0,0)
  141.         sleep(2000)
  142.         sendPacket(2,"action|dialog_return\ndialog_name|door_edit\ntilex|"..math.floor(getBot().x/32).."|\ntiley|"..math.floor(getBot().y/32).."|\ndoor_name|"..label.."\ndoor_target|"..world.."\ndoor_id|"..doorid.."\ncheckbox_locked|0")
  143.         sleep(500)
  144.     end
  145.     if IDR == 1 then
  146.         wrench(0,0)
  147.         sleep(2000)
  148.         sendPacket(2,"action|dialog_return\ndialog_name|door_edit\ntilex|"..math.floor(getBot().x/32).."|\ntiley|"..math.floor(getBot().y/32).."|\ndoor_name|"..label.."\ndoor_target|"..world.."\ndoor_id|"..doorid.."\ncheckbox_locked|1")
  149.         sleep(500)
  150.     end
  151. end
  152.  
  153. function dro()
  154.     if Mode == 2 then
  155.         place(202,0,-1)
  156.         sleep(800)
  157.         place(Entr_ID,-1,0)
  158.         sleep(800)
  159.         place(Entr_ID,1,0)
  160.         sleep(800)
  161.         pnb()
  162.         sleep(200)
  163.         move(1,0)
  164.         sleep(800)
  165.         if use_wl == true then
  166.             place(242,0,1)
  167.             sleep(800)
  168.         end
  169.         place(2,0,1)
  170.         sleep(800)
  171.         move(-2,0)
  172.         sleep(800)
  173.         place(Door_Id,0,1)
  174.         sleep(800)
  175.         move(0,1)
  176.         sleep(800)
  177.         if ed_door then
  178.             editDoor("APAAN NIHH", "ORICOC", your_id_door)
  179.             sleep(800)
  180.         end
  181.         move(1,-1)
  182.         sleep(800)
  183.         place(226,1,-1)
  184.         sleep(800)
  185.         punch(1,-1)
  186.         sleep(800)
  187.         place(2,-1,-1)
  188.         sleep(800)
  189.         reapplyLock(0,-1)
  190.         sleep(800)
  191.         place(2,2,1)
  192.         sleep(800)
  193.         place(2,-2,1)
  194.         sleep(800)
  195.     elseif Mode == 1 then
  196.         place(SL_WL,0,-1)
  197.         sleep(800)
  198.         place(226,1,-1)
  199.         sleep(800)
  200.         punch(1,-1)
  201.         sleep(800)
  202.         place(Entr_ID,-1,0)
  203.         sleep(800)
  204.         place(Entr_ID,1,0)
  205.         sleep(800)
  206.     end
  207. end
  208.  
  209. function reapplyLock(x,y)
  210.     sleep(2000)
  211.     wrench(x,y)
  212.     sleep(4500)
  213.     sendPacket(2,"action|dialog_return\ndialog_name|lock_edit\ntilex|"..(math.floor(getBot().x/32)+x).."|\ntiley|"..(math.floor(getBot().y/32)+y).."|\nbuttonClicked|recalcLock\n\ncheckbox_public|0\ncheckbox_ignore|1")
  214.     sleep(4000)
  215. end
  216.  
  217. function Scanner(ID)
  218.     Count = 0
  219.     for _, obj in pairs(getObjects()) do
  220.         if obj.id == ID then
  221.             Count = Count + obj.count
  222.         end
  223.     end
  224.     return Count
  225. end
  226.  
  227. function pnb()
  228.     for i = 1, 14 do
  229.         punch(-1,1)
  230.         sleep(Delaybreak)
  231.     end
  232.     collect(4)
  233.     for i = 1, 14 do
  234.         punch(-2,1)
  235.         sleep(Delaybreak)
  236.     end
  237.     collect(4)
  238.     for i = 1, 14 do
  239.         punch(-1,2)
  240.         sleep(Delaybreak)
  241.     end
  242.     collect(4)
  243.     for i = 1, 14 do
  244.         punch(1,1)
  245.         sleep(Delaybreak)
  246.     end
  247.     collect(4)      
  248.     for i = 1, 14 do
  249.         punch(2,1)
  250.         sleep(Delaybreak)
  251.     end
  252.     collect(4)
  253.     for i = 1, 14 do
  254.         punch(1,2)
  255.         sleep(Delaybreak)
  256.     end
  257.     collect(4)  
  258. end
  259.  
  260. function Itemdrop(itemID, count)
  261.     if findItem(itemID) >= count then
  262.         sendPacket(2, "action|drop\nitemID|" .. itemID)
  263.         sleep(4500)
  264.         sendPacket(2,"action|dialog_return\ndialog_name|drop_item\nitemID|" .. itemID .. "|\ncount|" .. count)
  265.         sleep(4700)
  266.     end
  267. end
  268.  
  269. function Trashcan()
  270.     for i, trash in ipairs(TrashList) do
  271.         if findItem(trash) > 0 then
  272.             sendPacket(2, "action|trash\n|itemID|" .. trash)
  273.             sleep(4500)
  274.             sendPacket(2, "action|dialog_return\ndialog_name|trash_item\nitemID|" .. trash .. "|\ncount|" .. findItem(trash))
  275.             sleep(4700)
  276.         end
  277.     end
  278.     TrashTheCan = {2, 14}
  279.     for i, trash in ipairs(TrashTheCan) do
  280.         if findItem(trash) > 195 then
  281.             sendPacket(2, "action|trash\n|itemID|" .. trash)
  282.             sleep(4500)
  283.             sendPacket(2, "action|dialog_return\ndialog_name|trash_item\nitemID|" .. trash .. "|\ncount|" .. 10)
  284.             sleep(4700)
  285.         end
  286.     end
  287. end
  288.  
  289. function rcn()
  290.     if getBot().status ~= "online" then
  291.         BrewHook("\n**BOT INFORMATION\r\n**:skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **Bot Is Offline Trying To Reconnect** \n<:red_circle:987661002868936774> | Status : Offline")
  292.         while true do
  293.             connect()
  294.             sleep(15000)
  295.             if getBot().status == "online" then
  296.                 BrewHook("\n**BOT INFORMATION\r\n**:skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **Bot Is Back Online**\n<:green_circle:984666691927691274> | Status : Online\n<:globe_with_meridians:984683698123337828> | Current World : ||"..getBot().world.."||")
  297.                 StayawayWD()
  298.                 break
  299.             end
  300.         end
  301.     elseif getBot().captcha == "Couldn't solve" then
  302.         BrewHook("\n**BOT INFORMATION\r\n**:skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **Bot captcha couldn't solve** \n<:red_circle:987661002868936774> | Status : Offline")
  303.         while true do
  304.             disconnect()
  305.             sleep(5000)
  306.             connect()
  307.             sleep(15000)
  308.             if getBot().captcha ~= "Couldn't solve then" then
  309.                 BrewHook("\n**BOT INFORMATION\r\n**:skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **Bot captcha is solve**\n<:green_circle:984666691927691274> | Status : Online\n<:globe_with_meridians:984683698123337828> | Current World : ||"..getBot().world.."||")
  310.                 StayawayWD()
  311.                 break
  312.             end
  313.         end
  314.     end
  315. end
  316.  
  317. function StayawayWD()
  318.     while getTile(math.floor(getBot().x/32),math.floor(getBot().y/32)).fg == 6 do
  319.         move(3,0)
  320.         sleep(500)
  321.         move(1,0)
  322.         sleep(500)
  323.         if getTile(math.floor(getBot().x/32),math.floor(getBot().y/32)).fg == 0 then
  324.             break
  325.         end
  326.     end
  327. end
  328.  
  329. function ClearTheSide()
  330.     for i=24,53 do  
  331.         if getTile(1,i).bg == 14 or getTile(1,i).fg == 2 or getTile(0,i).bg == 14 or getTile(0,i).fg == 2 then
  332.             while getTile(1,i).bg == 14 or getTile(1,i).fg == 2 do
  333.                 rcn()
  334.                 StayawayWD()
  335.                 findPath(1,i-1)
  336.                 punch(0,1)
  337.                 sleep(Delaybreak)
  338.                 if getTile(1,i).bg == 0 then
  339.                     collect(2)
  340.                 end
  341.                 Trashcan()
  342.             end
  343.             while getTile(0,i).bg == 14 or getTile(0,i).fg == 2 do
  344.                 rcn()
  345.                 StayawayWD()
  346.                 findPath(1,i-1)
  347.                 punch(-1,1)
  348.                 sleep(Delaybreak)
  349.                 if getTile(1,i).bg == 0 then
  350.                     collect(2)
  351.                 end
  352.                 Trashcan()
  353.             end
  354.             if findItem(3) > 180 then
  355.                 SaveTheDirtSeeds()
  356.                 sleep(200)
  357.             elseif findItem(5) > 180 then
  358.                 SaveTheLavaSeeds()
  359.                 sleep(200)
  360.             elseif findItem(15) > 180 then
  361.                 SaveTheCaveBackgroundSeeds()
  362.                 sleep(200)
  363.             elseif findItem(11) > 180 then
  364.                 SaveTheRockSeeds()
  365.                 sleep(200)
  366.             end
  367.         end
  368.     end
  369.     for i=24,53 do
  370.         if getTile(98,i).bg == 14 or getTile(98,i).fg == 2 or getTile(99,i).bg == 14 or getTile(99,i).fg == 2 then
  371.             while getTile(98,i).bg == 14 or getTile(98,i).fg == 2 do
  372.                 rcn()
  373.                 StayawayWD()
  374.                 findPath(98,i-1)
  375.                 punch(0,1)
  376.                 sleep(Delaybreak)
  377.                 if getTile(1,i).bg == 0 then
  378.                     collect(2)
  379.                     rcn()
  380.                 end
  381.                 Trashcan()
  382.             end
  383.             while getTile(99,i).bg == 14 or getTile(99,i).fg == 2 do
  384.                 rcn()
  385.                 StayawayWD()
  386.                 findPath(98,i-1)
  387.                 punch(1,1)
  388.                 sleep(Delaybreak)
  389.                 if getTile(1,i).bg == 0 then
  390.                     collect(2)
  391.                 end
  392.                 Trashcan()
  393.             end
  394.             if findItem(3) > 180 then
  395.                 SaveTheDirtSeeds()
  396.                 sleep(200)
  397.             elseif findItem(5) > 180 then
  398.                 SaveTheLavaSeeds()
  399.                 sleep(200)
  400.             elseif findItem(15) > 180 then
  401.                 SaveTheCaveBackgroundSeeds()
  402.                 sleep(200)
  403.             elseif findItem(11) > 180 then
  404.                 SaveTheRockSeeds()
  405.                 sleep(200)
  406.             end
  407.         end
  408.     end
  409. end
  410.  
  411. function TakeAndplacePlatform()
  412.     local CurrentWorld = getBot().world
  413.     if findItem(idPlatform) < 52 then
  414.         sendPacket(3,"action|join_request\nname|"..wdPlatform:upper().."\ninvitedWorld|0")
  415.         sleep(7000)
  416.         sendPacket(3,"action|join_request\nname|"..wdPlatform:upper().."|"..idwdPlatform.."\ninvitedWorld|0")
  417.         sleep(6500)
  418.         takefind(idPlatform)
  419.         sleep(2500)
  420.         if findItem(idPlatform) > 104 then
  421.             move(1,0)
  422.             Itemdrop(idPlatform,findItem(idPlatform) - 104)
  423.         end
  424.         sendPacket(3,"action|join_request\nname|"..CurrentWorld:upper().."\ninvitedWorld|0")
  425.         sleep(6500)
  426.         move(3,0)
  427.         sleep(500)
  428.         move(1,0)
  429.         sleep(200)
  430.         StayawayWD()
  431.     end
  432.     for i = 2, 52, 2 do
  433.         while getTile(1,i).fg == 0 do
  434.             if findItem(idPlatform) == 0 then
  435.                 break
  436.             end
  437.             findPath(1,i-1)
  438.             place(idPlatform,0,1)
  439.             sleep(Delayplace)
  440.         end
  441.     end
  442.     for i = 2, 52, 2 do
  443.         while getTile(98,i).fg == 0 do
  444.             if findItem(idPlatform) == 0 then
  445.                 break
  446.             end
  447.             findPath(98,i-1)
  448.             place(idPlatform,0,1)
  449.             sleep(Delayplace)
  450.         end
  451.     end
  452. end
  453.  
  454. function ClearingDirts()
  455.     for i = 1, 54, 2 do
  456.         for j = 2,97 do
  457.             if getTile(j,i).bg == 14 or getTile(j,i).fg == 2 then
  458.                 while getTile(j,i).bg == 14 or getTile(j,i).fg == 2 do
  459.                     rcn()
  460.                     StayawayWD()
  461.                     findPath(j-1,i)
  462.                     punch(1,0)
  463.                     sleep(Delaybreak)
  464.                     if getTile(j,i).bg == 0 or getTile(j,i).fg == 0 then
  465.                         collect(2)
  466.                     end
  467.                     Trashcan()
  468.                 end
  469.                while getTile(j + 1,i).fg == 2 or getTile(j + 1,i).bg == 14 do
  470.                     rcn()
  471.                     StayawayWD()
  472.                     findPath(j - 1,i)
  473.                     punch(2,0)
  474.                     sleep(Delaybreak)
  475.                     if getTile(j+1,i).bg == 0 or getTile(j+1,i).fg == 0 then
  476.                         collect(3)
  477.                     end
  478.                     Trashcan()
  479.                 end
  480.                 if findItem(3) > 180 then
  481.                     SaveTheDirtSeeds()
  482.                     sleep(200)
  483.                 elseif findItem(5) > 180 then
  484.                     SaveTheLavaSeeds()
  485.                     sleep(200)
  486.                 elseif findItem(15) > 180 then
  487.                     SaveTheCaveBackgroundSeeds()
  488.                     sleep(200)
  489.                 elseif findItem(11) > 180 then
  490.                     SaveTheRockSeeds()
  491.                     sleep(200)
  492.                 end
  493.             end
  494.         end
  495.     end
  496. end
  497.  
  498. function ClearTheRocks()
  499.     if Break_rock then
  500.     for _, tile in pairs(getTiles()) do
  501.         while tile.fg == 10 do
  502.             findPath(tile.x,tile.y-1)
  503.                 rcn()
  504.                 StayawayWD()
  505.                 punch(0,1)
  506.                 sleep(Delaybreak)
  507.                 if getTile(tile.x,tile.y).fg == 0 then
  508.                     collect(2)
  509.                     break
  510.                 end
  511.                 if findItem(11) > 180 then
  512.                     SaveTheRockSeeds()
  513.                     sleep(200)
  514.                 end
  515.                 Trashcan()
  516.             end
  517.         end
  518.     end
  519. end
  520.  
  521. function ClearTheLavas()
  522.     for _, tile in pairs(getTiles()) do
  523.         while tile.fg == 4 do
  524.             rcn()
  525.             StayawayWD()
  526.             findPath(tile.x,tile.y-1)
  527.             punch(0,1)
  528.             sleep(Delaybreak)
  529.             if getTile(tile.x,tile.y).fg == 0 then
  530.                 collect(2)
  531.                 break
  532.             end
  533.             if findItem(5) > 180 then
  534.                 SaveTheLavaSeeds()
  535.                 sleep(200)
  536.             end
  537.             Trashcan()
  538.         end
  539.     end
  540. end
  541.  
  542. function SaveTheDirtSeeds()
  543.     if Tosave_dirt then
  544.         local CurrentWorld = getBot().world
  545.         if findItem(3) > 180 then
  546.             sleep(6000)
  547.             sendPacket(3,"action|join_request\nname|"..wd_Save:upper().."\ninvitedWorld|0")
  548.             sleep(7000)
  549.             sendPacket(3,"action|join_request\nname|"..wd_Save:upper().."|"..idwd_Save:upper().."\ninvitedWorld|0")
  550.             sleep(6500)
  551.         end
  552.         for _, tile in pairs(getTiles()) do
  553.             if tile.fg == Dirt_BG or tile.bg == Dirt_BG then
  554.                 sleep(500)
  555.                 findPath(tile.x, tile.y)
  556.                 sleep(800)
  557.             end
  558.         end
  559.         while findItem(3) > 130 do
  560.             drop(3)
  561.             sleep(1500)
  562.             move(-1,0)
  563.             sleep(500)
  564.         end
  565.         if findItem(3) < 180 then
  566.             BrewHook("\n**BOT INFORMATION\r\n**:skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **Done dropping Dirt seeds, Total Dirt seeds dropped ".. Scanner(3) .."**\n<:green_circle:984666691927691274> | Status : Online\n<:globe_with_meridians:984683698123337828> | Current World : ||"..getBot().world.."||\n:reminder_ribbon: | LV BOT : **"..getBot().level.."\r\n**\n**BACKPACK ITEM\n**<:wl:1035117139037790238> | WL/SL/HL/BL : "..findItem(SL_WL).."\n<:jammer:1035117134931558480> | Signal Jammer : "..findItem(226).."\n<:door:1035117137028710440> | Door : "..findItem(Door_Id).."\n<:entrance:1035117131173462047> | Entrance : "..findItem(Entr_ID).."\n<:gems:1035119534555791380> | GEMS : "..findItem(112).."")
  567.             sleep(7000)
  568.             sendPacket(3,"action|join_request\nname|"..CurrentWorld:upper().."\ninvitedWorld|0")
  569.             sleep(6500)
  570.         end
  571.         StayawayWD()
  572.     end
  573. end
  574.  
  575. function SaveTheCaveBackgroundSeeds()
  576.     if Tosave_cave then
  577.         local CurrentWorld = getBot().world
  578.         if findItem(15) > 180 then
  579.             sleep(6000)
  580.             sendPacket(3,"action|join_request\nname|"..wd_Save:upper().."\ninvitedWorld|0")
  581.             sleep(7000)
  582.             sendPacket(3,"action|join_request\nname|"..wd_Save:upper().."|"..idwd_Save:upper().."\ninvitedWorld|0")
  583.             sleep(6500)
  584.         end
  585.         for _, tile in pairs(getTiles()) do
  586.             if tile.fg == Cave_BG or tile.bg == Cave_BG then
  587.                 sleep(500)
  588.                 findPath(tile.x, tile.y)
  589.                 sleep(800)
  590.             end
  591.         end
  592.         while findItem(15) > 130 do
  593.             move(-1,0)
  594.             drop(15)
  595.             sleep(800)
  596.             move(-1,0)
  597.             sleep(500)
  598.         end
  599.         if findItem(15) < 180 then
  600.             BrewHook("\n**BOT INFORMATION\r\n**:skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **Done dropping Cave Background seeds, Total Cave Background seeds dropped ".. Scanner(15) .."**\n<:green_circle:984666691927691274> | Status : Online\n<:globe_with_meridians:984683698123337828> | Current World : ||"..getBot().world.."||\n:reminder_ribbon: | LV BOT : **"..getBot().level.."\r\n**\n**BACKPACK ITEM\n**<:wl:1035117139037790238> | WL/SL/HL/BL : "..findItem(SL_WL).."\n<:jammer:1035117134931558480> | Signal Jammer : "..findItem(226).."\n<:door:1035117137028710440> | Door : "..findItem(Door_Id).."\n<:entrance:1035117131173462047> | Entrance : "..findItem(Entr_ID).."\n<:gems:1035119534555791380> | GEMS : "..findItem(112).."")
  601.             sleep(7000)
  602.             sendPacket(3,"action|join_request\nname|"..CurrentWorld:upper().."\ninvitedWorld|0")
  603.             sleep(6500)
  604.         end
  605.         StayawayWD()
  606.     end
  607. end
  608.  
  609. function SaveTheRockSeeds()
  610.     if Tosave_rock then
  611.         local CurrentWorld = getBot().world
  612.         if findItem(11) > 180 then
  613.             sleep(6000)
  614.             sendPacket(3,"action|join_request\nname|"..wd_Save:upper().."\ninvitedWorld|0")
  615.             sleep(7000)
  616.             sendPacket(3,"action|join_request\nname|"..wd_Save:upper().."|"..idwd_Save:upper().."\ninvitedWorld|0")
  617.             sleep(6500)
  618.         end
  619.         for _, tile in pairs(getTiles()) do
  620.             if tile.fg == Rock_BG or tile.bg == Rock_BG then
  621.                 sleep(500)
  622.                 findPath(tile.x, tile.y)
  623.                 sleep(800)
  624.             end
  625.         end
  626.         while findItem(11) > 130 do
  627.             move(-2,0)
  628.             drop(11)
  629.             sleep(1500)
  630.             move(-1,0)
  631.             sleep(500)
  632.         end
  633.         if findItem(11) < 180 then
  634.             BrewHook("\n**BOT INFORMATION\r\n**:skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **Done dropping Rock seeds, Total Rock seeds dropped ".. Scanner(11) .."**\n<:green_circle:984666691927691274> | Status : Online\n<:globe_with_meridians:984683698123337828> | Current World : ||"..getBot().world.."||\n:reminder_ribbon: | LV BOT : **"..getBot().level.."\r\n**\n**BACKPACK ITEM\n**<:wl:1035117139037790238> | WL/SL/HL/BL : "..findItem(SL_WL).."\n<:jammer:1035117134931558480> | Signal Jammer : "..findItem(226).."\n<:door:1035117137028710440> | Door : "..findItem(Door_Id).."\n<:entrance:1035117131173462047> | Entrance : "..findItem(Entr_ID).."\n<:gems:1035119534555791380> | GEMS : "..findItem(112).."")
  635.             sleep(7000)
  636.             sendPacket(3,"action|join_request\nname|"..CurrentWorld:upper().."\ninvitedWorld|0")
  637.             sleep(6500)
  638.         end
  639.         StayawayWD()
  640.     end
  641. end
  642.  
  643. function SaveTheLavaSeeds()
  644.     if Tosave_lava then
  645.         local CurrentWorld = getBot().world
  646.         if findItem(5) > 180 then
  647.             sleep(6000)
  648.             sendPacket(3,"action|join_request\nname|"..wd_Save:upper().."\ninvitedWorld|0")
  649.             sleep(7000)
  650.             sendPacket(3,"action|join_request\nname|"..wd_Save:upper().."|"..idwd_Save:upper().."\ninvitedWorld|0")
  651.             sleep(6500)
  652.         end
  653.         for _, tile in pairs(getTiles()) do
  654.             if tile.fg == Lava_BG or tile.bg == Lava_BG then
  655.                 sleep(500)
  656.                 findPath(tile.x, tile.y)
  657.                 sleep(800)
  658.             end
  659.         end
  660.         while findItem(5) > 130 do
  661.             move(-3,0)
  662.             drop(5)
  663.             sleep(1500)
  664.             move(-1,0)
  665.             sleep(500)
  666.         end
  667.         if findItem(5) < 180 then
  668.             BrewHook("\n**BOT INFORMATION\r\n**:skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **Done dropping Lava seeds, Total Lava seeds dropped ".. Scanner(5) .."**\n<:green_circle:984666691927691274> | Status : Online\n<:globe_with_meridians:984683698123337828> | Current World : ||"..getBot().world.."||\n:reminder_ribbon: | LV BOT : **"..getBot().level.."\r\n**\n**BACKPACK ITEM\n**<:wl:1035117139037790238> | WL/SL/HL/BL : "..findItem(SL_WL).."\n<:jammer:1035117134931558480> | Signal Jammer : "..findItem(226).."\n<:door:1035117137028710440> | Door : "..findItem(Door_Id).."\n<:entrance:1035117131173462047> | Entrance : "..findItem(Entr_ID).."\n<:gems:1035119534555791380> | GEMS : "..findItem(112).."")
  669.             sleep(7000)
  670.             sendPacket(3,"action|join_request\nname|"..CurrentWorld:upper().."\ninvitedWorld|0")
  671.             sleep(6500)
  672.         end
  673.         StayawayWD()
  674.     end
  675. end
  676.  
  677. function findstart()
  678.     if Mode == 2 then
  679.         if use_wl == true then
  680.             if findItem(242) == 0 then
  681.                 takefind(242)
  682.                 sleep(200)
  683.             end
  684.         end
  685.         if findItem(202) == 0 then
  686.             takefind(202)
  687.             sleep(200)
  688.         end
  689.         if findItem(Entr_ID) == 0 then
  690.             takefind(Entr_ID)
  691.             sleep(200)
  692.         end
  693.         if findItem(Door_Id) == 0 then
  694.             takefind(Door_Id)
  695.             sleep(200)
  696.         end
  697.         if findItem(226) == 0 then
  698.             takefind(226)
  699.             sleep(200)
  700.         end
  701.         if findItem(2) == 0 then
  702.             takefind(2)
  703.             sleep(200)
  704.         end
  705.     end
  706.     if Mode == 1 then
  707.         if findItem(SL_WL) == 0 then
  708.             takefind(SL_WL)
  709.             sleep(200)
  710.         end
  711.         if findItem(Entr_ID) == 0 then
  712.             takefind(Entr_ID)
  713.             sleep(200)
  714.         end
  715.         if findItem(226) == 0 then
  716.             takefind(226)
  717.             sleep(200)
  718.         end
  719.     end
  720. end
  721.  
  722. function Bitem()
  723.     if takeitem_world then
  724.         sendPacket(3,"action|join_request\nname|"..wdItem:upper().."\ninvitedWorld|0")
  725.         sleep(7000)
  726.         sendPacket(3,"action|join_request\nname|"..wdItem:upper().."|"..idwdItem.."\ninvitedWorld|0")
  727.         sleep(6500)
  728.         findstart()
  729.         sleep(4000)
  730.         if Mode == 2 then
  731.             move(-1,0)
  732.             sleep(800)
  733.             TrashTheCan = {2, 14}
  734.             for i, trash in ipairs(TrashTheCan) do
  735.                 if findItem(trash) > 195 then
  736.                     sendPacket(2, "action|trash\n|itemID|" .. trash)
  737.                     sleep(4500)
  738.                     sendPacket(2, "action|dialog_return\ndialog_name|trash_item\nitemID|" .. trash .. "|\ncount|" .. 200)
  739.                     sleep(4700)
  740.                 end
  741.             end
  742.             if use_wl == true then
  743.                 if findItem(242) > 1 then
  744.                     Itemdrop(242,findItem(242) - 1)
  745.                     sleep(200)
  746.                 end
  747.             end
  748.             if findItem(202) > 1 then
  749.                 Itemdrop(202,findItem(202) - 1)
  750.                 sleep(200)
  751.             end
  752.             if findItem(Entr_ID) > 2 then
  753.                 Itemdrop(Entr_ID,findItem(Entr_ID) - 4)
  754.                 sleep(200)
  755.             end
  756.             if findItem(Door_Id) > 1 then
  757.                 Itemdrop(Door_Id,findItem(Door_Id) - 1)
  758.                 sleep(200)
  759.             end
  760.             if findItem(226) > 1 then
  761.                 Itemdrop(226,findItem(226) - 1)
  762.                 sleep(200)
  763.             end
  764.             if findItem(2) > 1 then
  765.                 Itemdrop(2,findItem(2) - 6)
  766.                 sleep(200)
  767.             end
  768.         end
  769.         if Mode == 1 then
  770.             if findItem(SL_WL) > 1 then
  771.                 Itemdrop(SL_WL,findItem(SL_WL) - 1)
  772.                 sleep(200)
  773.             end
  774.             if findItem(Entr_ID) > 2 then
  775.                 Itemdrop(Entr_ID,findItem(Entr_ID) - 4)
  776.                 sleep(200)
  777.             end
  778.             if findItem(226) > 1 then
  779.                 Itemdrop(226,findItem(226) - 1)
  780.                 sleep(200)
  781.             end
  782.         end
  783.     end
  784. end
  785.  
  786. function GetDirtSeeds()
  787.     local CurrentWorld = getBot().world
  788.     if findItem(3) == 0 then
  789.         sleep(6000)
  790.         sendPacket(3,"action|join_request\nname|"..wd_Save:upper().."\ninvitedWorld|0")
  791.         sleep(7000)
  792.         sendPacket(3,"action|join_request\nname|"..wd_Save:upper().."|"..idwd_Save:upper().."\ninvitedWorld|0")
  793.         sleep(6500)
  794.         for _, floating in pairs(getObjects()) do
  795.             if floating.id == 3 then
  796.                 findPath((floating.x+10) / 32, (floating.y+10) / 32)
  797.                 sleep(1000)
  798.                 collect(2)
  799.                 sleep(1500)
  800.             end
  801.         end
  802.         if findItem(3) > 1 then
  803.             sleep(7000)
  804.             sendPacket(3,"action|join_request\nname|"..CurrentWorld:upper().."\ninvitedWorld|0")
  805.             sleep(6500)
  806.         end
  807.         StayawayWD()
  808.     end
  809. end
  810.  
  811. function PlantAndHarvestDirt()
  812.     while findItem(2) == 0 do
  813.         for x = 2, 22  do
  814.             if findItem(2) == 200 then
  815.                 break
  816.             end
  817.             if findItem(3) == 0 then
  818.                 GetDirtSeeds()
  819.                 sleep(250)
  820.             end
  821.             while getTile(x, 23).ready do
  822.                 findPath(x, 23)
  823.                 punch(0, 0)
  824.                 sleep(Delayharvest)
  825.                 collect(2)
  826.             end
  827.             while getTile(x, 23).fg == 0 and findItem(3) > 0 do
  828.                 findPath(x, 23)
  829.                 place(3, 0, 0)
  830.                 sleep(Delayplant)
  831.             end
  832.             rcn()
  833.         end
  834.     end
  835. end
  836.  
  837. function placeTheDirts()
  838.     for y = 52, 2, -2 do
  839.         for x = 2, 97 do
  840.             if getTile(x, y).fg == 0 then
  841.                 PlantAndHarvestDirt()
  842.                 findPath(x, y - 1)
  843.                 while getTile(x, y).fg == 0 and findItem(2) > 0 do
  844.                     place(2, 0, 1)
  845.                     sleep(Delayplace)
  846.                 end
  847.                 rcn()
  848.             end
  849.         end
  850.     end
  851. end
  852.  
  853. function DirtFarmDone()
  854.     for x = 2, 22  do
  855.         while getTile(x,23).fg == 3 do
  856.             findPath(x,23)
  857.             sleep(135)
  858.             punch(0,0)
  859.             sleep(Delaybreak)
  860.             Trashcan()
  861.             if getTile(x,23).fg == 0 then
  862.                 collect(2)
  863.                 sleep(40)
  864.             end
  865.             rcn()
  866.         end
  867.     end
  868. end
  869.  
  870. function BreakTheSignalJammer()
  871.     if Sjammer then
  872.         for _,t in pairs(getTiles()) do
  873.             if t.fg == 226 then
  874.                 findPath(t.x, t.y-1)
  875.                 sleep(2000)
  876.                 while getTile(t.x, t.y).fg ~= 0 or getTile(t.x, t.y).bg ~= 0 do
  877.                     punch(0,1)
  878.                     sleep(Delaybreak)
  879.                     place(Entr_ID,0,2)
  880.                     sleep(Delayplace)
  881.                     place(2,0,1)
  882.                     sleep(Delayplace)
  883.                 end
  884.             end
  885.         end
  886.     end
  887. end
  888.  
  889. function mf(xy)
  890.     return math.floor(xy / 32)
  891. end
  892.  
  893. function wlpublic(x,y)
  894.     if wl_public then
  895.         sleep(2000)
  896.         wrench(x,y)
  897.         sleep(4500)
  898.         sendPacket(2,[[action|dialog_return\ndialog_name|lock_edit\ntilex|]]..math.floor(getBot().x/32)+x..[[|\ntiley|]]..math.floor(getBot().y/32)+y..[[|\ncheckbox_public|1\ncheckbox_disable_music|0\ntempo|100\ncheckbox_disable_music_render|0\ncheckbox_set_as_home_world|0\nminimum_entry_level|1]])
  899.         sleep(4000)
  900.     end
  901. end    
  902.  
  903. function crosscheck()
  904.     if Mode == 2 then
  905.         if use_wl == true then
  906.             if findItem(242) == 0 or findItem(202) == 0 or findItem(Entr) ==  0 or findItem(Door_Id) == 0 or findItem(226) == 0 or findItem(2) == 0 then
  907.                 Bitem()
  908.             end
  909.         end
  910.         if use_wl == false then
  911.             if findItem(202) == 0 or findItem(Entr) ==  0 or findItem(Door_Id) == 0 or findItem(226) == 0 or findItem(2) == 0 then
  912.                 Bitem()
  913.             end
  914.         end
  915.     end
  916.     if Mode == 1 then
  917.         if findItem(SL_WL) == 0 or findItem(Entr) ==  0 or findItem(226) == 0 then
  918.             Bitem()
  919.         end
  920.     end
  921.     if findItem(SL_WL) == 0 then
  922.         BrewHook(":skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **Word Lock is 0, my task has been completed :100:**\n<:green_circle:984666691927691274> | Status : Online\n<:globe_with_meridians:984683698123337828> | Current World : ||"..getBot().world.."||\n:timer: | Time : "..waktu().."\n:reminder_ribbon: | LV BOT : "..getBot().level.."\r\n**\n**BACKPACK ITEM\n**<:wl:1035117139037790238> | WL/SL/HL/BL : "..findItem(SL_WL).."\n<:jammer:1035117134931558480> | Signal Jammer : "..findItem(226).."\n<:door:1035117137028710440> | Door : "..findItem(Door_Id).."\n<:entrance:1035117131173462047> | Entrance : "..findItem(Entr_ID).."\n<:gems:1035119534555791380> | GEMS : "..findItem(112).."")
  923.         removeBot(getBot().name)
  924.     end
  925. end
  926.  
  927. function dfr()
  928.     t = os.time()
  929.     local time = os.time() - t  
  930.     if GenerateRandomWorld == 1 then
  931.         BrewHook("\n**BOT INFORMATION\r\n**:skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **Do make a dirt farm**\n<:green_circle:984666691927691274> | Status : Online\n<:globe_with_meridians:984683698123337828> | Current World : ||"..getBot().world.."||\n:timer: | Time : "..waktu().."\n:reminder_ribbon: | LV BOT : **"..getBot().level.."\r\n**\n**BACKPACK ITEM\n**<:wl:1035117139037790238> | WL/SL/HL/BL : "..findItem(SL_WL).."\n<:jammer:1035117134931558480> | Signal Jammer : "..findItem(226).."\n<:door:1035117137028710440> | Door : "..findItem(Door_Id).."\n<:entrance:1035117131173462047> | Entrance : "..findItem(Entr_ID).."\n<:gems:1035119534555791380> | GEMS : "..findItem(112).."")
  932.         GeneTheWorld()
  933.         sleep(2000)
  934.         dro()
  935.     end
  936.     if GenerateRandomWorld == 1 then
  937.         LogReadyWorld(""..getBot().name.." World : "..getBot().world .." ".. (os.date("!%a %b %d, %Y at %I:%M %p", os.time() + 7 * 60 * 60)) .."")
  938.         sleep(200)
  939.         BrewHook("\n**BOT INFORMATION\r\n**:skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **World found and The Name is ||"..getBot().world.."||**\n<:green_circle:984666691927691274> | Status : Online\n<:globe_with_meridians:984683698123337828> | Current World : ||"..getBot().world.."||\n:timer: | Time : "..waktu().."\n:reminder_ribbon: | LV BOT : **"..getBot().level.."\r\n**\n**BACKPACK ITEM\n**<:wl:1035117139037790238> | WL/SL/HL/BL : "..findItem(SL_WL).."\n<:jammer:1035117134931558480> | Signal Jammer : "..findItem(226).."\n<:door:1035117137028710440> | Door : "..findItem(Door_Id).."\n<:entrance:1035117131173462047> | Entrance : "..findItem(Entr_ID).."\n<:gems:1035119534555791380> | GEMS : "..findItem(112).."")
  940.         sleep(300)
  941.     end
  942. end
  943.  
  944. jmlBot = #getBots()
  945. for i = 0, jmlBot do
  946.   if string.upper(getBots()[i].name) == string.upper(getBot().name) then
  947.     indexBot = i
  948.   end
  949. end
  950.  
  951. if indexBot == 0 then
  952.     while true do
  953.         sleep(150)
  954.         if Mode == 0 then
  955.             say("SCRIPT BY BREWDERS")
  956.             say("MANUAL MODE DIRT FARM")
  957.             say("Bot : ||"..getBot().name.."||")
  958.             for i, listW in ipairs(world) do
  959.                 t = os.time()
  960.                 local time = os.time() - t  
  961.                 if getBot().world ~= string.upper(listW) then
  962.                     sendPacket(3,"action|join_request\nname|"..listW:upper().."\ninvitedWorld|0")
  963.                     sleep(7000)
  964.                     sendPacket(3,"action|join_request\nname|"..listW:upper().."|"..idWorld:upper().."\ninvitedWorld|0")
  965.                     sleep(6500)
  966.                 end  
  967.                 StayawayWD()
  968.                 ClearTheSide()
  969.                 TakeAndplacePlatform()
  970.                 ClearingDirts()
  971.                 if Break_rock then
  972.                     ClearTheRocks()
  973.                 end
  974.                 ClearTheLavas()
  975.                 placeTheDirts()
  976.                 DirtFarmDone()
  977.                 BreakTheSignalJammer()
  978.                 BrewHook("\n**BOT INFORMATION\r\n**:skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **||"..getBot().name.."|| says that the Dirt Farm ||"..getBot().world.."|| is Ready :white_check_mark:**\n<:green_circle:984666691927691274> | Status : Online\n<:globe_with_meridians:984683698123337828> | Current World : ||"..getBot().world.."||\n:timer: | Time : "..waktu().."\n:reminder_ribbon: | LV BOT : **"..getBot().level.."\r\n**\n**BACKPACK ITEM\n**<:wl:1035117139037790238> | WL/SL/HL/BL : "..findItem(SL_WL).."\n<:jammer:1035117134931558480> | Signal Jammer : "..findItem(226).."\n<:door:1035117137028710440> | Door : "..findItem(Door_Id).."\n<:entrance:1035117131173462047> | Entrance : "..findItem(Entr_ID).."\n<:gems:1035119534555791380> | GEMS : "..findItem(112).."")
  979.             end
  980.             if discBot then
  981.                 removeBot(getBot().name)
  982.             end
  983.         end
  984.         if Mode == 1 then
  985.             say("SCRIPT BY BREWDERS")
  986.             say("NORMAL DESIGN DIRT FARM")
  987.             say("Bot : ||"..getBot().name.."||")
  988.             while true do
  989.                 Bitem()
  990.                 crosscheck()
  991.                 autobp()
  992.                 dfr()
  993.                 StayawayWD()
  994.                 ClearTheSide()
  995.                 TakeAndplacePlatform()
  996.                 ClearingDirts()
  997.                 if Break_rock then
  998.                 ClearTheRocks()
  999.             end
  1000.             ClearTheLavas()
  1001.             placeTheDirts()
  1002.             DirtFarmDone()
  1003.             BreakTheSignalJammer()
  1004.             BrewHook("\n**BOT INFORMATION\r\n**:skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **||"..getBot().name.."|| says that the Dirt Farm ||"..getBot().world.."|| is Ready :white_check_mark:**\n<:green_circle:984666691927691274> | Status : Online\n<:globe_with_meridians:984683698123337828> | Current World : ||"..getBot().world.."||\n:timer: | Time : "..waktu().."\n:reminder_ribbon: | LV BOT : **"..getBot().level.."\r\n**\n**BACKPACK ITEM\n**<:wl:1035117139037790238> | WL/SL/HL/BL : "..findItem(SL_WL).."\n<:jammer:1035117134931558480> | Signal Jammer : "..findItem(226).."\n<:door:1035117137028710440> | Door : "..findItem(Door_Id).."\n<:entrance:1035117131173462047> | Entrance : "..findItem(Entr_ID).."\n<:gems:1035119534555791380> | GEMS : "..findItem(112).."")
  1005.             end
  1006.         end
  1007.         if Mode == 2 then
  1008.             say("SCRIPT BY BREWDERS")
  1009.             say("ROTASI DESIGN DIRT FARM")
  1010.             say("Bot : ||"..getBot().name.."||")
  1011.             while true do
  1012.                 Bitem()
  1013.                 crosscheck()
  1014.                 autobp()
  1015.                 dfr()
  1016.                 StayawayWD()
  1017.                 ClearTheSide()
  1018.                 TakeAndplacePlatform()
  1019.                 ClearingDirts()
  1020.                 if Break_rock then
  1021.                 ClearTheRocks()
  1022.             end
  1023.             ClearTheLavas()
  1024.             placeTheDirts()
  1025.             DirtFarmDone()
  1026.             BreakTheSignalJammer()
  1027.             BrewHook("\n**BOT INFORMATION\r\n**:skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **||"..getBot().name.."|| says that the Dirt Farm ||"..getBot().world.."|| is Ready :white_check_mark:**\n<:green_circle:984666691927691274> | Status : Online\n<:globe_with_meridians:984683698123337828> | Current World : ||"..getBot().world.."||\n:timer: | Time : "..waktu().."\n:reminder_ribbon: | LV BOT : **"..getBot().level.."\r\n**\n**BACKPACK ITEM\n**<:wl:1035117139037790238> | WL/SL/HL/BL : "..findItem(SL_WL).."\n<:jammer:1035117134931558480> | Signal Jammer : "..findItem(226).."\n<:door:1035117137028710440> | Door : "..findItem(Door_Id).."\n<:entrance:1035117131173462047> | Entrance : "..findItem(Entr_ID).."\n<:gems:1035119534555791380> | GEMS : "..findItem(112).."")
  1028.             end
  1029.         end
  1030.     end
  1031. elseif indexBot == 1 then
  1032.     while true do
  1033.         sleep(150)
  1034.         if Mode == 0 then
  1035.             say("SCRIPT BY BREWDERS")
  1036.             say("MANUAL MODE DIRT FARM")
  1037.             say("Bot : ||"..getBot().name.."||")
  1038.             for i, listW in ipairs(world) do
  1039.                 t = os.time()
  1040.                 local time = os.time() - t  
  1041.                 if getBot().world ~= string.upper(listW) then
  1042.                     sendPacket(3,"action|join_request\nname|"..listW:upper().."\ninvitedWorld|0")
  1043.                     sleep(7000)
  1044.                     sendPacket(3,"action|join_request\nname|"..listW:upper().."|"..idWorld:upper().."\ninvitedWorld|0")
  1045.                     sleep(6500)
  1046.                 end  
  1047.                 StayawayWD()
  1048.                 ClearTheSide()
  1049.                 TakeAndplacePlatform()
  1050.                 ClearingDirts()
  1051.                 if Break_rock then
  1052.                     ClearTheRocks()
  1053.                 end
  1054.                 ClearTheLavas()
  1055.                 placeTheDirts()
  1056.                 DirtFarmDone()
  1057.                 BreakTheSignalJammer()
  1058.                 BrewHook("\n**BOT INFORMATION\r\n**:skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **||"..getBot().name.."|| says that the Dirt Farm ||"..getBot().world.."|| is Ready :white_check_mark:**\n<:green_circle:984666691927691274> | Status : Online\n<:globe_with_meridians:984683698123337828> | Current World : ||"..getBot().world.."||\n:timer: | Time : "..waktu().."\n:reminder_ribbon: | LV BOT : **"..getBot().level.."\r\n**\n**BACKPACK ITEM\n**<:wl:1035117139037790238> | WL/SL/HL/BL : "..findItem(SL_WL).."\n<:jammer:1035117134931558480> | Signal Jammer : "..findItem(226).."\n<:door:1035117137028710440> | Door : "..findItem(Door_Id).."\n<:entrance:1035117131173462047> | Entrance : "..findItem(Entr_ID).."\n<:gems:1035119534555791380> | GEMS : "..findItem(112).."")
  1059.             end
  1060.             if discBot then
  1061.                 removeBot(getBot().name)
  1062.             end
  1063.         end
  1064.         if Mode == 1 then
  1065.             say("SCRIPT BY BREWDERS")
  1066.             say("NORMAL DESIGN DIRT FARM")
  1067.             say("Bot : ||"..getBot().name.."||")
  1068.             while true do
  1069.                 Bitem()
  1070.                 crosscheck()
  1071.                 autobp()
  1072.                 dfr()
  1073.                 StayawayWD()
  1074.                 ClearTheSide()
  1075.                 TakeAndplacePlatform()
  1076.                 ClearingDirts()
  1077.                 if Break_rock then
  1078.                 ClearTheRocks()
  1079.             end
  1080.             ClearTheLavas()
  1081.             placeTheDirts()
  1082.             DirtFarmDone()
  1083.             BreakTheSignalJammer()
  1084.             BrewHook("\n**BOT INFORMATION\r\n**:skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **||"..getBot().name.."|| says that the Dirt Farm ||"..getBot().world.."|| is Ready :white_check_mark:**\n<:green_circle:984666691927691274> | Status : Online\n<:globe_with_meridians:984683698123337828> | Current World : ||"..getBot().world.."||\n:timer: | Time : "..waktu().."\n:reminder_ribbon: | LV BOT : **"..getBot().level.."\r\n**\n**BACKPACK ITEM\n**<:wl:1035117139037790238> | WL/SL/HL/BL : "..findItem(SL_WL).."\n<:jammer:1035117134931558480> | Signal Jammer : "..findItem(226).."\n<:door:1035117137028710440> | Door : "..findItem(Door_Id).."\n<:entrance:1035117131173462047> | Entrance : "..findItem(Entr_ID).."\n<:gems:1035119534555791380> | GEMS : "..findItem(112).."")
  1085.             end
  1086.         end
  1087.         if Mode == 2 then
  1088.             say("SCRIPT BY BREWDERS")
  1089.             say("ROTASI DESIGN DIRT FARM")
  1090.             say("Bot : ||"..getBot().name.."||")
  1091.             while true do
  1092.                 Bitem()
  1093.                 crosscheck()
  1094.                 autobp()
  1095.                 dfr()
  1096.                 StayawayWD()
  1097.                 ClearTheSide()
  1098.                 TakeAndplacePlatform()
  1099.                 ClearingDirts()
  1100.                 if Break_rock then
  1101.                 ClearTheRocks()
  1102.             end
  1103.             ClearTheLavas()
  1104.             placeTheDirts()
  1105.             DirtFarmDone()
  1106.             BreakTheSignalJammer()
  1107.             BrewHook("\n**BOT INFORMATION\r\n**:skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **||"..getBot().name.."|| says that the Dirt Farm ||"..getBot().world.."|| is Ready :white_check_mark:**\n<:green_circle:984666691927691274> | Status : Online\n<:globe_with_meridians:984683698123337828> | Current World : ||"..getBot().world.."||\n:timer: | Time : "..waktu().."\n:reminder_ribbon: | LV BOT : **"..getBot().level.."\r\n**\n**BACKPACK ITEM\n**<:wl:1035117139037790238> | WL/SL/HL/BL : "..findItem(SL_WL).."\n<:jammer:1035117134931558480> | Signal Jammer : "..findItem(226).."\n<:door:1035117137028710440> | Door : "..findItem(Door_Id).."\n<:entrance:1035117131173462047> | Entrance : "..findItem(Entr_ID).."\n<:gems:1035119534555791380> | GEMS : "..findItem(112).."")
  1108.             end
  1109.         end
  1110.     end
  1111. elseif indexBot == 2 then
  1112.     while true do
  1113.         sleep(150)
  1114.         if Mode == 0 then
  1115.             say("SCRIPT BY BREWDERS")
  1116.             say("MANUAL MODE DIRT FARM")
  1117.             say("Bot : ||"..getBot().name.."||")
  1118.             for i, listW in ipairs(world) do
  1119.                 t = os.time()
  1120.                 local time = os.time() - t  
  1121.                 if getBot().world ~= string.upper(listW) then
  1122.                     sendPacket(3,"action|join_request\nname|"..listW:upper().."\ninvitedWorld|0")
  1123.                     sleep(7000)
  1124.                     sendPacket(3,"action|join_request\nname|"..listW:upper().."|"..idWorld:upper().."\ninvitedWorld|0")
  1125.                     sleep(6500)
  1126.                 end  
  1127.                 StayawayWD()
  1128.                 ClearTheSide()
  1129.                 TakeAndplacePlatform()
  1130.                 ClearingDirts()
  1131.                 if Break_rock then
  1132.                     ClearTheRocks()
  1133.                 end
  1134.                 ClearTheLavas()
  1135.                 placeTheDirts()
  1136.                 DirtFarmDone()
  1137.                 BreakTheSignalJammer()
  1138.                 BrewHook("\n**BOT INFORMATION\r\n**:skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **||"..getBot().name.."|| says that the Dirt Farm ||"..getBot().world.."|| is Ready :white_check_mark:**\n<:green_circle:984666691927691274> | Status : Online\n<:globe_with_meridians:984683698123337828> | Current World : ||"..getBot().world.."||\n:timer: | Time : "..waktu().."\n:reminder_ribbon: | LV BOT : **"..getBot().level.."\r\n**\n**BACKPACK ITEM\n**<:wl:1035117139037790238> | WL/SL/HL/BL : "..findItem(SL_WL).."\n<:jammer:1035117134931558480> | Signal Jammer : "..findItem(226).."\n<:door:1035117137028710440> | Door : "..findItem(Door_Id).."\n<:entrance:1035117131173462047> | Entrance : "..findItem(Entr_ID).."\n<:gems:1035119534555791380> | GEMS : "..findItem(112).."")
  1139.             end
  1140.             if discBot then
  1141.                 removeBot(getBot().name)
  1142.             end
  1143.         end
  1144.         if Mode == 1 then
  1145.             say("SCRIPT BY BREWDERS")
  1146.             say("NORMAL DESIGN DIRT FARM")
  1147.             say("Bot : ||"..getBot().name.."||")
  1148.             while true do
  1149.                 Bitem()
  1150.                 crosscheck()
  1151.                 autobp()
  1152.                 dfr()
  1153.                 StayawayWD()
  1154.                 ClearTheSide()
  1155.                 TakeAndplacePlatform()
  1156.                 ClearingDirts()
  1157.                 if Break_rock then
  1158.                 ClearTheRocks()
  1159.             end
  1160.             ClearTheLavas()
  1161.             placeTheDirts()
  1162.             DirtFarmDone()
  1163.             BreakTheSignalJammer()
  1164.             BrewHook("\n**BOT INFORMATION\r\n**:skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **||"..getBot().name.."|| says that the Dirt Farm ||"..getBot().world.."|| is Ready :white_check_mark:**\n<:green_circle:984666691927691274> | Status : Online\n<:globe_with_meridians:984683698123337828> | Current World : ||"..getBot().world.."||\n:timer: | Time : "..waktu().."\n:reminder_ribbon: | LV BOT : **"..getBot().level.."\r\n**\n**BACKPACK ITEM\n**<:wl:1035117139037790238> | WL/SL/HL/BL : "..findItem(SL_WL).."\n<:jammer:1035117134931558480> | Signal Jammer : "..findItem(226).."\n<:door:1035117137028710440> | Door : "..findItem(Door_Id).."\n<:entrance:1035117131173462047> | Entrance : "..findItem(Entr_ID).."\n<:gems:1035119534555791380> | GEMS : "..findItem(112).."")
  1165.             end
  1166.         end
  1167.         if Mode == 2 then
  1168.             say("SCRIPT BY BREWDERS")
  1169.             say("ROTASI DESIGN DIRT FARM")
  1170.             say("Bot : ||"..getBot().name.."||")
  1171.             while true do
  1172.                 Bitem()
  1173.                 crosscheck()
  1174.                 autobp()
  1175.                 dfr()
  1176.                 StayawayWD()
  1177.                 ClearTheSide()
  1178.                 TakeAndplacePlatform()
  1179.                 ClearingDirts()
  1180.                 if Break_rock then
  1181.                 ClearTheRocks()
  1182.             end
  1183.             ClearTheLavas()
  1184.             placeTheDirts()
  1185.             DirtFarmDone()
  1186.             BreakTheSignalJammer()
  1187.             BrewHook("\n**BOT INFORMATION\r\n**:skull: | Bot : ||"..getBot().name.."||\n<:mega:984686541383290940> | Information : **||"..getBot().name.."|| says that the Dirt Farm ||"..getBot().world.."|| is Ready :white_check_mark:**\n<:green_circle:984666691927691274> | Status : Online\n<:globe_with_meridians:984683698123337828> | Current World : ||"..getBot().world.."||\n:timer: | Time : "..waktu().."\n:reminder_ribbon: | LV BOT : **"..getBot().level.."\r\n**\n**BACKPACK ITEM\n**<:wl:1035117139037790238> | WL/SL/HL/BL : "..findItem(SL_WL).."\n<:jammer:1035117134931558480> | Signal Jammer : "..findItem(226).."\n<:door:1035117137028710440> | Door : "..findItem(Door_Id).."\n<:entrance:1035117131173462047> | Entrance : "..findItem(Entr_ID).."\n<:gems:1035119534555791380> | GEMS : "..findItem(112).."")
  1188.             end
  1189.         end
  1190.     end
  1191. end
Add Comment
Please, Sign In to add comment