Script Proxy
Script Proxy
---------------------------------------------------------------------------------
-- Batas
savefile = "code.txt" -- simpen filenya kemana (untuk take all code)
nama = GetLocal().name
-- List Proxy
proxylist = "\nadd_label_with_icon|big|`oNgewe Proxy |left|5555|"..
"\nadd_image_button|banner|interface/large/news_bannerrttex|
bannerlayout|||"..
"\nadd_textbox|`6Hi: " ..nama.. "|left|2480|"..
"\nadd_textbox|`9This proxy is free 100% No Sell|left|2440|"..
"\nadd_spacer|smal|"..
"\nadd_label_with_icon|small|`2All Features Proxy:|left|5956|"..
"\nadd_spacer|smal|"..
"\nadd_textbox|`2Information:|left|2480|"..
"\nadd_spacer|smal|"..
"\nadd_textbox|`o/proxy `2 (Proxy List)|left|2480|"..
"\nadd_textbox|`o/media `2 (Medsos Owner)|left|2480|"..
"\nadd_spacer|smal|"..
"\nadd_textbox|`2Feature:|left|2480|"..
"\nadd_spacer|smal|"..
"\nadd_textbox|`o/wd `2- Drop World Lock|left|2480|"..
"\nadd_textbox|`o/dd `2- Drop Diamond Lock|left|2480|"..
"\nadd_textbox|`o/w `2- Wrench Option|left|2480|"..
"\nadd_textbox|`o/legend `2- Enable Legend name|left|2480|"..
"\nadd_textbox|`o/offlegend `2- Disable Legend Name|left|2480|"..
"\nadd_textbox|`o/blink `2- Enable Blink Color|left|2480|"..
"\nadd_textbox|`o/offblink `2- Disable Blink Color|left|2480|"..
"\nadd_textbox|`o/tp `2- Teleport Use Wrench `4(BANNABLE)|left|
2480|"..
"\nadd_textbox|`o/offtp `2- Disable Teleport|left|2480|"..
"\nadd_textbox|`o/daw `2- Drop All World Lock & Diamond Lock|left|
2480|"..
"\nadd_textbox|`o/setflag[ID] `2- Set Your Flag , Example :
/setflag jp`4(NO VISUAL)|left|2480|"..
"\nadd_textbox|`o/gs `2- GrowScan Ghoib|left|2480|"..
"\nadd_textbox|`o/gsi `2- Gscan Item|left|2480|"..
"\nadd_textbox|`o/gsb `2- Gscan block|left|2480|"..
"\nadd_textbox|`o/finditem `2- Find Item|left|2480|"..
"\nadd_textbox|`o/kall `2- Kick All Player|left|2480|"..
"\nadd_textbox|`o/ball `2- Ban All Player|left|2480|"..
"\nadd_textbox|`o/pall `2- Pull All Player|left|2480|"..
"\nadd_textbox|`o/setname `2- Set Visual Name|left|2480|"..
"\nadd_textbox|`o/speed & /offspeed `2- Increase walking speed|
left|2480|"..
"\nadd_textbox|`o/fly `2- Enable Mod Fly|left|2480|"..
"\nadd_textbox|`o/offfly `2- Disable Mod Fly|left|2480|"..
"\nadd_textbox|`o/wp `2- Warp To World|left|2480|"..
"\nadd_textbox|`o/autopull `2- auto pull when join|left|2480|"..
"\nadd_textbox|`o/offpull `2- Disable Auto Pull|left|2480|"..
"\nadd_textbox|`o/invis `2- Enable Invisible Like Mods|left|
2480|"..
"\nadd_textbox|`o/offinvis `2- Disable Invisible|left|2480|"..
"\nadd_textbox|`o/doctor `2- Enable Doctor name|left|2480|"..
"\nadd_textbox|`o/undoctor `2- Disable Doctor name|left|2480|"..
"\nadd_textbox|`o/mod `2- Enable Mod name|left|2480|"..
"\nadd_textbox|`o/unmod `2- Disable Mod name|left|2480|"..
"\nadd_textbox|`o/antip `2- Enable Anti Puch|left|2480|"..
"\nadd_textbox|`o/offp `2- Disable Anti Punch|left|2480|"..
"\nadd_textbox|`o/antigrav `2- Enable Anti Gravity|left|2480|"..
"\nadd_textbox|`o/grav `2- Disable Anti Gravity|left|2480|"..
"\nadd_textbox|`o/hack `2- Enable Anti Bounce|left|2480|"..
"\nadd_textbox|`o/unhack `2- Disable Anti Bounce|left|2480|"..
"\nadd_textbox|`o/fastwheel `2- Enable/Disable Fast & Real Wheel|
left|2480|"..
"\nadd_textbox|`o/save `2- Set World Save|left|2480|"..
"\nadd_textbox|`o/back `2- Back World Save|left|2480|"..
"\nadd_textbox|`o/takeallcode `2- Enable/Disable Debug Code|left|
2480|"..
"\nadd_textbox|`o/fastdrop `2- Fast Drop Item|left|2480|"..
"\nadd_textbox|`o/skin `2- Change Skin Color|left|2480|"..
"\nadd_quick_exit|"..
"\nend_dialog|end|Cancel|Okay|"
file:close()
end
----------------------------------------
-- End of Define Section
----------------------------------------
----------------------------------------
-- Start The Proxy
----------------------------------------
function on_sendpacket(type, packet) -- send packet hook
function dl()
for _, v in pairs(GetInventory()) do
if v.id == 1796 then
SendPacket(2, "action|drop\n|itemID|1796");
log("`2Succes Dropped `0"..v.amount.." `2Diamond Lock")
SendPacket(2, "action|dialog_return\ndialog_name|drop_item\nitemID|1796|\
ncount|"..v.amount);
end
end
end
function wl()
for _, v in pairs(GetInventory()) do
if v.id == 242 then
SendPacket(2, "action|drop\n|itemID|242");
log("`2Succes Dropped `0"..v.amount.." `2World Lock")
SendPacket(2, "action|dialog_return\ndialog_name|drop_item\nitemID|242|\
ncount|"..v.amount);
end
end
end
inputt = "action|input\n|text|"
function log(str)
LogToConsole(systemcmd .. str)
end
function command(str)
if packet:find(inputt .. str) then
LogToConsole("`6" .. str)
return true
end
end
----------------------------------------
-- Proxy Commands
----------------------------------------
if command("/proxy") then -- command
-- ini tempat sc
var = {}
var.v0 = "OnDialogRequest"
var.v1 = proxylist
SendVariant (var);
log("Proxy List")
-- ini tempat sc
return true -- return client (untuk menghilangkan log undefinied command)
end -- akhir dari command /info
if command("/takeallcode") then
if takeallcode == false then
takeallcode = true -- ini buat set boolean takeallcode jadi true
log("Take All Code `2Enabled")
else
takeallcode = false -- ini buat set boolean takeallcode jadi false
log("Take All Code `4Disabled")
end
return true
end
if command("/dd") then
txt = packet:gsub("action|input\n|text|/dd", "")
if txt == "" then
log("Write Amount")
else
SendPacket(2, "action|drop\n|itemID|1796")
SendPacket(2, "action|dialog_return\ndialog_name|drop_item\nitemID|1796|\
ncount|"..txt)
log("`2Succes Drop`0"..txt.." `2Diamond Lock")
return true
end
end
if command("/wd") then
txt = packet:gsub("action|input\n|text|/wd", "")
if txt == "" then
log("Write Amount")
else
SendPacket(2, "action|drop\n|itemID|242")
SendPacket(2, "action|dialog_return\ndialog_name|drop_item\nitemID|242|\
ncount|"..txt)
log("`2Succes Drop`0"..txt.." `2World Lock")
return true
end
end
if command("/daw") then
wl()
dl()
return true
end
if command("/legend") then
EditToggle("Legendary Name", true)
log("`2Succes Enable `0Legend Name")
return true
end
if command("/offlegend") then
EditToggle("Legendary Name", false)
log("`2Succes Disable `0Legend Name")
return true
end
if command("/blink") then
EditToggle("Blink Color", true)
log("`2Succes Enable `0Blink Color")
return true
end
if command("/offblink") then
ditToggle("Blink Color", false)
log("`2Succes Disable `0Blink Color")
return true
end
if command("/tp") then
EditToggle("PathFinder", true)
log("`2Succes Enable `0Teleport")
return true
end
if command("/offtp") then
EditToggle("PathFinder", false)
log("`2Succes Disable `0Teleport")
return true
end
if command("/speed") then
EditToggle("Growz V3", true)
log("`2Succes Enable `0Speed")
return true
end
if command("/offspeed") then
EditToggle("Growz V3", false)
log("`2Succes Disable `0Speed")
return true
end
if command("/fly") then
EditToggle("ModFly", true)
log("`2Succes Enable `0Fly")
return true
end
if command("/offfly") then
EditToggle("ModFly", false)
log("`2Succes Disable `0Fly")
return true
end
if command("/gsi") then
SendPacket(2, "action|dialog_return\ndialog_name|PowerGscan\nbuttonClicked|
finditem|gscan_floating_all")
log("`2Succes Enable `0Gscan")
return true
end
if command("/gsb") then
SendPacket(2, "action|dialog_return\ndialog_name|PowerGscan\nbuttonClicked|
findblock|gscan_floating_all")
log("`2Succes Enable `0Gscan")
return true
end
if command("/gs") then
EditToggle("GrowScan", true)
log("`2Succes Enable `0Gscan")
return true
end
if command("/invis") then
EditToggle("Invisible V1", true)
log("`2Succes Enable `0Invis")
return true
end
if command("/offinvis") then
EditToggle("Invisible V1", false)
log("`2Succes Disable `0Invis")
return true
end
if command("/autopull") then
EditToggle("Auto Pull When Join", true)
log("`2Succes Enable `0Auto Pull")
return true
end
if command("/offpull") then
EditToggle("Auto Pull When Join", false)
log("`2Succes Disable `0Auto Pull")
return true
end
if command("/doctor") then
b = GetLocal().name
SendPacket(2, [[
action|input
|text|/setname `4Dr.]] .. b .. "")
return true
end
if command("/undoctor") then
b = GetLocal().name
SendPacket(2, [[
action|input
|text|/setname ]] .. b .. " ")
return true
end
if command("/mod") then
b = GetLocal().name
SendPacket(2, [[
action|input
|text|/setname `#@]] .. b .. "")
return true
end
if command("/unmod") then
b = GetLocal().name
SendPacket(2, [[
action|input
|text|/setname ]] .. b .. " ")
return true
end
if command("/antigrav") then
LogToConsole("Antigravity `4Enable")
SendPacket(2, [[
action|input
|text|/anti]])
return true
end
if command("/grav") then
LogToConsole("Antigravity `3Disable")
SendPacket(2, [[
action|input
|text|/ranti]])
return true
end
if command("/antip") then
LogToConsole("AntiPunch `4Enable")
EditToggle("AntiPunch", true)
return true
end
if command("/offp") then
LogToConsole("AntiPunch `3Disable")
EditToggle("AntiPunch", false)
return true
end
if command("/hack") then
LogToConsole("AntiBounce `4Enable")
EditToggle("Antibounce", true)
return true
end
if command("/unhack") then
LogToConsole("AntiBounce `3Disable")
EditToggle("Antibounce", false)
return true
end
if command("/kall") then
SendPacket(2, [[
action|input
|text|/kickall ]])
SendPacket(2, [=[
action|input
|text|/warn `7Kick All Player [ `cSUCCES `7]]=])
return true
end
if command("/ball") then
SendPacket(2, [[
action|input
|text|/banall ]])
SendPacket(2, [=[
action|input
|text|/warn `7Ban All Player [ `cSUCCES `7]]=])
return true
end
if command("/pall") then
SendPacket(2, [[
action|input
|text|/pullall ]])
SendPacket(2, [=[
action|input
|text|/warn `7Pull All Player [ `cSUCCES `7]]=])
return true
end
if command("/hostmode") then
EditToggle("Auto Leave", true)
EditToggle("Auto Unacces", true)
log("`2Succes Enable `0Host Mode")
return true
end
if command("/skin") then
var = {}
var.v0 = "OnDialogRequest"
var.v1 = Skinlist
SendVariant(var)
log("Skin Option")
return true
end
if command("/fastdrop") then
if fastdrop == false then
fastdrop = true
log("Fast Drop `2Enabled")
else
fastdrop = false
log("Fast Drop `4Disabled")
end
return true
end
if command("/fastwheel") then
if fastwheel == false then
fastwheel = true
log("Fast Wheel `2Enabled")
else
fastwheel = false
log("Fast Wheel `4Disabled")
end
return true
end
if command("/save") then
saveworld = GetWorldName()
log("World saved to `2"..saveworld)
return true
end
if command("/back") then
log("Warping to `2"..saveworld)
SendPacket(3, "action|join_request\nname|"..saveworld.."\ninvitedWorld|0")
return true
end
----------------------------------------
-- End Of Proxy Commands
----------------------------------------
return false
end
----------------------------------------
-- Variant List
----------------------------------------
function variantlist(var)
varcontent = var.v2
if pcall(getcode) then
else
end
if pcall(getcode2) then
else
end
end
return false
end
----------------------------------------
-- End of Variant List
----------------------------------------
----------------------------------------
-- Send Packet Raw
----------------------------------------
function sendpacketraw(a)
if takeallcode == true then
writef(1, "Send Packet Raw :\nType : "..a.type.."\nX : "..a.x.."\nY :
"..a.y.."\nPunchX : "..a.px.."\nPunchY : "..a.py.."\nState : "..a.state.."\nValue :
"..a.value.."\nNetID : "..a.netid)
LogToConsole("Send Packet Raw :\nType : "..a.type.."\nX : "..a.x.."\nY :
"..a.y.."\nPunchX : "..a.px.."\nPunchY : "..a.py.."\nState : "..a.state.."\nValue :
"..a.value.."\nNetID : "..a.netid)
end
return false
end
----------------------------------------
-- End of Send Packet Raw
----------------------------------------
----------------------------------------
-- Add Hook for variant list, packet raw, and packet
----------------------------------------
AddHook(sendpacketraw, "OnSendPacketRaw")
AddHook (on_sendpacket, "OnSendPacket")
AddHook (variantlist, "OnVariant")
SendPacket(2, [=[
action|input
|text|/warn `7Proxy Activated [ `cFREE PROXY `7]]=])