You are on page 1of 2

-- Join For More Free Tons of Free Script updates!

-- credit to real source : PowerKuy


-- little modified by Deexzy

BlockID = 2

-- JANGAN DIUBAH2 AJFG--


dialog = [[add_label_with_icon|big|`0Auto Dirtfarm `9By Deexzy |
left|]]..BlockID..[[|
add_spacer|small|
add_textbox|`0Script Information |left|
add_textbox|`0Script [ Free ] |left|
add_textbox|`0Creator by :`c Deexzy |left|
add_textbox|`0Create Script :`c 20/10/2022 |left|
add_spacer|small|
add_textbox|`0Join Discord Deexzy|left
add_spacer|small|
add_button||`$Lanjut Auto Dirtfarm``|add_quick_exit|0|0|
add_quick_exit|]]

var = {}
var.v0 = "OnDialogRequest"
var.v1 = dialog
SendVariant(var)

for _, plr in pairs(GetPlayerList ()) do


var = {}
var.v0 = "OnTalkBubble"
var.v2 = "CP:0_PL:4_OID:_`cGAS AUTO DIRTFARM!"
var.v1 = plr.netID
SendVariant(var);
var.v0 = "OnTextOverlay"
var.v1 = "Auto Dirtfarm Mode : Active"
SendVariant(var);
end

enablecit = true

-- //+------------------------------------------------------------------+
if enablecit then
EditToggle("AntiBan", true)
EditToggle("ModFly", true)
EditToggle("Anti Lag", true)
EditToggle("Anti Check Point", true)
EditToggle("Anti Portal/Door", true)
EditToggle("Anti Punch", true)
EditToggle("Antibounce", true)
EditToggle("Anti Lava", true)
EditToggle("Auto Leave", true)
EditToggle("Use Warn Text", true)
EditToggle("Can See Ghost", true)
end
-- //+------------------------------------------------------------------+
-- Function For Breaking Block
-- //+------------------------------------------------------------------+
function BreakBlock(x , y)do
pkt = {}
pkt.px = x;
pkt.py = y;
pkt.x = x*32;
pkt.y = (y-2)*32;
pkt.type = 3;
pkt.value = 18;
SendPacketRaw (false, pkt);
Sleep(110)
end
end
-- //+------------------------------------------------------------------+
-- Checking World Tiles
-- //+------------------------------------------------------------------+
function findingdirt()
do
for _, tile in pairs(GetTiles())
do
if(tile.y %2 == 1) or tile.x == 0 or tile.x == 1 or tile.x ==99 or tile.x == 98
then
if(tile.fg == 2) or (tile.bg == 14 and tile.fg == 0) or (tile.fg == 10) or (tile.fg
== 4)
then
if(FindPath(tile.x, tile.y-2) == false)
then
BreakBlock(tile.x, tile.y)
break
end
end
end
end
end
end
-- //+------------------------------------------------------------------+
-- Start Program
-- //+------------------------------------------------------------------+
while true do
pcall(findingdirt(), 1)
Sleep(100)
end

You might also like