0% found this document useful (0 votes)
17 views2 pages

HT Move - Lua

The document describes an auto farming script for the game Aktifin. The script harvests Laser Grid Seeds, teleports to a drop location when inventory is full, and drops the seeds. It repeats this harvesting and dropping process until stopped.

Uploaded by

Galang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views2 pages

HT Move - Lua

The document describes an auto farming script for the game Aktifin. The script harvests Laser Grid Seeds, teleports to a drop location when inventory is full, and drops the seeds. It repeats this harvesting and dropping process until stopped.

Uploaded by

Galang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

--- aktifin auto collect sama fast drop

block = 8640 ---- id block


worldfarm = "LCNSE|YNTKTS" --- world farm
worlddrop = "LCNSE|YNTKTS" --- world save
delayht = 150 ----delay Harvest
delaydrop = 1000 ----Delay drop
sign = FindItemID("Laser Grid Seed")

function say(teks)
SendPacket(2, "action|input\n|text|"..teks)
Sleep(200)
end

function tele(id)
for k,v in pairs(GetTiles()) do
if v.fg == id or v.bg == id then
FindPath(v.x, v.y)
Sleep(700)
end
end
end

seed = block + 1

function p(x, y, id)


pkt = {}
pkt.type = 3
pkt.px = x
pkt.py = y
pkt.x = GetLocal().posX
pkt.y = GetLocal().posY
pkt.value = id
SendPacketRaw(false, pkt)
end

function check(id)
for _, inv in pairs(GetInventory()) do
if inv.id == id then
return inv.amount
end
end
return 0
end

function drop(id)
SendPacket(2, "action|drop\n|itemID|"..id)
Sleep(200)
end

function pos()
return {x = math.floor(GetLocal().posX//32), y = math.floor(GetLocal().posY//32)}
end

function ht()
say("/wp "..worldfarm)
Sleep(3500)
for k,v in pairs(GetTiles()) do
if v.fg == seed and v.readyharvest == true then
FindPath(v.x, v.y)
if (v.x-pos().x) >= 3 and v.y ~= pos().y then
delayy = 50
else
delayy = delayht
end
Sleep(delayy)
p(pos().x, pos().y, 18)
Sleep(delayht)
if check(block) == 200 then
save()
end
if pos().x == 99 and pos().y == 53 then
break
end
end
end
end

function save()
if check(block) == 200 then
say("/wp "..worlddrop)
Sleep(3500)
tele(sign)
drop(block)
Sleep(delaydrop)
if check(block) == 200 then
drop(block)
Sleep(delaydrop)
end
ht()
end
end

function pp()
if pcall(function()
ht()
end) == false then
pp()
end
end

pcall(pp, 1)

You might also like