Professional Documents
Culture Documents
Leaked PTHT CaboEL-1
Leaked PTHT CaboEL-1
Leaked PTHT CaboEL-1
Customize = {
TreeID = 14459,
World = {
Name = "BFGACU",
},
Start = {
Mode = "HTPT", -- ada 2 mode. "PTHT" (Plant & Harvest) dan "HTPT" (Harvest &
Plant)
Loop = "GAS",
PosX = 0, -- ini biarin aja
PosY = 179, -- kurangin 1 dari tiles magplant misal ey magplant 190, isi disini
jadi 189
},
Delay = {
Harvest = 50, --- minimal 40. normal 50-100
entering = 50, -- jangan diotak atik
Plant = 10, -- minimal 10
},
Other = {
Plant = "VERTICAL", -- ada 2 mode.. "HORIZONTAL" dan "VERTICAL" kusaranin make
vertical lebih fast
AntiLag = false,
Mray = true, -- kalo bukan mray, ganti jadi false
},
Magplant = {
Limit = 200, -- ini untuk delay detek empty magplant
Total = 10, -- Jumlah magplant kamu
PosX = 0, -- Isi sesuai tiles
PosY = 180, -- Isi sesuai letak magplant
},
}
GrowID = GetLocal().name
function Raw(a, b, c, d, e)
SendPacketRaw(false,
{
type = a,
state = b,
value = c,
px = d,
py = e,
x = d * 32,
y = e * 32,
})
end
local TotalTree = 0
function GetTree(str)
if str == a then
local Total = 0
for y = Customize.Start.PosY + 1, Customize.Start.PosY % 2 == 0 and 0 or 1, -2
do
for x = Customize.Start.PosX, 199, 1 do
if GetTile(x, y).fg ~= Customize.TreeID or 0 then
Total = Total + 1
end
end
end
return Total
else
for y = Customize.Start.PosY, Customize.Start.PosY % 2 == 0 and 0 or 1, -2 do
for x = Customize.Start.PosX, 199, 1 do
if (Plant and GetTile(x, y).fg == Customize.TreeID) or (Harvest and
GetTile(x, y).fg == Customize.TreeID and GetTile(x, y).readyharvest) then
TotalTree = TotalTree + 1
end
end
end
return TotalTree
end
end
function GetMagplant()
local Found = {}
for x = Customize.Magplant.PosX, Customize.Magplant.PosX +
Customize.Magplant.Total, 1 do
y = Customize.Magplant.PosY
if GetTile(x, y).fg == 5638 then
table.insert(Found, {x, y})
end
end
return Found
end
UWSUsed = 0
function ChangeMode()
if Plant then
Plant = false
if GetTree(b) >= GetTree(a) then
UWSUsed = UWSUsed + 1
SendVariant({
v0 = "OnTextOverlay",
v1 = "`oTotal `2Used `c" .. UWSUsed .. " UWS"
})
SendPacket(2, "action|dialog_return\ndialog_name|ultraworldspray")
Sleep(9500)
SendVariant({
v0 = "OnTextOverlay",
v1 = "`cHarvest `#Mode"
})
Harvest = true
else
SendVariant({
v0 = "OnTextOverlay",
v1 = "`9Scanning `4Missing `cPlant"
})
Plant = true
end
TotalTree = 0
else
Harvest = false
if GetTree(a) >= GetTree(b) then
SendVariant({
v0 = "OnTextOverlay",
v1 = "`cPlant `#Mode"
})
Plant = true
else
SendVariant({
v0 = "OnTextOverlay",
v1 = "`9Scanning `4Missing `cHarvest"
})
Harvest = true
end
TotalTree = 0
end
end
Current = 1
function GetRemote()
Magplant = GetMagplant()
Raw(0, 32, 0, Magplant[Current][1], Magplant[Current][2])
Sleep(5 * 10^2)
Raw(3, 0, 32, Magplant[Current][1], Magplant[Current][2])
Sleep(5 * 10^2)
SendPacket(2, "action|dialog_return\ndialog_name|magplant_edit\nx|" ..
Magplant[Current][1] .. "|\ny|" .. Magplant[Current][2] .. "|\nbuttonClicked|
getRemote")
Sleep(5 * 10^3)
end
acaboo =
[[set_default_color||
add_label_with_icon|big|`oWelcome `b[ ]]..GrowID..[[ `b]|left|5212|
add_spacer|small|
add_textbox| DATE : `2]]..os.date("%d-%m-%Y")..[[|
add_textbox| `oThanks for purchase this `2Custom PTHT MRAY with UWS`|
add_textbox| `oOriginal script by : `cGano`#EL|
add_spacer|big|
add_url_button||`qDiscord Server ```w"```cGano`#EL `bScripts```w"``|NOFLAGS|
https://discord.com/invite/NvmEdQfxYP|`wFree `9CreativePS `1Scripts `wfor
`2GrowLauncher. `4JOIN NOW!!!``|0|0|
add_spacer|small|
add_label_with_icon|small|`wMake sure u already active /ghost command.|left|1432|
add_spacer|small|
add_label_with_icon|small|`wDon't make any moves after run the script!|left|1432|
add_spacer|small|
add_label_with_icon|small|`wStand on block with less animation to prevent lag or
crash.|1432|
add_spacer|big|
add_label_with_icon|small|`wMore update coming soon...|left|9476|
add_spacer|small|
add_label_with_icon|small|`2Thanks To`` : ``|left|12158|
add_textbox|- `b@ExCalibur `4[`cHelped Info & Inspiration`4]|left|
add_spacer|small|
add_textbox|- `b@Piers `4[`cHelped`4]|left|
add_spacer|small|
end_dialog|c|ENJOY|]]
function textbox(txt)
var = {}
var.v0 = "OnDialogRequest"
var.v1 = txt
SendVariant(var)
end
textbox(acaboo)
Limiter = 0
function Reconnect()
if GetWorldName() ~= Customize.World.Name then
SendPacket(3, "action|join_request\nname|" .. Customize.World.Name .. "|\
ninvitedWorld|0")
SendVariant({
v0 = "OnTextOverlay",
v1 = "`cEntering `#World `4: `2" .. Customize.World.Name
})
Sleep(Customize.Delay.entering * 10^2)
RemoteEmpty = true
else
if RemoteEmpty then
SendVariant({
v0 = "OnTextOverlay",
v1 = "`cTaking `#Remote"
})
GetRemote()
RemoteEmpty = false
end
Rotation()
end
end
RemoteEmpty = true
if Customize.Start.Mode:upper() == "PTHT" then
Plant, Harvest = true, false
else
Plant, Harvest = false, true
end
if (Customize.Other.Antilag) then
List = { "AntiLag" }
for _, Cheat in pairs(List) do
EditToggle(Cheat, true)
end
end
Current = 1
if Customize.Start.Loop == "GAS" then
while true do
Reconnect()
end
elseif type(Customize.Start.Loop) == "number" then
repeat
Reconnect()
if PTHT // 2 == Customize.Start.Loop then
SendPacket(2, "action|input\ntext|`4[`2PTHT`4] `9FINISHED `c" .. PTHT //
2 .. " `4LEAVE `8THE `#WORLD")
LogToConsole("`9You're `4job `9PTHT `5its `2DONE")
Sleep(5 * 10^2)
SendPacket(3, "action|join_request\nname|EXIT|\ninvitedWorld|0")
else
if PTHT % 2 ~= 0 then
SendPacket(2, "action|input\ntext|`4[`2PTHT`4][ `2Rotation `4: `9" ..
PTHT // 2 .. " `b/ `9" .. Customize.Start.Loop .. " (wink) `w]")
Sleep(5 * 10^2)
end
end
until PTHT // 2 == Customize.Start.Loop
end