0% found this document useful (0 votes)
9 views5 pages

Helper by Men Ari

The document contains a script for managing game actions related to item transactions, logging, and user commands. It includes functions for dropping items, handling inventory, and responding to user commands like deposits and withdrawals. The script also manages logging of actions and provides feedback to the user through overlays and console messages.

Uploaded by

vrkwbxn4ys
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)
9 views5 pages

Helper by Men Ari

The document contains a script for managing game actions related to item transactions, logging, and user commands. It includes functions for dropping items, handling inventory, and responding to user commands like deposits and withdrawals. The script also manages logging of actions and provides feedback to the user through overlays and console messages.

Uploaded by

vrkwbxn4ys
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/ 5

local pull = false local reme = false local qeme = false local machuclt = "" local

machui = "" local cbgl = false local tablelogspin = {} function penari(id,amount)


SendPacket(2, "action|dialog_return\ndialog_name|drop\nitem_drop|"..id.."|\
nitem_count|"..amount) end function pendiri(id,id2,amount) for _, inv in
pairs(GetInventory()) do if inv.id == id then if inv.amount < amount then
SendPacketRaw(false, { type = 10, value = id2 }) end end end end function
menaripr(id) for _, inv in pairs(GetInventory()) do if inv.id == id then return
inv.amount end end return 0 end function menariq(number) if number >= 10 then hasil
= string.sub(number, -1) else hasil = number end return hasil end function
menaripro(num) if reme and not qeme then return "`2[ `9REME:
`0"..menarri(tonumber(num)).." `2]" elseif not reme and qeme then return "`2[`9
QEME: `0"..menariq(tonumber(num)).."`2 ]" else return "" end end function
menarri(number) if number == 19 or number == 28 or number == 0 then hasil = 0 else
num1 = math.floor(number / 10) num2 = number % 10 hasil = string.sub(tostring(num1
+ num2), -1) end return hasil end function multiboxChecker(boolean) local hasil =
"" if boolean then hasil = "1" else hasil = "0" end return hasil end function
MachuCommunity(type,machu) if machu:find("/proxy") then ProxyCommand() return true
elseif machu:find("/log") then logmenu() return true elseif
machu:find("buttonClicked|spin") then spinlog() return true elseif
machu:find("buttonClicked|drop") then droplog() return true elseif
machu:find("buttonClicked|coll") then collectlog() return true elseif
machu:find("buttonClicked|resetall") then tablelogspin = {} machui = "" machuclt =
"" menarilay("`4Reset `wSemua Logs") return true elseif machu:find("buttonClicked|
resets") then tablelogspin = {} menarilay("`4Reset `0Roullete Logs") return true
elseif machu:find("buttonClicked|resetd") then machui = "" menarilay("`4Reset Drop
Logs") return true elseif machu:find("buttonClicked|resetc") then machuclt = ""
menarilay("`4Reset `0Collect Logs") return true end if machu:find("action|wrench\n|
netid|(%d+)") then id = machu:match("action|wrench\n|netid|(%d+)") if pull == true
then SendPacket(2,"action|dialog_return\ndialog_name|popup\nnetID|"..id.."|\
nbuttonClicked|pull") for _, player in pairs(GetPlayerList()) do if player.netID ==
tonumber(id) then menariman("Gas [ "..player.name.." ] ?") return true end end end
end if machu:find("/w (%d+)") then menarij = machu:match("/w (%d+)") c =
tonumber(menarij) pendiri(242,1796,c) penari(242,menarij) machulog("`4Drop
`0"..menarij.. " `9World Lock") menariman("`4Drop `0"..menarij.." `9World Lock")
machui = machui.."\nadd_label_with_icon|small|`w[`7"..os.date("%H:%M").."`w] You've
`4Dropped `0"..menarij.." `9World Lock|left|242|\n" return true elseif
machu:find("/d (%d+)") then menarij = machu:match("/d (%d+)") c = tonumber(menarij)
pendiri(1796,242,c) pendiri(1796,7188,c) penari(1796,menarij) machulog("`4Drop
`0"..menarij.. " `9Diamond Lock") menariman("`4Drop `0"..menarij.." `1Diamond
Lcok") machui = machui.."\nadd_label_with_icon|small|`w[`7"..os.date("%H:%M").."`w]
You've `4Dropped `0"..menarij.." `1Diamond Lock|left|1796|\n" return true elseif
machu:find("/b (%d+)") then menarij = machu:match("/b (%d+)") penari(7188,menarij)
machulog("`4Drop `0"..menarij.. " `eBlue Gem Lock") menariman("`4Drop
`0"..menarij.." `eBlue Gem Lcok") machui = machui.."\nadd_label_with_icon|small|
`w[`7"..os.date("%H:%M").."`w] You've `4Dropped `0"..menarij.." `eBlue Gem Lock|
left|7188|\n" return true elseif machu:find("/bb (%d+)") then menarij =
machu:match("/bb (%d+)") penari(11550,menarij) machulog("`4Drop `0"..menarij.. "
`1Black Gem Lock") menariman("`4Drop `0"..menarij.." `bBlack Gem Lcok") machui =
machui.."\nadd_label_with_icon|small|`w[`7"..os.date("%H:%M").."`w] You've
`4Dropped `0"..menarij.." `eBlack Gem Lock|left|11550|\n" return true end if
machu:find("/wp") then if pull == false then pull = true menarilay("`2Aktif `0Pull
Mode") return true else pull = false menarilay("`4Nonaktif `0Pull Mode") return
true end end if machu:find("/blu") then SendPacket(2,"action|dialog_return\
ndialog_name|info_box\nbuttonClicked|make_bluegl") menarilay("`2Sukses `0Convert")
menariman("`2Succes `0Make `1Blue Gem Lock") return true elseif machu:find("/bla")
then SendPacket(2,"action|dialog_return\ndialog_name|info_box\nbuttonClicked|
make_bgl") menarilay("`2Sukses `0Convert") menariman("`2Succes `0Make`b Black Gem
Lock") return true end if machu:find("/reme") then if reme == false then reme =
true qeme = false menarilay("`2Aktif `6Reme `0Mode") return true end end if
machu:find("/qeme") then if qeme == false then qeme = true reme = false
menarilay("`2Aktif `6Qeme `0Mode") return true end end if
machu:find("join_request") then tablelogspin = {} wwwmachu = menaripr(242) ald =
menaripr(1796) * 100 aldgo = menaripr(7188) * 10000 aldg = menaripr(11550) *
1000000 machuhh = wwwmachu + ald + aldgo + aldg machulog("Masuk Ke World")
machulog("`2Kamu Punya: `0"..machuhh.." `9World Lock") end if machu:find("/dp
(%d+)") then menarij = machu:match("/dp (%d+)") SendPacket(2,"action|dialog_return\
ndialog_name|bank_deposit\nbgl_count|"..menarij) menarilay("`2Deposit
`0"..menarij.." `eBlue Gem Lock") menariman("`2Depo `0"..menarij.." `eBlue Gem
Lock") return true elseif machu:find("/wd (%d+)") then menarij = machu:match("/wd
(%d+)") SendPacket(2,"action|dialog_return\ndialog_name|bank_withdraw\
nbgl_count|"..menarij) menarilay("`4Withdraw `0"..menarij.." `eBlue Gem Lock")
menariman("`2Wede `0"..menarij.." `eBlue Gem Lock") return true end if
machu:find("buttonClicked|(%d+)") then netid = machu:match("buttonClicked|(%d+)")
pelerspin(tonumber(netid)) return true end if machu:find("/cbgl") then if cbgl ==
false then cbgl = true menarilay("`2Aktif `0Fast Convert") return true else cbgl =
false menarilay("`4Nonaktif `0Fast Convert") return true end end if
machu:find("buttonClicked|link") then SendVariant({v0 = "OnDialogRequest", v1 =
logm}) return true end if machu:find("/ss (.+)") then spam = machu:match("/ss (.
+)") menarilay("`9Your Spam Message Has Been Set Into`w : " .. spam) SendPacket(2,
"action|input\ntext|/setSpam " .. spam) return true end if machu:find("/ns") then
SendPacket(2,"action|dialog_return\ndialog_name|cheats\ncheck_autospam|1\n")
menarilay("`0Spam Mode `2Aktif") return true elseif machu:find("/fs") then
SendPacket(2,"action|dialog_return\ndialog_name|cheats\ncheck_autospam|0\n")
menarilay("`0Spam Mode `4Nonaktif") return true end return false end
AddHook(MachuCommunity, "OnSendPacket") function menarilay(machu) SendVariant({ v0
= "OnTextOverlay", v1 = machu }) end function menariman(machu) SendPacket(2,
"action|input\n|text|`0[ `cMENARI`0 ] "..machu) end function machulog(machu)
LogToConsole("`w[ `cMENARI SCRIPT `w] `0"..machu) end function gaesanz(kuy) if
kuy.v1:find("OnConsoleMessage") and kuy.v2:find("`4Unknown command.") then
machulog("`9/proxy `0Untuk Melihat Semua Command") return true end if
kuy.v1:find("OnConsoleMessage") and kuy.v2:find("spun the wheel") and
kuy.v2:find("<") and kuy.v2:find(">") then machulog(kuy.v2.." `w[`4 FAKE `w]")
return true end if kuy.v1:find("OnConsoleMessage") and kuy.v2:find("spun the
wheel") then machulog("`w[ `2REAL `w] "..kuy.v2) return true end if
kuy.v1:find("OnConsoleMessage") and kuy.v2:find("Collected") and kuy.v2:find("(%d+)
World Lock") then menarij = kuy.v2:match("(%d+) World Lock") machuclt =
machuclt.."\nadd_label_with_icon|small|`w[`7"..os.date("%H:%M").."`w] You've
`2Collected `0"..menarij.." `9World Lock|left|242|\n" menariman("`2Collected
`0"..menarij.." `9World Lock") return true end if kuy.v1:find("OnConsoleMessage")
and kuy.v2:find("Collected") and kuy.v2:find("(%d+) Diamond Lock") then menarij =
kuy.v2:match("(%d+) Diamond Lock") menariman("`2Collected `0"..menarij.." `1Diamond
Lock") machuclt = machuclt.."\nadd_label_with_icon|small|`w[`7"..os.date("%H:
%M").."`w] You've `2Collected `0"..menarij.." `1Diamond Lock|left|1796|\n" s =
tonumber(menarij) for _, tile in pairs(GetTiles()) do if tile.fg == 3898 then for
_, inv in pairs(GetInventory()) do if inv.id == 1796 then if inv.amount > 100 or s
> 99 then SendPacket(2,"action|dialog_return\ndialog_name|telephone\nnum|53785|\
nx|"..tile.x.."|\ny|"..tile.y.."|\nbuttonClicked|bglconvert") end end end end end
return true end if kuy.v1:find("OnConsoleMessage") and kuy.v2:find("Collected") and
kuy.v2:find("(%d+) Blue Gem Lock") then menarij = kuy.v2:match("(%d+) Blue Gem
Lock") machuclt = machuclt.."\nadd_label_with_icon|small|`w[`7"..os.date("%H:
%M").."`w] You've `2Collected `0"..menarij.." `eBlue Gem Lock|left|7188|\n"
menariman("`2Collected `0"..menarij.." `eBlue Gem Lock") s = tonumber(menarij) for
_, tile in pairs(GetTiles()) do if tile.fg == 3898 then for _, inv in
pairs(GetInventory()) do if inv.id == 7188 then if inv.amount > 100 or s > 99 then
SendPacket(2,"action|dialog_return\ndialog_name|info_box\nbuttonClicked|make_bgl")
end end end end end return true end if kuy.v1:find("OnConsoleMessage") and
kuy.v2:find("Collected") and kuy.v2:find("(%d+) Black Gem Lock") then menarij =
kuy.v2:match("(%d+) Black Gem Lock") machuclt = machuclt.."\nadd_label_with_icon|
small|`w[`7"..os.date("%H:%M").."`w] You've `2Collected `0"..menarij.." `bBlack Gem
Lock|left|11550|\n" menariman("`2Collected `0"..menarij.." `bBlack Gem Lock")
return true end if kuy.v1:find("OnConsoleMessage") then machulog(kuy.v2) return
true end if kuy.v1:find("OnSDBroadcast") then return true end if
kuy.v1:find("OnTalkBubble") and kuy.v3:find("spun the wheel") and kuy.v3:find("<")
and kuy.v3:find(">") then SendVariant({v0 = kuy.v1, v1 = kuy.v2, v2 = ""..kuy.v3.."
`w[`4 FAKE `w]", v3 = kuy.v4}) table.insert(tablelogspin,{spin = "\
nadd_label_with_icon_button|small|`w[`7"..os.date("%H:%M").."`w] `w[`4FAKE`w]
"..kuy.v3.."|left|758|"..kuy.v2.."|\n",netid = kuy.v2}) return true end if
kuy.v1:find("OnTalkBubble")
and kuy.v3:find("spun the wheel") then if reme or qeme then local num =
string.gsub(string.gsub(kuy.v3:match("and got (.+)"), "!%]", ""), "`", "") local
onlynumber = string.sub(num, 2) local clearspace = string.gsub(onlynumber, " ", "")
local h = string.gsub(string.gsub(clearspace, "!7", ""), "]", "") SendVariant({v0 =
kuy.v1, v1 = kuy.v2, v2 = "`w[`2 REAL `w] "..kuy.v3.." "..menaripro(tonumber(h)),
v3 = kuy.v4}) table.insert(tablelogspin,{spin = "\nadd_label_with_icon_button|
small|`w[`7"..os.date("%H:%M").."`w] `w[`2REAL`w] "..kuy.v3.."|left|
758|"..kuy.v2.."|\n",netid = kuy.v2}) return true end end if
kuy.v1:find("OnTalkBubble") and kuy.v3:find("spun the wheel") then SendVariant({v0
= kuy.v1, v1 = kuy.v2, v2 = "`w[`2 REAL `w] "..kuy.v3.."", v3 = kuy.v4})
table.insert(tablelogspin,{spin = "\nadd_label_with_icon_button|small|
`w[`7"..os.date("%H:%M").."`w] `w[`2 REAL `w] "..kuy.v3.."|left|758|"..kuy.v2.."|\
n",netid = kuy.v2}) return true end if kuy.v1:find("OnDialogRequest") and
kuy.v2:find("Wow, that's fast delivery.") then return true end if
kuy.v1:find("OnDialogRequest") and kuy.v2:find("`wTelephone") then if cbgl == true
then x = kuy.v2:match("embed_data|x|(%d+)") y = kuy.v2:match("embed_data|y|(%d+)")
SendPacket(2,"action|dialog_return\ndialog_name|telephone\nnum|53785|\
nx|"..x.."|\ny|"..y.."|\nbuttonClicked|bglconvert") menarilay("`2Succes `0Change
`eBlue Gem Lock") return true end end if kuy.v1:find("OnRequestWorldSelectMenu")
then tablelogspin = {} wwwmachu = menaripr(242) ald = menaripr(1796) * 100 aldgo =
menaripr(7188) * 10000 aldg = menaripr(11550) * 1000000 machuhh = wwwmachu + ald +
aldgo + aldg machulog("`4Keluar `0World") machulog("`2Kamu Punya: `0"..machuhh.."
`9World Lock") end return false end AddHook(gaesanz, "OnVariant")
for i = 1, 1 do
SendPacket(2, "action|input\ntext| `cMENARI `4PROXY `0was`9 injected
`2successfully")
Sleep(1000)
end
hari = os.date("%A")
jam ="" ..os.date("%d-%m-%Y").. ""
function ProxyOpen()
opening = [[
set_default_color||
add_label_with_icon|big|`4Helper`9R/Q `2By `cMachu`#Community ``|left|898|

add_spacer|small|

add_textbox|`0By `9Machu `w& `9Menari|

add_textbox|`0Hello `2]]..GetLocal().name..[[ `0Thanks For Buying This Script |


left|
add_label_with_icon|small|`0DateTime : `9]]..hari..[[ `0,`9 ]]..jam..[[|left|
10078|

add_label_with_icon|small|`0Do not `4Resell `0or `4Share `0My Script|left|7190|


add_spacer|small|
add_label_with_icon|small|`3Information``|left|8224|
add_textbox|`0/`9proxy `0(`2Show all proxy command`0)|
add_label_with_icon|small|`2Credits`` : ``|left|13818|
add_textbox|- `cMENARI `0(`eDiscord`0 : `b! MENARI`0)|left|
add_label_with_icon|small|`2Version `9Script`` : ``|left|3798|
add_textbox|`9-`c 1.2|left|
add_spacer|small|
add_url_button||`9Discord Server
```w"```cMachu`#Community```w"``|NOFLAGS|https://discord.gg/nUSPyf9rvZ|`wFree
`9CreativePS `1Scripts `wfor `2GrowLauncher. `4JOIN NOW!!!``|0|0|
end_dialog|itro|Close| OKE |
]]
SendVariant({ v0 = "OnDialogRequest", v1 = opening })
end
ProxyOpen()
function ProxyCommand()
cmd = [[
add_label_with_icon|big|`2Proxy Command|left|756|
add_spacer|small|
add_label_with_icon|small|`0Information|left|1446|
add_textbox|`9/proxy `w( `2Proxy Command `w )|
add_textbox|`9log `w(`2Info log`w)
add_spacer|small|
add_label_with_icon|small|`0Main Commands|left|758|
add_textbox|`9/reme `w(`2 Aktif/Nonaktif REME Mode`0)|
add_textbox|`9/qeme `w(`2 Aktif/Nonaktif Qeme Mode`0)|
add_textbox|`9/cbgl `w(`2 Aktif/Nonaktif Fast Convert`0)|
add_textbox|`9/w`w [ `cAmount`0 ] (`4Drop `2World Lock`w )|
add_textbox|`9/d `w[ `cAmount `0] (`4Drop `2Diamond Lock `0)|
add_textbox|`9/b `w[ `cAmount `0] (`4Drop `2Blue Gem Lock`0 )|
add_textbox|`9/bb `w[ `cAmount`0 ] (`4Drop `2Black Gem Lock `w)|
add_textbox|`9/blu `w( `2Convert Back Gem Lock to Blue Gem Lock `w)|
add_textbox|`9/bla `w(`2 Convert Blue Gem Lock to Black Gem Lock`0 )|
add_textbox|`9/wp `w(`2 Aktif/Nonaktif Wrench mode pull `w)|
add_spacer|small|
add_label_with_icon|small|`0Sistem|left|32|
add_textbox|`9/wd `w[`cAmount`0 ] ( `2Withdraw Blue Gem Lock Dari Bank `w)|
add_textbox|`9/dp `w[ `cAmount`0 ] (`2 Deposit Blue Gem Lock Ke Bank `w)|
add_textbox|`9/ss `w[ text ] (`2 Setting Text Spam `w)|
add_textbox|`9/ns `w( `2Spam Mode `2Aktif `w)|
add_textbox|`9/fs `w( `2Spam Mode `4Nonaktif `w)|
add_quick_exit||
add_spacer|small|
end_dialog|cmdend|Cancel|
]]
SendVariant({ v0 = "OnDialogRequest", v1 = cmd }) end
function logmenu()
logm = [[
add_label_with_icon|big|`0Log Options|left|1436|
add_spacer|small|
add_button|spin|`wRoulette Wheel|noflags|0|
add_button|drop|`wDropped|noflags|0|
add_button|coll|`wCollected|noflags|0|
add_spacer|small|
add_button|resetall|`4Reset All|noflags|0|
add_spacer|small|
add_quick_exit||
end_dialog|ah|Cancel||
]]
SendVariant({ v0 = "OnDialogRequest", v1 = logm }) end function droplog()
DialogDrop = [[
add_label_with_icon|big|`0Dropped Logs|left|1436|
add_spacer|small|
add_button|resetd|`4Reset|noflags|0|
]]..machui..[[
add_spacer|small|
add_quick_exit||
add_button|link|Back|
]]
SendVariant({ v0 = "OnDialogRequest", v1 = DialogDrop }) end
function collectlog()
DialogCollect = [[
add_label_with_icon|big|`0Collected Logs|left|1436|
add_spacer|small|
add_button|resetc|`4Reset|noflags|0|
]]..machuclt..[[
add_spacer|small|
add_quick_exit||
add_button|link|Back|
]]
SendVariant({ v0 = "OnDialogRequest", v1 = DialogCollect }) end function
GetPlayer(id) for _, peler in pairs(GetPlayerList()) do if peler.netID == id then
return peler.name end end end function pelerspin(id) filterLog = {} for _, log in
pairs(tablelogspin) do if log.netid == id then
table.insert(filterLog,"\nadd_label_with_icon|small|"..log.spin.."|left|758|\n")
end
end
SendVariant({
v0 = "OnDialogRequest",
v1 = [[
add_label_with_icon|big|]]..GetPlayer(id)..[[ `bLogs|left|1436|
add_spacer|small|
]]..table.concat(filterLog)..[[
add_spacer|small|
add_quick_exit||
end_dialog|spinfilter|Close||
]]
})
end
function spinlog() dialogSpin = {} for _,spin in pairs(tablelogspin) do
table.insert(dialogSpin,spin.spin) end
SendVariant({
v0 = "OnDialogRequest",
v1 = [[
add_label_with_icon|big|`0Roulette Logs|left|1436|
add_spacer|small|
add_button|resets|`4Reset|noflags|0|
add_smalltext|`0Log Akan Di `4Reset `0Jika Kamu Keluar World|
add_smalltext|`0Click Gambar Roulette Untuk Melihat Lebih Spesifik|
]]..table.concat(dialogSpin)..[[
add_spacer|small|
add_quick_exit||
add_button|link|Back|
]]
})
end

You might also like