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.
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 ratings0% 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.
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 |