0% found this document useful (0 votes)
4K views2 pages

Panel Aimbot .Scriptable

The document describes a script for a tool called 'PANEL AIMBOT' that utilizes jailbreak mode to manage settings related to virtual and light aim functionalities. It includes functions for loading and saving settings in JSON or PLIST formats, as well as user interface elements for toggling these settings. The script is designed to provide notifications and a menu for user interaction with the aim settings.

Uploaded by

truonganhzzzow
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)
4K views2 pages

Panel Aimbot .Scriptable

The document describes a script for a tool called 'PANEL AIMBOT' that utilizes jailbreak mode to manage settings related to virtual and light aim functionalities. It includes functions for loading and saving settings in JSON or PLIST formats, as well as user interface elements for toggling these settings. The script is designed to provide notifications and a menu for user interaction with the aim settings.

Uploaded by

truonganhzzzow
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/ 2

{

"always_run_in_app" : true,
"icon" : {
"color" : "deep-gray",
"glyph" : "laptop"
},
"name" : "PANEL AIMBOT ",
"script" : "const useJailbreakMode = true; \nconst ffConfigType = \"plist\"; \
nconst ffConfigPath = \"\/var\/mobile\/Containers\/Data\/Application\/Dán uuid ở
đây\/Documents\/config.plist\"; \n\nconst ffVirtualAimKey = \"virtualAim\";\nconst
ffLightAimKey = \"lightAim\";\n\nconst fm = FileManager.iCloud();\nconst filename =
\"tên file muốn đặt.json\";\nconst path = fm.joinPath(fm.documentsDirectory(),
filename);\n\nlet settings = {\n virtualAim: false,\n lightAim: false\n};\n\
nfunction loadSettings() {\n if (fm.fileExists(path)) {\n try {\n if (!
fm.isFileDownloaded(path)) fm.downloadFileFromiCloud(path);\n const raw =
fm.readString(path);\n const obj = JSON.parse(raw);\n settings =
Object.assign(settings, obj);\n } catch (e) { console.log(\"Load settings
error:\", e); }\n } else {\n saveSettings();\n }\n}\n\nfunction saveSettings()
{\n try {\n fm.writeString(path, JSON.stringify(settings, null, 2));\n } catch
(e) { console.log(\"Save settings error:\", e); }\n}\n\nfunction jbLoadJSON() {\n
try {\n const raw = FileManager.local().readString(ffConfigPath);\n const obj
= JSON.parse(raw);\n settings.virtualAim = !!obj[ffVirtualAimKey];\n
settings.lightAim = !!obj[ffLightAimKey];\n } catch (e) { console.log(\"JB JSON
load error:\", e); }\n}\n\nfunction jbSaveJSON() {\n try {\n const fmLocal =
FileManager.local();\n let obj = {};\n if (fmLocal.fileExists(ffConfigPath))
{\n obj = JSON.parse(fmLocal.readString(ffConfigPath));\n }\n
obj[ffVirtualAimKey] = settings.virtualAim;\n obj[ffLightAimKey] =
settings.lightAim;\n fmLocal.writeString(ffConfigPath, JSON.stringify(obj, null,
2));\n } catch (e) { console.log(\"JB JSON save error:\", e); }\n}\n\nfunction
plistParse(str) {\n const regex = new RegExp(`<key>${ffVirtualAimKey}<\/key>\\\\
s*<(true|false)\\\\\/>`);\n const regex2 = new
RegExp(`<key>${ffLightAimKey}<\/key>\\\\s*<(true|false)\\\\\/>`);\n const virtual
= regex.exec(str);\n const light = regex2.exec(str);\n if (virtual)
settings.virtualAim = (virtual[1] === \"true\");\n if (light) settings.lightAim =
(light[1] === \"true\");\n}\n\nfunction plistWrite(str) {\n str = str.replace(\n
new RegExp(`(<key>${ffVirtualAimKey}<\/key>\\\\s*<)(true|false)(\\\\\/>)`),\n
`$1${settings.virtualAim ? \"true\" : \"false\"}$3`\n );\n str = str.replace(\n
new RegExp(`(<key>${ffLightAimKey}<\/key>\\\\s*<)(true|false)(\\\\\/>)`),\n `$1$
{settings.lightAim ? \"true\" : \"false\"}$3`\n );\n return str;\n}\n\nfunction
jbLoadPLIST() {\n try {\n const raw =
FileManager.local().readString(ffConfigPath);\n plistParse(raw);\n } catch (e)
{ console.log(\"JB PLIST load error:\", e); }\n}\n\nfunction jbSavePLIST() {\n try
{\n const fmLocal = FileManager.local();\n let raw =
fmLocal.readString(ffConfigPath);\n raw = plistWrite(raw);\n
fmLocal.writeString(ffConfigPath, raw);\n } catch (e) { console.log(\"JB PLIST
save error:\", e); }\n}\n\nasync function toggle(key) {\n settings[key] = !
settings[key];\n if (useJailbreakMode) {\n if (ffConfigType === \"json\")
jbSaveJSON();\n else jbSavePLIST();\n } else {\n saveSettings();\n }\n
const n = new Notification();\n n.title = settings[key] ? \"Đã bật\" : \"Đã
tắt\";\n n.body = (key === \"virtualAim\" ? \"GHIM ĐẦU☠️\" : \"BẬT GHIM ĐẦU\") + `
— ${settings[key] ? \"ĐÃ BẬT\" : \"GHIM ĐẦU ĐÃ ĐƯỢC XOÁ\"}`;\n await
n.schedule();\n}\n\nasync function showMenu() {\n const alert = new Alert();\n
⚙️
alert.title = 'PANEL BAO KHANH';\n alert.message = `GHIM ĐẦU : $

{settings.lightAim ? \"𝐎𝐧\" : \"𝐎𝐟𝐟\"}`;\n alert.addAction(settings.virtualAim ?


{settings.virtualAim ? \"𝐎𝐧 \" : \"𝐎𝐟 𝐟 \"}\\; GHIM ĐẦU☠️ : $

\"𝐎𝐟𝐟 GHIM ĐẦU☠️\" : \"𝐎𝐧 GHIM ĐẦU☠️\");\n


alert.addAction(settings.lightAim ? \"XOÁ GHIM ĐẦU☠️\" : \"CHẠY CHỨC NĂNG🤫\");\n
alert.addAction(\"EXIT PANEL❌\");\n const idx = await alert.presentSheet();\n\n
if (idx === 0) {\n await toggle(\"virtualAim\");\n await showMenu();\n }
else if (idx === 1) {\n await toggle(\"lightAim\");\n await showMenu();\n }\
n}\n\nif (useJailbreakMode) {\n if (ffConfigType === \"json\") jbLoadJSON();\n
else jbLoadPLIST();\n} else {\n loadSettings();\n}\nawait showMenu();",
"share_sheet_inputs" : [

]
}

You might also like