imtoofat3322

Untitled

Mar 16th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.87 KB | None | 0 0
  1. -- made by clv, ray & avn have fun leeching
  2.  
  3. local DevVersion = true;
  4. if DevVersion then
  5. local model = game:GetObjects("rbxassetid://889231903")[1];
  6. model:FindFirstChild('Arnex').Parent = game:service'CoreGui';
  7. model:FindFirstChild('ArnexLogin').Parent = game:service'Geometry';
  8. end;
  9.  
  10. print('beginning load with dev as',DevVersion);
  11. wait();
  12.  
  13. local Services = setmetatable({},{__index = function(self,req) return game:GetService(req) end});
  14. local Player = Services.Players.LocalPlayer;
  15. local Mouse = Player:GetMouse();
  16. local UIS = Services.UserInputService;
  17. local Arnex_Gui = Services.CoreGui:FindFirstChild('Arnex');
  18. local GuiData = {};
  19. local C = Arnex_Gui:FindFirstChild('Container');
  20. local Immune = {};
  21. local Messages = {};
  22. local Loops = {};
  23. local Noobs = {"keeganf", "yurps", "lqced", "stunnings", "InstantKarma", "Zealiance", "WWIIman1", "sergiu8957", "Narroby", "Blueice506", "bloody1", "Zladko", "Karterness", "Somberr", "WhosAstro", "SilentJoe2", "Estxban", "Sanbourne", "TaintedDreams", "TheForestWolf", "XrxshadowxX", "johanh2o", "anonymous12", "Milbert23", "Gusmanak", "matto323", "Narroby", "diseasterboy", "nilser2", "zamen40", "ipwnoobs5times", "TheRatchetHatchet", "DietWaWa", "Aueres", "pexf", "BioHazardous98", "Martin_Brodeur", "SpicyBuilderclub", "DorinTheBlackHammer", "Bobrules1111", "flamingsk8rdude", "MycarkeysJones", "OsmaniMiniMessi10", "alex25bossgoku", "natures_miracle", "JarlSoda", "XxDemonKingDiabloxX", "toothythedeer333", "MonsterGamerWar", "SkepticLemon", "kevin10222", "OddXman", "Lumism", "minibartmanthefirst", "ninjman123", "BeneficialBryan", "epicsarrowm djchickenwing0,FatherLogic", "Mandei", "SilasAnderson", "iReallyLegit", "FCEFEAR", "TheForestWolf", "Leyzor", "Axst", "XrxshadowxX", "claykillsu", "Sanbourne", "Gunmetry", "Shadingly", "Zolutions", "EvilCool", "deooon", "Jamie_Jr", "YouFoundRichard", "Slurpify", "opKSaint", "Cyptonite", "Re_try", "InternalTitan", "Recoilized", "fratels", "CunningBiscuit", "icyss", "concents", "SteffJonez", "flexai", "Neelan", "fentox", "laserpie"};
  24. local EspData = {};
  25. local Commands = {};
  26. local RemoteBase = {};
  27. local God = {};
  28. local Vitals = {};
  29.  
  30. wait();
  31.  
  32. GuiData.Bases = {};
  33. GuiData.Container = C;
  34. GuiData.GuiToggle = Arnex_Gui:FindFirstChild('OpenClose');
  35. GuiData.Header = C:FindFirstChild('Header');
  36. GuiData.Menu = C:FindFirstChild('LeftMenu');
  37. GuiData.Back = C:FindFirstChild('BackP');
  38. GuiData.Search = GuiData.Header:FindFirstChild('Search');
  39. GuiData.Exec = GuiData.Header:FindFirstChild('Go');
  40. GuiData.Buttons = GuiData.Back:FindFirstChild('Buttons');
  41. GuiData.Input = GuiData.Back:FindFirstChild('Input');
  42. GuiData.Login = Services.Geometry:FindFirstChild('ArnexLogin');
  43.  
  44. GuiData.Bases.Button = GuiData.Buttons:FindFirstChild('Button1'):Clone();
  45. GuiData.Bases.Arg = GuiData.Input:FindFirstChild('Input1'):Clone();
  46. GuiData.Bases.Submit = GuiData.Input:FindFirstChild('Input2'):Clone();
  47.  
  48. wait();
  49.  
  50. C.Active = true;
  51. C.Draggable = true;
  52.  
  53. GuiData.Buttons.Button1:Destroy();
  54. GuiData.Input.Input1:Destroy();
  55. GuiData.Input.Input2:Destroy();
  56. GuiData.Menu.Display.Credit.Text = "Made by Avn and Ray";
  57. GuiData.OrigPos = C.Position;
  58.  
  59. player = Player;
  60. print'Variables success';
  61. -- Init --
  62.  
  63.  
  64. function dump(data)
  65. local send = '\n[== ARNEX debug dump begin ==]\n'
  66. for i,v in next,data do
  67. send = send.."\ndebug key ["..tostring(i).."] => "..tostring(v);
  68. end;
  69. send = send..'\n\n[== ARNEX debug dump end ==]'
  70. warn(send);
  71. end;
  72.  
  73. if getrenv then
  74. _G = getrenv()._G;
  75. shared = getrenv().shared;
  76. elseif getgenv then
  77. _G = getgenv()._G;
  78. shared = getgenv().shared;
  79. else
  80. warn('[ARNEX] Unexpected error.. Some commands will be unavailable, report this dump to a dev and we will attempt to fix');
  81. dump({
  82. type = 'Launch error',
  83. gEnv = getgenv or 'nil',
  84. gREnv = getrenv or 'nil',
  85. Sh = shared,
  86. G = _G or 'nil',
  87. });
  88. _G = setmetatable(_G,{__index = function(s,r) return function() output('Command unavailable :( (Report F9 dump)') end end});
  89. shared = setmetatable(shared,{__index = function(s,r) return function() output('Command unavailable :( (Report F9 dump)') end end});
  90. end;
  91.  
  92. function exit(hard)
  93. if not hard then
  94. game:Shutdown();workspace.Gravity=0/0;error();
  95. else
  96. repeat spawn(error) until nil;
  97. end;
  98. end;
  99. function destroy(...)
  100. Services.Debris:AddItem(...,0)
  101. end;
  102. function checkReal(func)
  103. if not func then return false end;
  104. local p,_ = pcall(function() ("").dump(func) end);
  105. local y,_ = ypcall(function() ("").dump(func) end);
  106. local x,_ = xpcall(function() ("").dump(func) end,1);
  107. return not p and not y and not x
  108. end;
  109.  
  110. if not Arnex_Gui or not GuiData.Login then
  111. dump{
  112. type = 'Tampering',
  113. UI = Arnex_Gui,
  114. LGN = GuiData.Login,
  115. }
  116. exit();
  117. elseif not DevVersion then
  118. pcall(function()
  119. local User = GuiData.Login.Container.UBox.Text;
  120. local Pass = User.Parent.PBox.Text;
  121. local Test = Services.HttpService:JSONDecode(game:HttpPost("https://rvgserver.herokuapp.com/arnex/topkek", Services.HttpService:JSONEncode{username=User,password=Pass,rbxu=Player.Name},true,"application/json"));
  122.  
  123. if not Test.response then
  124. destroy(Arnex_Gui)
  125. destroy(GuiData.Login);
  126. exit(true);
  127. end
  128. end)
  129. end;
  130.  
  131. for i,v in next,{"A_lmaz","yassofi","DIAAMND", "TanqR","hex_kill","Liamelly",("2v\108\99"):reverse()} do
  132. Immune[i] = v;
  133. end;
  134. for i,v in next,{"ARNEX Apoc Gui","All, others, and me work in ARNEX!","There are constant updates and fixes!","Found a bug? Report it to Avn or Ray!","Need help? Message #support in our discord","Have a suggestion? Message Avn or Ray"} do
  135. Messages[i] = v;
  136. end;
  137.  
  138. indexLookup = function(s,r)
  139. for _,v in pairs(s) do
  140. if v == r then
  141. return v;
  142. end;
  143. end;
  144. end;
  145.  
  146. setmetatable(Immune,{__index=indexLookup});
  147. setmetatable(Noobs,{__index=indexLookup});
  148.  
  149. local EspBG = Instance.new("BillboardGui");EspBG.AlwaysOnTop = true;EspBG.Size = UDim2.new(0,100,0,20);EspBG.StudsOffset = Vector3.new(0,4,0);EspBG.Name = "ESP";
  150. local EspLBL = Instance.new("TextLabel",EspBG);EspLBL.BackgroundTransparency = 1;EspLBL.Size = UDim2.new(1,0,1,0);EspLBL.Text = "";EspLBL.TextColor3 = Color3.new(1,1,1);EspLBL.TextStrokeColor3 = Color3.new(0,0,0);EspLBL.TextStrokeTransparency = 0;EspLBL.TextSize = 10;
  151.  
  152. EspData.BG = EspBG;
  153. EspData.Label = EspLBL;
  154. ItemCodes={["AK-104"]=1037,["WindscreenGlass"]=184,["WaterBottle"]=209,["Watch"]=3001,["VehicleJack"]=3016,["Vegetables"]=214,["VS50"]=256,["Uzi"]=2015,["Ushanka"]=7014,["USP45Ammo"]=26,["USP45"]=2007,["Twinkies"]=212,["Tuna"]=4,["TrinityBeret"]=7015,["TomatoSoup"]=215,["TM46"]=257,["TEC9Ammo32"]=57,["TEC9Ammo20"]=56,["TEC9Ammo"]=20,["TEC-9"]=2005,["SurvivalPackTan"]=4009,["SurvivalPackGrey"]=4010,["SurvivalPackGreen"]=4011,["SurvivalPackBrown"]=4012,["Suppressor9"]=9007,["Suppressor762"]=9010,["Suppressor556"]=9009,["Suppressor545"]=9011,["Suppressor45"]=9008,["Spam"]=6,["SodaSprite"]=205,["SodaRoot"]=207,["SodaPepsi"]=7,["SodaPepper"]=9,["SodaMoxie"]=208,["SodaDew"]=202,["SodaCrush"]=201,["SodaCoke"]=8,["ShotgunAmmo"]=18,["Shotgun"]=1002,["ShadesGrey"]=8005,["ShadesBlack"]=8001,["ScrapMetal"]=183,["Sabre"]=3014,["SUSAT"]=9014,["STANAGAmmo50"]=52,["STANAGAmmo30"]=51,["STANAGAmmo100"]=53,["SKSAmmo"]=45,["SKS"]=1018,["SCAR-L"]=1022,["RoadFlare"]=251,["RevolverAmmo"]=25,["Revolver"]=2006,["ReinforcedWheel"]=189,["Reflex"]=9003,["RedChemlight"]=3020,["RedBeret"]=7013,["RawMeat"]=220,["Ranger"]=7003,["RamboClothingTop"]=5003,["RamboClothingBottom"]=6003,["Radio"]=3018,["RPK"]=1034,["Pringles"]=204,["PilotGreen"]=7010,["PilotBlack"]=7009,["Pasta"]=5,["Painkillers"]=12,["PaddedClothingTop"]=5002,["PaddedClothingBottom"]=6002,["PPSHAmmo"]=46,["PPSH"]=1019,["PP19Ammo64"]=58,["SmallCrate"]=38,["OmniLight"]=3015,["OTs-14"]=1036,["NagantAmmo"]=17,["Mosin-Nagant"]=1001,["Model459Ammo14"]=59,["Model459"]=2013,["Mk48Ammo"]=23,["Mk48"]=1005,["Mk23"]=2018,["Mk17"]=1031,["MilitaryPackGrime"]=4013,["MilitaryPackGrey"]=4015,["MilitaryPackGreen"]=4014,["MilitaryPackBlack"]=4016,["MaverickAmmo"]=27,["Maverick"]=1010,["Material6"]=36,["Material5"]=35,["Material4"]=34,["Material3"]=33,["Material2"]=32,["Material1"]=31,["Matches"]=3005,["MaskSpecOps"]=8009,["MaskPhantom"]=8013,["MaskMime"]=8008,["MaskMercenary"]=8007,["MaskHockey"]=8012,["Map"]=3003,["MakarovAmmo"]=16,["Makarov"]=2003,["MRE"]=10,["MP5Ammo"]=29,["MP5"]=1012,["M9Ammo32"]=55,["M9Ammo17"]=54,["M9Ammo"]=19,["M93R"]=2016,["M9"]=2004,["M870Ammo"]=28,["M870"]=1011,["M4A1"]=1004,["M3Ammo30"]=60,["M3"]=1028,["M249Ammo100"]=61,["M249"]=1024,["M1911Ammo"]=15,["M1911"]=2002,["M14"]=1016,["M1014"]=1027,["M14Ammo50"]=64,["M14Ammo30"]=63,["M14Ammo20"]=62,["M1Garand"]=1006,["Lemonade"]=206,["Laser"]=9006,["Kobra"]=9004,["Knife"]=3013,["KethArmorTop"]=5011,["KethArmorBottom"]=6011,["JerryCanEmpty"]=186,["JerryCan"]=185,["HornRimmed"]=8006,["Holo"]=9002,["HikingPackWhite"]=4006,["HikingPackOrange"]=4005,["HikingPackBrown"]=4008,["HikingPackBlue"]=4007,["Hatchet"]=3011,["HK417"]=1033,["HK21"]=1032,["GusArmorTop"]=5010,["GusArmorBottom"]=6010,["Grip"]=9005,["GreenChemlight"]=3021,["GarandAmmo"]=24,["GPS"]=3006,["G37"]=2017,["G36K"]=1023,["G3"]=1030,["G18"]=2011,["FuelTank"]=182,["Floodlight"]=37,["FlashlightSurvival"]=3009,["FlashlightOld"]=3008,["FlashlightMilitary"]=3010,["FlashlightAttachment"]=9012,["Firewood"]=250,["Firefighter"]=8004,["FedorovAmmo"]=44,["Fedorov"]=1017,["Fedora"]=7004,["FannyPackWhite"]=4002,["FannyPackTan"]=4001,["FannyPackPurple"]=4004,["FannyPackBlue"]=4003,["FAL"]=1029,["Eyepatch"]=8003,["Entrencher"]=3004,["EngineParts"]=181,["EnfieldAmmo"]=42,["Enfield"]=1015,["Detonator"]=3017,["Crowbar"]=3012,["CowlGreen"]=7002,["CowlBlack"]=7001,["Cowboy"]=7012,["CookedMeat"]=221,["Compass"]=3002,["ClothingTopFalse"]=5000,["ClothingBottomFalse"]=6000,["CivilianClothingTop"]=5001,["CivilianClothingBottom"]=6001,["ChocolateBar"]=211,["ChipsAhoy"]=213,["ChickenSoup"]=216,["CheezIts"]=203,["CarWheel"]=180,["CamoWoodlandsTop"]=5007,["CamoWoodlandsBottom"]=6007,["CamoUrbanTop"]=5005,["CamoUrbanBottom"]=6005,["CamoSpecialTop"]=5009,["CamoSpecialBottom"]=6009,["CamoSnowTop"]=5008,["CamoSnowBottom"]=6008,["CamoJungleTop"]=5006,["CamoJungleBottom"]=6006,["CamoDesertTop"]=5004,["CamoDesertBottom"]=6004,["CZ75Ammo"]=40,["CZ75"]=2010,["CCO"]=9001,["CBJ-MS"]=2014,["C4"]=255,["BrimmedBrown"]=7007,["BrimmedBlack"]=7008,["Bowler"]=7005,["BlueChemlight"]=3022,["BloodBag"]=11,["Binoculars"]=3007,["Biker"]=7006,["BeefStew"]=217,["BeefJerky"]=210,["Beans"]=3,["Beanie"]=7011,["BandanaSkull"]=8014,["BandanaRenegade"]=8011,["BandanaRed"]=8010,["BandanaBlack"]=8002,["BallisticUrban"]=7018,["BallisticSpecOps"]=7019,["BallisticJungle"]=7017,["BallisticGlass"]=187,["BallisticDesert"]=7016,["Auto-5"]=1025,["ArmorPlates"]=188,["AN-94"]=1040,["AKS-74U"]=1041,["AKM"]=1038,["AKAmmo75"]=67,["AKAmmo45"]=66,["AKAmmo30"]=65,["AK47Ammo75"]=50,["AK47Ammo40"]=49,["AK47Ammo30"]=48,["AK-74"]=1039,["AK-47"]=1003,["AK-12"]=1035,["ACOG"]=9013,["LargeCrate"]=39,["PP-19"]=1026,["Patriot"]=1021}
  155.  
  156. print'Init success';
  157. --- ---
  158. -- Functions --
  159. function clearArgs()
  160. for i,v in next, GuiData.Input:GetChildren() do
  161. if not v:IsA("UIListLayout") then
  162. destroy(v)
  163. end
  164. end
  165. end
  166. function inverseTab(t)
  167. local ret={}
  168. for i,v in next, t do
  169. ret[v] = i;
  170. end
  171. return s
  172. end
  173. ItemCodes = inverseTab(ItemCodes);
  174. function toggleVisible()
  175. local Tween = GuiData.Container;
  176. GuiData.GuiOut = not GuiData.GuiOut;
  177. if not GuiData.GuiOut then
  178. GuiData.OrigPos = GuiData.Container.Position;
  179. end;
  180. Tween:TweenPosition(GuiData.GuiOut and GuiData.OrigPos or UDim2.new(-1,0,GuiData.OrigPos.X.Scale,0),"Out","Quad",.15,true)
  181. end;
  182.  
  183. function fireRemote(rem,...)
  184. if type(rem) == 'string' then
  185. if RemoteBase[rem] then
  186. RemoteBase[rem]:FireServer(...)
  187. else
  188. if not workspace.Remote:FindFirstChild(rem) then
  189. warn('[ARNEX] Failed to get a remote, please report this dump to the devs!');
  190. dump({
  191. type = 'Remote fetch error',
  192. remote = rem,
  193. wrkspc = workspace,
  194. wrkspcT = typeof(workspace),
  195. })
  196. else
  197. RemoteBase[rem] = workspace.Remote:FindFirstChild(rem);
  198. fireRemote(rem,...);
  199. end;
  200. end;
  201. elseif type(rem) == 'userdata' then
  202. rem:FireServer(...);
  203. end;
  204. end;
  205.  
  206. function output(str)
  207. fireRemote('SendMessage', Player, 'Green', tostring(str))
  208. end;
  209.  
  210. function recurseSet(obj,mode)
  211. local function s(o,mode)
  212. for i,v in next, o:GetChildren() do
  213. if v:IsA("LocalScript") then
  214. v.Disabled = not v.Disabled;
  215. end;
  216. if #v:children() > 0 then
  217. s(v,mode);
  218. end;
  219. end
  220. end
  221. if obj:IsA("LocalScript") then
  222. obj.Disabled = mode;
  223. end
  224. s(obj,mode);
  225. end
  226. function clearButtons()
  227. for i,v in next, GuiData.Buttons:GetChildren() do
  228. if v.ClassName == "TextButton" then
  229. destroy(v);
  230. end
  231. end
  232. end;
  233. function getPlayer(name,mean)
  234. name = name:lower();
  235. local ret = {};
  236. if name == "me" then
  237. ret = {Player};
  238. elseif name == "all" then
  239. ret = Services.Players:GetPlayers();
  240. elseif name == "others" then
  241. ret = Services.Players:GetPlayers();
  242. for i,v in next, ret do
  243. if v == Player then
  244. ret[i] = nil;
  245. break;
  246. end
  247. end
  248. else
  249. for i,v in next, Services.Players:GetPlayers() do
  250. if v.Name:lower():sub(1,#name) == name then
  251. ret = {v};
  252. break;
  253. end
  254. end
  255. end
  256.  
  257. for i,v in pairs(ret) do
  258. if Immune[v.Name] and Player ~= v and mean then
  259. fireRemove('SendMessage', v, "Yellow", "Someone is using ARNEX and attempted to use a bad command on you. You are protected by the ARNEX developers <3");
  260. ret[i] = nil;
  261. end
  262. end
  263.  
  264. return ret;
  265. end
  266. function recInvis(o)
  267. for i,v in next, o:GetChildren() do
  268. if v:IsA("BasePart") then
  269. shared.fireserver("BreakWindow2", v, true);
  270. end
  271. recInvis(v);
  272. end
  273. end
  274. function renderButtons()
  275. clearButtons();
  276.  
  277. for i,cmd in next, Commands do
  278. if cmd.cat == selected then
  279. local new = GuiData.Bases.Button:Clone();
  280. new.Parent = GuiData.Buttons;
  281. new.Text = i;
  282. new.MouseButton1Down:connect(function()
  283. clearArgs();
  284. for i,v in next, cmd.args do
  285. local arg = GuiData.Bases.Arg:Clone();
  286. arg.Name = tostring(i);
  287. arg.Label.Text = v[1];
  288. arg.TextBox.Text = v[2];
  289. arg.Parent = GuiData.Input;
  290. end
  291. local submit = GuiData.Bases.Submit:Clone();
  292. submit.Parent = GuiData.Input;
  293. submit.Name = "Submit";
  294. submit.MouseButton1Click:connect(function()
  295. local args = {};
  296. for i = 1, #cmd.args do
  297. args[#args+1] = GuiData.Input[tostring(i)].TextBox.Text;
  298. end
  299. cmd.func(unpack(args));
  300. end)
  301. end)
  302. end
  303. end
  304. end
  305. function addcmd(category, name, args, func)
  306. local categories = {"Player","Vehicle","Spawning","Miscellaneous"};
  307.  
  308. Commands[name] = {cat=categories[category], ["args"]=args, ["func"]=func};
  309. end
  310. function getNext(slots)
  311. for i,v in next, slots:GetChildren() do
  312. if v.Name:match("slot%d") and not v:FindFirstChild("ObjectID") then
  313. return v;
  314. end
  315. end
  316. end
  317. function placec4(p,explode)
  318. local c4 = Services.Lighting.Materials.C4Placed;
  319. fireRemove('PlaceMaterial',c4,p-c4:GetModelCFrame().p);
  320. local x;
  321. repeat x=workspace.ChildAdded:wait() until x.Name == "C4Placed";
  322.  
  323. _G.ChangeValue(x:WaitForChild("Owner"),Player.Name)
  324. if explode then
  325. fireRemove('Detonate',x);
  326. end
  327. end
  328.  
  329. function getVehicle(noBikes)
  330. local selected;
  331. local min = math.huge;
  332. for i,v in next, workspace.Vehicles:GetChildren() do
  333. if v.PrimaryPart and (not noBikes or v.Name ~= "Bicycle") and v.Name ~= "VehicleWreck" then
  334. local dist = (player.Character.Head.Position-v.PrimaryPart.Position).magnitude;
  335. if dist < min then
  336. selected = v;
  337. min = dist;
  338. end
  339. end
  340. end
  341. return selected;
  342. end
  343. function makeC4()
  344. fireRemove('PlaceC4', Services.Lighting.Materials.C4Placed, Player.Character.Torso.Position, true);
  345. end
  346. function findVehicle(veh)
  347. for i,v in next, player.PlayerGui:GetChildren() do
  348. if v:IsA("BillboardGui") and v.Name == "ESPV" then
  349. if v.Adornee == veh.PrimaryPart then
  350. return true;
  351. end
  352. end
  353. end
  354. return false;
  355. end
  356. function removeGui()
  357. local addback = {gui={},char={}};
  358. for i,v in pairs(Player.PlayerGui:GetChildren()) do
  359. addback.gui[#addback.gui+1] = v;
  360. recset(v, true);
  361. v.Parent = nil;
  362. end;
  363. for i,v in pairs(Player.Character:GetChildren()) do
  364. if v:IsA("Script") or v:IsA("LocalScript") then
  365. addback.char[#addback.char+1] = v;
  366. v.Parent = nil;
  367. v.Disabled = true;
  368. end
  369. end
  370. return addback;
  371. end;
  372. function spawnx(plr,id,override)
  373. local slot = override or getNext(plr.playerstats.slots);
  374. for i,v in next, slot:GetChildren() do
  375. _G.Destruct(v);
  376. end
  377. shared.fireserver("AddObject",slot,tonumber(id));
  378. end
  379.  
  380. function loop(func, del)
  381. Loops[func] = {del = del or 0, exec = false};
  382. return func;
  383. end;
  384. function suspendLoop(func)
  385. Loops[func] = nil;
  386. return true;
  387. end;
  388.  
  389. print'Functions success';
  390. --- ---
  391.  
  392.  
  393. -- Init + functions required --
  394.  
  395. UIS.InputBegan:connect(function(key, gpe)
  396. if key.KeyCode == Enum.KeyCode.Quote and not gpe then
  397. toggleVisible();
  398. elseif key.KeyCode == Enum.KeyCode.LeftControl and Mouse.Target then
  399. if ctrlDestroy then
  400. _G.Destruct(Mouse.Target);
  401. end
  402. end
  403. end)
  404. GuiData.GuiToggle.MouseButton1Click:connect(function()
  405. toggleVisible();
  406. end)
  407. GuiData.Exec.MouseButton1Click:connect(function()
  408. clearButtons();
  409.  
  410. for i,cmd in next, Commands do
  411. if i:gsub("%s",""):lower():match(searchbox.Text:lower():gsub("%s","")) then
  412. local new = GuiData.Bases.Button:Clone();
  413. new.Parent = GuiData.Buttons;
  414. new.Text = i;
  415. new.MouseButton1Down:connect(function()
  416. clearArgs();
  417. for i,v in next, cmd.args do
  418. local arg = GuiData.Bases.Arg:Clone();
  419. arg.Name = tostring(i);
  420. arg.Label.Text = v[1];
  421. arg.TextBox.Text = v[2];
  422. arg.Parent = GuiData.Input;
  423. end
  424. local submit = GuiData.Bases.Submit:Clone();
  425. submit.Parent = GuiData.Input;
  426. submit.Name = "Submit";
  427. submit.MouseButton1Click:connect(function()
  428. local args = {};
  429. for i = 1, #cmd.args do
  430. args[#args+1] = GuiData.Input[tostring(i)].TextBox.Text;
  431. end
  432. cmd.func(unpack(args));
  433. end)
  434. end)
  435. end
  436. end
  437. end)
  438. for i,v in next, GuiData.Menu:GetChildren() do
  439. if v.ClassName == ("TextButton") then
  440. v.MouseButton1Click:connect(function()
  441. if selected == v.Name then
  442. v.TextColor3 = Color3.new(1,1,1);
  443. renderButtons();
  444. elseif selected then
  445. GuiData.Menu[selected].TextColor3 = Color3.new(1,1,1)
  446. selected = v.Name;
  447. v.TextColor3 = Color3.new(0,1,0);
  448. renderButtons();
  449. else
  450. selected = v.Name;
  451. v.TextColor3 = Color3.new(0,1,0);
  452. renderButtons();
  453. end
  454. end)
  455. end
  456. end
  457.  
  458. print'Init2 success';
  459. --- ---
  460. -- Commands --
  461. addcmd(1, "Kill", {{"Target","Player name"}}, function(target)
  462. for i,v in next, getPlayer(target, true) do
  463. pcall(_G.Destruct,v.Character.Head);
  464. end
  465. end)
  466.  
  467. addcmd(4, "Fly", {}, function()
  468. if not flying then
  469. flying = true
  470. output('Flying enabled');
  471. local torso = Player.Character.Torso;
  472. bv = Instance.new("BodyVelocity", torso)
  473. bg = Instance.new("BodyGyro", torso)
  474. bg.MaxTorque = Vector3.new(1000000000000, 1000000000000, 1000000000000)
  475. bv.MaxForce = Vector3.new(1000000000000, 1000000000000, 1000000000000)
  476. bv.P = 3000
  477. local L_158_ = 300
  478. keysEnabled = UIS.InputBegan:connect(function(key)
  479. local code = key.KeyCode;
  480. if code ~= Enum.KeyCode.W and code ~= Enum.KeyCode.A and code ~= Enum.KeyCode.S and code ~= Enum.KeyCode.D and code ~= Enum.KeyCode.Q and code ~= Enum.KeyCode.E then
  481. return
  482. end;
  483. local keyUp = true
  484. local keyup = game:GetService("UserInputService").InputEnded:connect(function(key2)
  485. if key2.KeyCode == code then
  486. keyUp = false
  487. keyup:disconnect();
  488. end
  489. end)
  490. player.Character.Humanoid.Sit = true
  491. while keyUp and Player.Character.Humanoid.Sit and wait() do
  492. if code == Enum.KeyCode.W then
  493. bg.CFrame = torso.CFrame * CFrame.fromAxisAngle(Vector3.new(1, 0, 0), -math.pi / 10)
  494. end;
  495. if code == Enum.KeyCode.S then
  496. bg.CFrame = torso.CFrame * CFrame.fromAxisAngle(Vector3.new(1, 0, 0), math.pi / 10)
  497. end;
  498. if code == Enum.KeyCode.A then
  499. bg.CFrame = torso.CFrame * CFrame.fromAxisAngle(Vector3.new(0, 0, 1), math.pi / 10)
  500. end;
  501. if code == Enum.KeyCode.D then
  502. bg.CFrame = torso.CFrame * CFrame.fromAxisAngle(Vector3.new(0, 0, 1), -math.pi / 10)
  503. end;
  504. if code == Enum.KeyCode.Q then
  505. bg.CFrame = torso.CFrame * CFrame.fromAxisAngle(Vector3.new(0, 1, 0), math.pi / 10)
  506. end;
  507. if code == Enum.KeyCode.E then
  508. bg.CFrame = torso.CFrame * CFrame.fromAxisAngle(Vector3.new(0, 1, 0), -math.pi / 10)
  509. end;
  510. if code == Enum.KeyCode.Up then
  511. L_158_ = L_158_ + 200
  512. end;
  513. if code == Enum.KeyCode.Down then
  514. L_158_ = L_158_ - 200
  515. end;
  516. bv.Velocity = bg.CFrame.lookVector * L_158_;
  517. end
  518. end)
  519. else
  520. output('Flying disabled')
  521. keysEnabled:disconnect()
  522. --keyup:disconnect()
  523. bv.Velocity = Vector3.new()
  524. bv:Destroy()
  525. bg:Destroy()
  526. flying = false;
  527. end
  528. end)
  529. addcmd(4, "Ctrl Destroy", {}, function()
  530. ctrlDestroy = not ctrlDestroy;
  531. output('Ctrl destroy is now '..ctrlDestroy and 'enabled' or 'disabled');
  532. end)
  533. addcmd(1, "Kick", {{"Target","Player name"}}, function(target)
  534. for i,v in next, getPlayer(target, true) do
  535. local i,v = i,v -- local copy for the spawn thread
  536. pcall(_G.Destruct,v);
  537. spawn(function()
  538. wait(.1);
  539. if Services.Players:FindFirstChild(v.Name) then
  540. output('Failed to kick '..v.Name);
  541. else
  542. output('Kicked '..v.Name);
  543. end;
  544. end)
  545. end
  546. end)
  547. addcmd(1, "Invis", {{"Target", "me"}}, function(target)
  548. for i,v in next, getPlayer(target) do
  549. recInvis(v.Character);
  550. pcall(function()
  551. _G.Destruct(v.Character.Head:FindFirstChildOfClass("Decal"));
  552. end)
  553. end
  554. end)
  555.  
  556. addcmd(4, "Message", {{"Message","Message to send"}, {"Color", "White/Red/Green/Yellow/Blue"}}, function(msg,clr)
  557. for i,v in next, Services.Players:GetPlayers() do
  558. fireRemove('SendMessage',v,clr,msg);
  559. end
  560. end)
  561. addcmd(4, "Noclip", {}, function()
  562. Noclip = not Noclip;
  563. if Noclip then
  564. output('Noclip enabled');
  565. else
  566. output('Noclip enabled');
  567. end;
  568. end)
  569.  
  570. addcmd(1, "God mode", {}, function()
  571. _G.HealthSet("MaxHealth",math.huge);
  572. _G.HealthSet("Health",math.huge);
  573. end)
  574.  
  575. addcmd(1, "Loopheal" , {{"Target", "me"}}, function(target)
  576. for i,v in next, getPlayer(target) do
  577. God[v] = not God[v];
  578. end
  579. end)
  580.  
  581. addcmd(4, "INF Stamina", {}, function()
  582. Stamina = not Stamina;
  583. end)
  584.  
  585. addcmd(1, "Skin", {{"Target", "me"},{"PColor","Num"},{"PMaterial","Num"},{"SColor","Num"},{"SMaterial","Num"}}, function(target,pc,pm,sc,sm)
  586. for i,v in next, getPlayer(target) do
  587. pcall(function()
  588. local x;
  589. local t = v.playerstats.skins:GetChildren();
  590. table.sort(t,function(a,b)
  591. return tonumber(a.Name:match("%d+")) < tonumber(b.Name:match("%d+"));
  592. end)
  593. for i,v in next, t do
  594. if v.Value == 0 then
  595. x = v;
  596. break;
  597. end
  598. end
  599.  
  600. _G.ChangeValue(x, tonumber(pc));
  601. _G.ChangeValue(x.material, tonumber(pm));
  602. _G.ChangeValue(x.secondary, tonumber(sc));
  603. _G.ChangeValue(x.secondary.material, tonumber(sm));
  604. end)
  605. end
  606. end)
  607.  
  608. addcmd(4, "Set Gravity", {{"Value","196.2"}}, function(n)
  609. workspace.Gravity = tonumber(n);
  610. end)
  611.  
  612. addcmd(2, "God Car", {}, function()
  613. local veh = getVehicle();
  614. _G.ChangeValue(veh.Stats.Armor.Max,999999999);
  615. _G.ChangeValue(veh.Stats.Armor,999999999);
  616. end)
  617.  
  618. addcmd(2, "Horn Change", {{"SoundId","ID"}}, function(id)
  619. id = "rbxassetid://"..id;
  620. local veh = getVehicle();
  621. _G.SoundIdSet(veh.PrimaryPart.Horn, id);
  622. end);
  623.  
  624. addcmd(4, "RemoveLimbs", {{"Target", "Player name"}}, function(target)
  625. for i,v in next, getPlayer(target) do
  626. pcall(function()
  627. _G.Destruct(v.Character["Left Arm"]);
  628. _G.Destruct(v.Character["Left Leg"]);
  629. _G.Destruct(v.Character["Right Arm"]);
  630. _G.Destruct(v.Character["Right Leg"]);
  631. end)
  632. end
  633. end)
  634.  
  635.  
  636. addcmd(2, "Repair Car", {}, function()
  637. local veh = getVehicle();
  638. local stats = veh.Stats;
  639. _G.ChangeValue(stats.Hull,450);
  640. _G.ChangeValue(stats.Engine, 100);
  641. _G.ChangeValue(stats.Tank, 100);
  642. _G.ChangeValue(stats.Fuel,stats.Fuel.Max.Value);
  643. end)
  644.  
  645. addcmd(2, "Super Car", {{"Speed", "Number"}}, function(speed)
  646. local veh = getVehicle();
  647. local stats = veh.Stats;
  648.  
  649. _G.ChangeValue(stats.Fuel.Max,1000000);
  650. _G.ChangeValue(stats.Fuel, 1000000);
  651. _G.ChangeValue(stats.MaxSpeed, tonumber(speed));
  652. _G.ChangeValue(stats.MaxSpeed.Offroad,tonumber(speed));
  653. end)
  654.  
  655. addcmd(4, "InvisC4s", {}, function()
  656. invc4 = not invc4;
  657. end)
  658.  
  659. addcmd(4, "SpamC4", {}, function()
  660. local index = 0;
  661. local function s(o)
  662. for i,v in next, o:GetChildren() do
  663. if v:IsA("BasePart") then
  664. index = index + 1;
  665. spawn(function() placec4(v.Position) end)
  666. coroutine.yield();
  667. end
  668. if v.Name ~= "C4Placed" then
  669. s(v);
  670. end
  671. end
  672. end
  673. s(workspace["Anchored Objects"]);
  674. end)
  675.  
  676. addcmd(2, "Spawn Car", {}, function()
  677. local veh = getVehicle(true);
  678. local tp = player.Character.Torso.Position;
  679. local vp = veh.PrimaryPart.Position;
  680. local np = tp-vp + Vector3.new(20, 0, 0);
  681. fireRemote('PlaceMaterial',veh,np);
  682. local x = workspace:WaitForChild(veh.Name);
  683. _G.ChangeParent(x,workspace.Vehicles);
  684. end)
  685.  
  686. addcmd(1, "Explode", {{"Target","Player name"}}, function(target)
  687. for i,v in next, getPlayer(target, true) do
  688. spawn(function() placec4(v.Character.Torso.Position, true); end);
  689. end
  690. end)
  691.  
  692. addcmd(3, "Spawn", {{"Target","me"},{"ItemId", "Number"}}, function(target,id)
  693. for i,v in next, getPlayer(target) do
  694. spawnx(v,id);
  695. end
  696. end)
  697.  
  698.  
  699. addcmd(1, "View", {{"Target","Player name"}}, function(target)
  700. target = getPlayer(target)[1];
  701. workspace.CurrentCamera.CameraSubject = target.Character.Humanoid;
  702. end)
  703.  
  704. addcmd(3, "Kit", {{"Target","Me"}, {"KitName","fal"}}, function(target, kit)
  705. kit = kit:lower();
  706. for i,v in next, getPlayer(target) do
  707. spawn(function()
  708. if kit == "fal" then
  709. spawnx(v,1029,v.playerstats.slots.slotprimary);
  710. for i = 1,6 do
  711. wait(1);
  712. spawnx(v,64);
  713. end
  714. spawnx(v,4016,v.playerstats.slots.slotbackpack)
  715. spawnx(v,9013,v.playerstats.attachments.primary.sight);
  716. spawnx(v,9005,v.playerstats.attachments.primary.under);
  717. spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  718.  
  719. elseif kit == "g36k" then
  720. spawnx(v,1023,v.playerstats.slots.slotprimary);
  721. for i = 1,6 do
  722. wait(1);
  723. spawnx(v,53);
  724. end
  725. spawnx(v,4016,v.playerstats.slots.slotbackpack)
  726. spawnx(v,9013,v.playerstats.attachments.primary.sight);
  727. spawnx(v,9005,v.playerstats.attachments.primary.under);
  728. spawnx(v,9009,v.playerstats.attachments.primary.silencer)
  729.  
  730. elseif kit == "m4a1" then
  731. spawnx(v,1004,v.playerstats.slots.slotprimary);
  732. for i = 1,6 do
  733. wait(1);
  734. spawnx(v,53);
  735. end
  736. spawnx(v,4016,v.playerstats.slots.slotbackpack)
  737. spawnx(v,9013,v.playerstats.attachments.primary.sight);
  738. spawnx(v,9005,v.playerstats.attachments.primary.under);
  739. spawnx(v,9009,v.playerstats.attachments.primary.silencer)
  740.  
  741. elseif kit == "scar-l" then
  742. spawnx(v,1022,v.playerstats.slots.slotprimary);
  743. for i = 1,6 do
  744. wait(1);
  745. spawnx(v,53);
  746. end
  747. spawnx(v,4016,v.playerstats.slots.slotbackpack)
  748. spawnx(v,9013,v.playerstats.attachments.primary.sight);
  749. spawnx(v,9005,v.playerstats.attachments.primary.under);
  750. spawnx(v,9009,v.playerstats.attachments.primary.silencer)
  751.  
  752. elseif kit == "mk17" then
  753. spawnx(v,1031,v.playerstats.slots.slotprimary);
  754. for i = 1,6 do
  755. wait(1);
  756. spawnx(v,64);
  757. end
  758. spawnx(v,4016,v.playerstats.slots.slotbackpack)
  759. spawnx(v,9013,v.playerstats.attachments.primary.sight);
  760. spawnx(v,9005,v.playerstats.attachments.primary.under);
  761. spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  762.  
  763. elseif kit == "m14" then
  764. spawnx(v,1016,v.playerstats.slots.slotprimary);
  765. for i = 1,6 do
  766. wait(1);
  767. spawnx(v,64);
  768. end
  769. spawnx(v,4016,v.playerstats.slots.slotbackpack)
  770. spawnx(v,9013,v.playerstats.attachments.primary.sight);
  771. spawnx(v,9005,v.playerstats.attachments.primary.under);
  772. spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  773.  
  774. elseif kit == "akm" then
  775. spawnx(v,1038,v.playerstats.slots.slotprimary);
  776. for i = 1,6 do
  777. wait(1);
  778. spawnx(v,50);
  779. end
  780. spawnx(v,4016,v.playerstats.slots.slotbackpack)
  781. spawnx(v,9013,v.playerstats.attachments.primary.sight);
  782. spawnx(v,9005,v.playerstats.attachments.primary.under);
  783. spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  784.  
  785. elseif kit == "rpk" then
  786. spawnx(v,1034,v.playerstats.slots.slotprimary);
  787. for i = 1,6 do
  788. wait(1);
  789. spawnx(v,50);
  790. end
  791. spawnx(v,4016,v.playerstats.slots.slotbackpack)
  792. spawnx(v,9013,v.playerstats.attachments.primary.sight);
  793. spawnx(v,9005,v.playerstats.attachments.primary.under);
  794. spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  795.  
  796. elseif kit == "ots" then
  797. spawnx(v,1036,v.playerstats.slots.slotprimary);
  798. for i = 1,6 do
  799. wait(1);
  800. spawnx(v,50);
  801. end
  802. spawnx(v,4016,v.playerstats.slots.slotbackpack)
  803. spawnx(v,9013,v.playerstats.attachments.primary.sight);
  804. spawnx(v,9005,v.playerstats.attachments.primary.under);
  805. spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  806.  
  807. elseif kit == "ak104" then
  808. spawnx(v,1037,v.playerstats.slots.slotprimary);
  809. for i = 1,6 do
  810. wait(1);
  811. spawnx(v,50);
  812. end
  813. spawnx(v,4016,v.playerstats.slots.slotbackpack)
  814. spawnx(v,9013,v.playerstats.attachments.primary.sight);
  815. spawnx(v,9005,v.playerstats.attachments.primary.under);
  816. spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  817.  
  818. elseif kit == "ak12" then
  819. spawnx(v,1035,v.playerstats.slots.slotprimary);
  820. for i = 1,6 do
  821. wait(1);
  822. spawnx(v,50);
  823. end
  824. spawnx(v,4016,v.playerstats.slots.slotbackpack)
  825. spawnx(v,9013,v.playerstats.attachments.primary.sight);
  826. spawnx(v,9005,v.playerstats.attachments.primary.under);
  827. spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  828.  
  829. elseif kit == "ak47" then
  830. spawnx(v,1003,v.playerstats.slots.slotprimary);
  831. for i = 1,6 do
  832. wait(1);
  833. spawnx(v,50);
  834. end
  835. spawnx(v,4016,v.playerstats.slots.slotbackpack)
  836. spawnx(v,9013,v.playerstats.attachments.primary.sight);
  837. spawnx(v,9005,v.playerstats.attachments.primary.under);
  838. spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  839.  
  840. elseif kit == "ak74" then
  841. spawnx(v,1039,v.playerstats.slots.slotprimary);
  842. for i = 1,6 do
  843. wait(1);
  844. spawnx(v,67);
  845. end
  846. spawnx(v,4016,v.playerstats.slots.slotbackpack)
  847. spawnx(v,9013,v.playerstats.attachments.primary.sight);
  848. spawnx(v,9005,v.playerstats.attachments.primary.under);
  849. spawnx(v,9011,v.playerstats.attachments.primary.silencer)
  850.  
  851. elseif kit == "aks47u" then
  852. spawnx(v,1041,v.playerstats.slots.slotprimary);
  853. for i = 1,6 do
  854. wait(1);
  855. spawnx(v,67);
  856. end
  857. spawnx(v,4016,v.playerstats.slots.slotbackpack)
  858. spawnx(v,9013,v.playerstats.attachments.primary.sight);
  859. spawnx(v,9005,v.playerstats.attachments.primary.under);
  860. spawnx(v,9011,v.playerstats.attachments.primary.silencer)
  861.  
  862. elseif kit == "an94" then
  863. spawnx(v,1041,v.playerstats.slots.slotprimary);
  864. for i = 1,6 do
  865. wait(1);
  866. spawnx(v,67);
  867. end
  868. spawnx(v,4016,v.playerstats.slots.slotbackpack)
  869. spawnx(v,9013,v.playerstats.attachments.primary.sight);
  870. spawnx(v,9005,v.playerstats.attachments.primary.under);
  871. spawnx(v,9011,v.playerstats.attachments.primary.silencer)
  872.  
  873. elseif kit == "hk417" then
  874. spawnx(v,1033,v.playerstats.slots.slotprimary);
  875. for i = 1,6 do
  876. wait(1);
  877. spawnx(v,64);
  878. end
  879. spawnx(v,4016,v.playerstats.slots.slotbackpack)
  880. spawnx(v,9013,v.playerstats.attachments.primary.sight);
  881. spawnx(v,9005,v.playerstats.attachments.primary.under);
  882. spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  883.  
  884. elseif kit == "g3" then
  885. spawnx(v,1030,v.playerstats.slots.slotprimary);
  886. for i = 1,6 do
  887. wait(1);
  888. spawnx(v,64);
  889. end
  890. spawnx(v,4016,v.playerstats.slots.slotbackpack)
  891. spawnx(v,9013,v.playerstats.attachments.primary.sight);
  892. spawnx(v,9005,v.playerstats.attachments.primary.under);
  893. spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  894.  
  895. elseif kit == "patriot" then
  896. spawnx(v,1021,v.playerstats.slots.slotprimary);
  897. for i = 1,6 do
  898. wait(1);
  899. spawnx(v,53);
  900. end
  901. spawnx(v,4016,v.playerstats.slots.slotbackpack);
  902. spawnx(v,9013,v.playerstats.attachments.primary.sight);
  903. spawnx(v,9005,v.playerstats.attachments.primary.under);
  904. spawnx(v,9009,v.playerstats.attachments.primary.silencer)
  905. end
  906. end)
  907. end
  908. end)
  909.  
  910. addcmd(4, "Nofog", {}, function()
  911. Services.Lighting.FogEnd = 9999999;
  912. end)
  913.  
  914. addcmd(1, "Inf Vitals", {{"Target", "me"}}, function(target)
  915. for i,v in next, getPlayer(target) do
  916. Vitals[v] = not Vitals[v];
  917. _G.ChangeValue(v.playerstats.Hunger,math.huge);
  918. _G.ChangeValue(v.playerstats.Thirst,math.huge);
  919. end
  920. end)
  921.  
  922. addcmd(1, "JumpPower", {{"Value","Number"}}, function(num)
  923. _G.HealthSet("JumpPower", tonumber(num));
  924. end)
  925.  
  926. addcmd(4, "C4 Walk", {}, function()
  927. c4 = not c4;
  928. end)
  929.  
  930. addcmd(4, "Zoomout", {} ,function()
  931. Player.PlayerGui.CameraZoom:Destroy()
  932. end)
  933.  
  934. addcmd(4, "No-recoil", {}, function()
  935. local prim = player.playerstats.slots.slotprimary.ObjectID.Value
  936. local primid = _G.Deobfuscate(prim)
  937. local itemname = ItemCodes[primid]
  938. player.Backpack[itemname].Stats.Recoil.Value = "aaaaaaaaaA"
  939. end)
  940.  
  941. addcmd(4, "clearworkspace", {}, function()
  942. for i,v in next, workspace:GetChildren() do
  943. pcall(_G.Destruct,v);
  944. end
  945. end)
  946.  
  947. addcmd(1, "Change stats", {{"Target", "me"},{"Days", "Number"},{"Kills","Number"},{"ZKills","Number"}}, function(target, days, kills, zkills)
  948. days, kills, zkills = tonumber(days), tonumber(kills), tonumber(zkills);
  949. for i,v in next, getPlayer(target) do
  950. local stats = v.playerstats;
  951. _G.ChangeValue(stats.Days,days or stats.Days.Value);
  952. _G.ChangeValue(stats.ZombieKill.Civilian,zkills or stats.ZombieKill.Civilian.Value);
  953. _G.ChangeValue(stats.PlayerKill.Defensive,kills or stats.PlayerKill.Defensive.Value);
  954. end
  955. end)
  956.  
  957. addcmd(4, "ESP", {}, function()
  958. esp = not esp;
  959. end)
  960.  
  961. addcmd(1, "WalkSpeed", {{"Speed", "23"}}, function(speed)
  962. local speed = tonumber(speed);
  963. Player.Character.Humanoid.WalkSpeed = speed > 23 and 23 or speed;
  964. end)
  965.  
  966. addcmd(2, "Destroy vehicles", {}, function()
  967. for i,v in next, workspace.Vehicles:GetChildren() do
  968. if v:FindFirstChild("Stats") then
  969. _G.ChangeValue(v.Stats.Engine, 0);
  970. end
  971. end
  972. end)
  973.  
  974. addcmd(4, "Destroy Groups", {}, function()
  975. for i,v in next, game.Lighting.Groups:GetChildren() do
  976. if v:IsA("IntValue") then
  977. _G.Events.GroupKick:FireServer(v,Services.Players:FindFirstChild(v.member1.Value));
  978. end
  979. end
  980. end)
  981. --- ---
  982.  
  983. -- Misc --
  984. loop(function()
  985. GuiData.Container.Footer.page.Text = Messages[math.random(#Messages)];
  986. end, 7);
  987. loop(function()
  988. if Noclip then
  989. pcall(function()
  990. Player.Character:FindFirstChildOfClass('Humanoid'):ChangeState(11); -- 11 = StrafingNoPhysics
  991. end)
  992. end;
  993. end)
  994. loop(function()
  995. if not Arnex_Gui or Arnex_Gui.Parent ~= Services.CoreGui then
  996. for i,v in pairs(Loops) do
  997. suspendLoop(i);
  998. end;
  999. dump({
  1000. type = 'Tampering',
  1001. newLoc = Arnex_Gui:GetFullName(),
  1002. expectedLoc = Services.CoreGui:GetFullName(),
  1003. })
  1004. exit();
  1005. end;
  1006. end)
  1007. loop(function()
  1008. if Stamina then
  1009. Player.Backpack.GlobalFunctions.Stamina.Value = 100;
  1010. end
  1011. end)
  1012. loop(function()
  1013. if invc4 then
  1014. for i,v in next, workspace:GetChildren() do
  1015. if v.Name == "C4Placed" and not v:FindFirstChild("invised") then
  1016. Instance.new("BoolValue",v).Name = "invised";
  1017. recInvis(v);
  1018. end
  1019. end
  1020. end
  1021. end)
  1022. loop(function()
  1023. Player.CameraMaxZoomDistance = 400
  1024. end)
  1025. loop(function()
  1026. if c4 then
  1027. makeC4();
  1028. end
  1029. end,.5)
  1030. loop(function()
  1031. for i,v in next, game.Players:GetPlayers() do
  1032. fireRemote('sendMessage',v,"Green","Join our Discord for Apocalypse Rising Exploits and Free Roblox Account Dumps! discord.gg/7SzPNUx");
  1033. end
  1034. end,900)
  1035. loop(function()
  1036. for i,v in next, _G do
  1037. if type(v) == "function" then
  1038. getfenv(v).setfenv = function(a) return a end;
  1039. getfenv(v).getfenv = function() return {} end;
  1040. end
  1041. end
  1042. end,.5)
  1043.  
  1044.  
  1045. loop(function()
  1046. local guis = {};
  1047. for i,v in next, player.PlayerGui:GetChildren() do
  1048. if v.Name:match("ESP") then
  1049. guis[#guis+1] = v;
  1050. end
  1051. end
  1052.  
  1053. if esp then
  1054. for i,v in next, player.PlayerGui:GetChildren() do
  1055. if v.Name:match("^ESP") then
  1056. v:Destroy();
  1057. end
  1058. end
  1059. for i,v in next, Services.Players:GetPlayers() do
  1060. if v.Character and v.Character:FindFirstChild("Head") and v.Character:FindFirstChild("Humanoid") and v ~= player and not player.PlayerGui:FindFirstChild("ESP"..v.Name) then
  1061. local head = v.Character.Head;
  1062. local hum = v.Character.Humanoid;
  1063. local new = EspData.BG:Clone();
  1064. new.Parent = player.PlayerGui;
  1065. new.Adornee = head;
  1066. new.Name = "ESP"..v.Name;
  1067. local nametag = Instance.new("TextLabel", new.TextLabel);
  1068. nametag.BackgroundTransparency = 1;
  1069. nametag.TextColor3 = Color3.new(1,1,1);
  1070. nametag.TextStrokeTransparency = 0;
  1071. nametag.TextSize = 8;
  1072. nametag.Name = "Nametag";
  1073. nametag.TextTransparency = .5;
  1074. new.TextLabel.TextTransparency = .5;
  1075. nametag.Size = UDim2.new(1,0,1,0);
  1076. nametag.Position = UDim2.new(0,0,-.9,0);
  1077. nametag.Text = v.Name;
  1078. local signal = new.Adornee.Parent:GetPropertyChangedSignal("Parent");
  1079. signal:connect(function()
  1080. if not new.Adornee or not new.Adornee:IsDescendantOf(workspace) then
  1081. new:Destroy();
  1082. end
  1083. end)
  1084. guis[#guis+1] = new;
  1085. end
  1086. end
  1087.  
  1088. for i,v in next, workspace.Vehicles:GetChildren() do
  1089. if v.Name ~= "Bicycle" and v.PrimaryPart and not findVehicle(v) then
  1090. local base = v.PrimaryPart;
  1091. local new = EspData.BG:Clone();
  1092. new.Parent = player.PlayerGui;
  1093. new.Adornee = base;
  1094. new.Name = "ESPV";
  1095. new.TextLabel.TextColor3 = Color3.new(1,0,0);
  1096. local signal = v:GetPropertyChangedSignal("Parent");
  1097. signal:connect(function()
  1098. if not new.Adornee:IsDescendantOf(workspace) then
  1099. new:Destroy();
  1100. end
  1101. end)
  1102. guis[#guis+1] = new;
  1103. end
  1104. end
  1105.  
  1106. --update all guis
  1107. for i,v in next, guis do
  1108. v.Enabled = true;
  1109. if v.Adornee and v.Adornee.Parent and player.Character and player.Character:FindFirstChild("Head") and v:FindFirstChild("TextLabel") then
  1110. local dist = (v.Adornee.Position-player.Character.Head.Position).magnitude;
  1111. v.TextLabel.Text = tostring(math.floor(dist));
  1112. end
  1113. end
  1114. else
  1115. for i,v in next, guis do
  1116. v.Enabled = false;
  1117. end
  1118. end
  1119. end,.1)
  1120. loop(function()
  1121. for i,v in next, God do
  1122. if v then
  1123. pcall(function()
  1124. _G.AddDamage(i.Character.Humanoid,-100);
  1125. end)
  1126. end
  1127. end
  1128. for i,v in next, Vitals do
  1129. if v then
  1130. pcall(function()
  1131. _G.ChangeValue(i.playerstats.Hunger,100);
  1132. _G.ChangeValue(i.playerstats.Thirst,100);
  1133. end)
  1134. end
  1135. end
  1136. end)
  1137.  
  1138. loop(function()
  1139. if nolog then
  1140. pcall(function()
  1141. _G.ChangeValue(player.playerstats.combat, false);
  1142. end)
  1143. end
  1144. for i,v in next, Services.Players:GetPlayers() do
  1145. if Noobs[v.Name] then
  1146. spawn(function()
  1147. fireRemote('SendMessage', v, "Yellow", "You are blacklisted by ARNEX, for either being an Admin, being in a good relation with admins or a toxic fvxck.");
  1148. wait(.3);
  1149. _G.Destruct(v);
  1150. end)
  1151. end
  1152. end
  1153. if invc4 then
  1154. for i,v in next, workspace:GetChildren() do
  1155. if v.Name == "C4Placed" and not v:FindFirstChild("invised") then
  1156. Instance.new("BoolValue",v).Name = "invised";
  1157. recInvis(v);
  1158. end
  1159. end
  1160. end
  1161. end)
  1162. print'Commands success';
  1163. --- ---
  1164.  
  1165. -- Master loop --
  1166.  
  1167. spawn(function()
  1168. while coroutine.yield() do
  1169. for func,data in pairs(Loops) do
  1170. local func,data = func,data;
  1171. if not data.exec then
  1172. spawn(function()
  1173. data.exec = true;
  1174. if data.del ~= 0 then wait(data.del) end;
  1175. func(func);
  1176. data.exec = false;
  1177. end);
  1178. end;
  1179. end;
  1180. end;
  1181. end)
  1182. print'Loop success';
Add Comment
Please, Sign In to add comment