Auto Splice Fixeds
Auto Splice Fixeds
World_Save = "Contoh" --# Ganti Dengan Nama World Tempat Seed Berada
Door_ID = "Contoh" --# Ganti Dengan ID Door Yang Ada Di World, "ID Door Harus Sama
Di Kedua World"
Delay_Plant = 400
Delay_Warp = 5000
Delay_Find_Path = 10000
function getAmount(id)
for _, x in pairs(getInventory()) do
if x.id == id then
return x.amount
end
end
return 0
end
function send(txt)
local var = {}
var[0] = "OnTextOverlay"
var[1] = txt
sendVariant(var)
end
function takeSeed(seedID)
for _, obj in pairs(getWorldObject()) do
if obj.id == seedID then
local targetX = math.floor(obj.pos.x / 32)
local targetY = math.floor(obj.pos.y / 32)
findPath(targetX, targetY)
sleep(Delay_Find_Path)
join(World_Name, Door_ID)
sleep(Delay_Warp)
plant(seedID, Delay_Plant)
end
end
end
function isSpliced()
for y = 1, 52 do
for x = 0, 98 do
if checkTile(x, y).fg == 0 and checkTile(x, y + 1).fg % 2 == 0 and
checkTile(x, y + 1).fg ~= 0 then
return false
end
end
end
return true
end
function Main()
send("This Script made by Beelzebub or known as Mrhuwy")
sleep(2000)