SHARE
TWEET

Untitled

a guest Oct 22nd, 2017 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. local DevVersion = true;
  3. if DevVersion then
  4.     local model = game:GetObjects("rbxassetid://889231903")[1];
  5.     model:FindFirstChild('Arnex').Parent = game:service'CoreGui';
  6.     model:FindFirstChild('ArnexLogin').Parent = game:service'Geometry';
  7. end;
  8.  
  9. print('beginning load with dev as',DevVersion);
  10. wait();
  11.  
  12. local Services       = setmetatable({},{__index = function(self,req) return game:GetService(req) end});
  13. local Player         = Services.Players.LocalPlayer;
  14. local Mouse          = Player:GetMouse();
  15. local UIS            = Services.UserInputService;
  16. local Arnex_Gui      = Services.CoreGui:FindFirstChild('Arnex');
  17. local GuiData        = {};
  18. local C              = Arnex_Gui:FindFirstChild('Container');
  19. local Immune         = {};
  20. local Messages       = {};
  21. local Loops          = {};
  22. 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"};
  23. local EspData        = {};
  24. local Commands       = {};
  25. local RemoteBase     = {};
  26. local God            = {};
  27. local Vitals         = {};
  28.  
  29. wait();              
  30.  
  31. GuiData.Bases        = {};
  32. GuiData.Container    = C;
  33. GuiData.GuiToggle    = Arnex_Gui:FindFirstChild('OpenClose');
  34. GuiData.Header       = C:FindFirstChild('Header');
  35. GuiData.Menu         = C:FindFirstChild('LeftMenu');
  36. GuiData.Back         = C:FindFirstChild('BackP');
  37. GuiData.Search       = GuiData.Header:FindFirstChild('Search');
  38. GuiData.Exec         = GuiData.Header:FindFirstChild('Go');
  39. GuiData.Buttons      = GuiData.Back:FindFirstChild('Buttons');
  40. GuiData.Input        = GuiData.Back:FindFirstChild('Input');
  41. GuiData.Login        = Services.Geometry:FindFirstChild('ArnexLogin');
  42.  
  43. GuiData.Bases.Button = GuiData.Buttons:FindFirstChild('Button1'):Clone();
  44. GuiData.Bases.Arg    = GuiData.Input:FindFirstChild('Input1'):Clone();
  45. GuiData.Bases.Submit = GuiData.Input:FindFirstChild('Input2'):Clone();
  46.  
  47. wait();
  48.  
  49. C.Active = true;
  50. C.Draggable = true;
  51.  
  52. GuiData.Buttons.Button1:Destroy();
  53. GuiData.Input.Input1:Destroy();
  54. GuiData.Input.Input2:Destroy();
  55. GuiData.Menu.Display.Credit.Text = "Made by Avn and Ray";
  56. GuiData.OrigPos = C.Position;
  57.  
  58. player = Player;
  59. print'Variables success';
  60. -- Init --
  61.  
  62.  
  63. function dump(data)
  64.     local send = '\n[== ARNEX debug dump begin ==]\n'
  65.     for i,v in next,data do
  66.         send = send.."\ndebug key ["..tostring(i).."] => "..tostring(v);
  67.     end;
  68.     send = send..'\n\n[==  ARNEX debug dump end  ==]'
  69.     warn(send);
  70. end;
  71.  
  72. if getrenv then
  73.     _G = getrenv()._G;
  74.     shared = getrenv().shared;
  75. elseif getgenv then
  76.     _G = getgenv()._G;
  77.     shared = getgenv().shared;
  78. else
  79.     warn('[ARNEX] Unexpected error.. Some commands will be unavailable, report this dump to a dev and we will attempt to fix');
  80.     dump({
  81.         type = 'Launch error',
  82.         gEnv = getgenv or 'nil',
  83.         gREnv = getrenv or 'nil',
  84.         Sh = shared,
  85.         G = _G or 'nil',
  86.     });
  87.     _G = setmetatable(_G,{__index = function(s,r) return function() output('Command unavailable :(    (Report F9 dump)') end end});
  88.     shared = setmetatable(shared,{__index = function(s,r) return function() output('Command unavailable :(    (Report F9 dump)') end end});
  89. end;
  90.  
  91. function exit(hard)
  92.     if not hard then
  93.         game:Shutdown();workspace.Gravity=0/0;error();
  94.     else
  95.         repeat spawn(error) until nil;
  96.     end;
  97. end;
  98. function destroy(...)
  99.     Services.Debris:AddItem(...,0)
  100. end;
  101. function checkReal(func)
  102.     if not func then return false end;
  103.     local p,_ = pcall(function() ("").dump(func) end);
  104.     local y,_ = ypcall(function() ("").dump(func) end);
  105.     local x,_ = xpcall(function() ("").dump(func) end,1);
  106.     return not p and not y and not x
  107. end;
  108.  
  109. if not Arnex_Gui or not GuiData.Login then
  110.     dump{
  111.         type = 'Tampering',
  112.         UI = Arnex_Gui,
  113.         LGN = GuiData.Login,
  114.     }
  115.     exit();
  116. elseif not DevVersion then
  117.     pcall(function()
  118.         local User = GuiData.Login.Container.UBox.Text;
  119.         local Pass = User.Parent.PBox.Text;
  120.         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"));
  121.        
  122.         if not Test.response then
  123.             destroy(Arnex_Gui)
  124.             destroy(GuiData.Login);
  125.             exit(true);
  126.         end
  127.     end)
  128. end;
  129.  
  130. for i,v in next,{"A_lmaz","yassofi","DIAAMND", "TanqR","hex_kill","Liamelly",("2v\108\99"):reverse()} do
  131.     Immune[i] = v;
  132. end;
  133. 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
  134.     Messages[i] = v;
  135. end;
  136.  
  137. indexLookup = function(s,r)
  138.     for _,v in pairs(s) do
  139.         if v == r then
  140.             return v;
  141.         end;
  142.     end;
  143. end;
  144.  
  145. setmetatable(Immune,{__index=indexLookup});
  146. setmetatable(Noobs,{__index=indexLookup});
  147.  
  148. 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";
  149. 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;
  150.  
  151. EspData.BG = EspBG;
  152. EspData.Label = EspLBL;
  153. 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}
  154.  
  155. print'Init success';
  156. ---  ---
  157. -- Functions --
  158. function clearArgs()
  159.     for i,v in next, GuiData.Input:GetChildren() do
  160.         if not v:IsA("UIListLayout") then
  161.             destroy(v)
  162.         end
  163.     end
  164. end
  165. function inverseTab(t)
  166.     local ret={}
  167.     for i,v in next, t do
  168.         ret[v] = i;
  169.     end
  170.     return s
  171. end
  172. ItemCodes = inverseTab(ItemCodes);
  173. function toggleVisible()
  174.     local Tween = GuiData.Container;
  175.     GuiData.GuiOut = not GuiData.GuiOut;
  176.     if not GuiData.GuiOut then
  177.         GuiData.OrigPos = GuiData.Container.Position;
  178.     end;
  179.     Tween:TweenPosition(GuiData.GuiOut and GuiData.OrigPos or UDim2.new(-1,0,GuiData.OrigPos.X.Scale,0),"Out","Quad",.15,true)
  180. end;
  181.  
  182. function fireRemote(rem,...)
  183.     if type(rem) == 'string' then
  184.         if RemoteBase[rem] then
  185.             RemoteBase[rem]:FireServer(...)
  186.         else
  187.             if not workspace.Remote:FindFirstChild(rem) then
  188.                 warn('[ARNEX] Failed to get a remote, please report this dump to the devs!');
  189.                 dump({
  190.                     type = 'Remote fetch error',
  191.                     remote = rem,
  192.                     wrkspc = workspace,
  193.                     wrkspcT = typeof(workspace),
  194.                 })
  195.             else
  196.                 RemoteBase[rem] = workspace.Remote:FindFirstChild(rem);
  197.                 fireRemote(rem,...);
  198.             end;
  199.         end;
  200.     elseif type(rem) == 'userdata' then
  201.         rem:FireServer(...);
  202.     end;
  203. end;
  204.  
  205. function output(str)
  206.     fireRemote('SendMessage', Player, 'Green', tostring(str))
  207. end;
  208.  
  209. function recurseSet(obj,mode)
  210.     local function s(o,mode)
  211.         for i,v in next, o:GetChildren() do
  212.             if v:IsA("LocalScript") then
  213.                 v.Disabled = not v.Disabled;
  214.             end;
  215.             if #v:children() > 0 then
  216.                 s(v,mode);
  217.             end;
  218.         end
  219.     end
  220.     if obj:IsA("LocalScript") then
  221.         obj.Disabled = mode;
  222.     end
  223.     s(obj,mode);
  224. end
  225. function clearButtons()
  226.     for i,v in next, GuiData.Buttons:GetChildren() do
  227.         if v.ClassName == "TextButton" then
  228.             destroy(v);
  229.         end
  230.     end
  231. end;
  232. function getPlayer(name,mean)
  233.     name = name:lower();
  234.     local ret = {};
  235.     if name == "me" then
  236.         ret = {Player};
  237.     elseif name == "all" then
  238.         ret = Services.Players:GetPlayers();
  239.     elseif name == "others" then
  240.         ret = Services.Players:GetPlayers();
  241.         for i,v in next, ret do
  242.             if v == Player then
  243.                 ret[i] = nil;
  244.                 break;
  245.             end
  246.         end
  247.     else
  248.         for i,v in next, Services.Players:GetPlayers() do
  249.             if v.Name:lower():sub(1,#name) == name then
  250.                 ret = {v};
  251.                 break;
  252.             end
  253.         end
  254.     end
  255.  
  256.     for i,v in pairs(ret) do
  257.         if Immune[v.Name] and Player ~= v and mean then
  258.             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");
  259.             ret[i] = nil;
  260.         end
  261.     end
  262.  
  263.     return ret;
  264. end
  265. function recInvis(o)
  266.     for i,v in next, o:GetChildren() do
  267.         if v:IsA("BasePart") then
  268.             shared.fireserver("BreakWindow2", v, true);
  269.         end
  270.         recInvis(v);
  271.     end
  272. end
  273. function renderButtons()
  274.     clearButtons();
  275.    
  276.     for i,cmd in next, Commands do
  277.         if cmd.cat == selected then
  278.             local new = GuiData.Bases.Button:Clone();
  279.             new.Parent = GuiData.Buttons;
  280.             new.Text = i;
  281.             new.MouseButton1Down:connect(function()
  282.                 clearArgs();
  283.                 for i,v in next, cmd.args do
  284.                     local arg = GuiData.Bases.Arg:Clone();
  285.                     arg.Name = tostring(i);
  286.                     arg.Label.Text = v[1];
  287.                     arg.TextBox.Text = v[2];
  288.                     arg.Parent = GuiData.Input;
  289.                 end
  290.                 local submit = GuiData.Bases.Submit:Clone();
  291.                 submit.Parent = GuiData.Input;
  292.                 submit.Name = "Submit";
  293.                 submit.MouseButton1Click:connect(function()
  294.                     local args = {};
  295.                     for i = 1, #cmd.args do
  296.                         args[#args+1] = GuiData.Input[tostring(i)].TextBox.Text;
  297.                     end
  298.                     cmd.func(unpack(args));
  299.                 end)
  300.             end)
  301.         end
  302.     end
  303. end
  304. function addcmd(category, name, args, func)
  305.     local categories = {"Player","Vehicle","Spawning","Miscellaneous"};
  306.    
  307.     Commands[name] = {cat=categories[category], ["args"]=args, ["func"]=func};
  308. end
  309. function getNext(slots)
  310.     for i,v in next, slots:GetChildren() do
  311.         if v.Name:match("slot%d") and not v:FindFirstChild("ObjectID") then
  312.             return v;
  313.         end
  314.     end
  315. end
  316. function placec4(p,explode)
  317.     local c4 = Services.Lighting.Materials.C4Placed;
  318.     fireRemove('PlaceMaterial',c4,p-c4:GetModelCFrame().p);
  319.     local x;
  320.     repeat x=workspace.ChildAdded:wait() until x.Name == "C4Placed";
  321.    
  322.     _G.ChangeValue(x:WaitForChild("Owner"),Player.Name)
  323.     if explode then
  324.         fireRemove('Detonate',x);
  325.     end
  326. end
  327.  
  328. function getVehicle(noBikes)
  329.     local selected;
  330.     local min = math.huge;
  331.     for i,v in next, workspace.Vehicles:GetChildren() do
  332.         if v.PrimaryPart and (not noBikes or v.Name ~= "Bicycle") and v.Name ~= "VehicleWreck" then
  333.             local dist = (player.Character.Head.Position-v.PrimaryPart.Position).magnitude;
  334.             if dist < min then
  335.                 selected = v;
  336.                 min = dist;
  337.             end
  338.         end
  339.     end
  340.     return selected;
  341. end
  342. function makeC4()
  343.     fireRemove('PlaceC4', Services.Lighting.Materials.C4Placed, Player.Character.Torso.Position, true);
  344. end
  345. function findVehicle(veh)
  346.     for i,v in next, player.PlayerGui:GetChildren() do
  347.         if v:IsA("BillboardGui") and v.Name == "ESPV" then
  348.             if v.Adornee == veh.PrimaryPart then
  349.                 return true;
  350.             end
  351.         end
  352.     end
  353.     return false;
  354. end
  355. function removeGui()
  356.     local addback = {gui={},char={}};
  357.     for i,v in pairs(Player.PlayerGui:GetChildren()) do
  358.         addback.gui[#addback.gui+1] = v;
  359.         recset(v, true);
  360.         v.Parent = nil;
  361.     end;
  362.     for i,v in pairs(Player.Character:GetChildren()) do
  363.         if v:IsA("Script") or v:IsA("LocalScript") then
  364.             addback.char[#addback.char+1] = v;
  365.             v.Parent = nil;
  366.             v.Disabled = true;
  367.         end
  368.     end
  369.     return addback;
  370. end;
  371. function spawnx(plr,id,override)
  372.     local slot = override or getNext(plr.playerstats.slots);
  373.     for i,v in next, slot:GetChildren() do
  374.         _G.Destruct(v);
  375.     end
  376.     shared.fireserver("AddObject",slot,tonumber(id));
  377. end
  378.  
  379. function loop(func, del)
  380.     Loops[func] = {del = del or 0, exec = false};
  381.     return func;
  382. end;
  383. function suspendLoop(func)
  384.     Loops[func] = nil;
  385.     return true;
  386. end;
  387.  
  388. print'Functions success';
  389. ---  ---
  390.  
  391.  
  392. -- Init + functions required --
  393.  
  394. UIS.InputBegan:connect(function(key, gpe)
  395.     if key.KeyCode == Enum.KeyCode.Quote and not gpe then
  396.         toggleVisible();
  397.     elseif key.KeyCode == Enum.KeyCode.LeftControl and Mouse.Target then
  398.         if ctrlDestroy then
  399.             _G.Destruct(Mouse.Target);
  400.         end
  401.     end
  402. end)
  403. GuiData.GuiToggle.MouseButton1Click:connect(function()
  404.     toggleVisible();
  405. end)
  406. GuiData.Exec.MouseButton1Click:connect(function()
  407.     clearButtons();
  408.    
  409.     for i,cmd in next, Commands do
  410.         if i:gsub("%s",""):lower():match(searchbox.Text:lower():gsub("%s","")) then
  411.             local new = GuiData.Bases.Button:Clone();
  412.             new.Parent = GuiData.Buttons;
  413.             new.Text = i;
  414.             new.MouseButton1Down:connect(function()
  415.                 clearArgs();
  416.                 for i,v in next, cmd.args do
  417.                     local arg = GuiData.Bases.Arg:Clone();
  418.                     arg.Name = tostring(i);
  419.                     arg.Label.Text = v[1];
  420.                     arg.TextBox.Text = v[2];
  421.                     arg.Parent = GuiData.Input;
  422.                 end
  423.                 local submit = GuiData.Bases.Submit:Clone();
  424.                 submit.Parent = GuiData.Input;
  425.                 submit.Name = "Submit";
  426.                 submit.MouseButton1Click:connect(function()
  427.                     local args = {};
  428.                     for i = 1, #cmd.args do
  429.                         args[#args+1] = GuiData.Input[tostring(i)].TextBox.Text;
  430.                     end
  431.                     cmd.func(unpack(args));
  432.                 end)
  433.             end)
  434.         end
  435.     end
  436. end)
  437. for i,v in next, GuiData.Menu:GetChildren() do
  438.     if v.ClassName == ("TextButton") then
  439.         v.MouseButton1Click:connect(function()
  440.             if selected == v.Name then
  441.                 v.TextColor3 = Color3.new(1,1,1);
  442.                 renderButtons();
  443.             elseif selected then
  444.                 GuiData.Menu[selected].TextColor3 = Color3.new(1,1,1)
  445.                 selected = v.Name;
  446.                 v.TextColor3 = Color3.new(0,1,0);
  447.                 renderButtons();
  448.             else
  449.                 selected = v.Name;
  450.                 v.TextColor3 = Color3.new(0,1,0);
  451.                 renderButtons();
  452.             end
  453.         end)
  454.     end
  455. end
  456.  
  457. print'Init2 success';
  458. ---  ---
  459. -- Commands --
  460. addcmd(1, "Kill", {{"Target","Player name"}}, function(target)
  461.     for i,v in next, getPlayer(target, true) do
  462.         pcall(_G.Destruct,v.Character.Head);
  463.     end
  464. end)
  465.  
  466. addcmd(4, "Fly", {}, function()
  467.     if not flying then
  468.         flying = true
  469.         output('Flying enabled');
  470.         local torso = Player.Character.Torso;
  471.         bv = Instance.new("BodyVelocity", torso)
  472.         bg = Instance.new("BodyGyro", torso)
  473.         bg.MaxTorque = Vector3.new(1000000000000, 1000000000000, 1000000000000)
  474.         bv.MaxForce = Vector3.new(1000000000000, 1000000000000, 1000000000000)
  475.         bv.P = 3000
  476.         local L_158_ = 300
  477.         keysEnabled = UIS.InputBegan:connect(function(key)
  478.             local code = key.KeyCode;
  479.             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
  480.                 return
  481.             end;
  482.             local keyUp = true
  483.             local keyup = game:GetService("UserInputService").InputEnded:connect(function(key2)
  484.                 if key2.KeyCode == code then
  485.                     keyUp = false
  486.                     keyup:disconnect();
  487.                 end
  488.             end)
  489.             player.Character.Humanoid.Sit = true
  490.             while keyUp and Player.Character.Humanoid.Sit and wait() do
  491.                 if code == Enum.KeyCode.W then
  492.                     bg.CFrame = torso.CFrame * CFrame.fromAxisAngle(Vector3.new(1, 0, 0), -math.pi / 10)
  493.                 end;
  494.                 if code == Enum.KeyCode.S then
  495.                     bg.CFrame = torso.CFrame * CFrame.fromAxisAngle(Vector3.new(1, 0, 0), math.pi / 10)
  496.                 end;
  497.                 if code == Enum.KeyCode.A then
  498.                     bg.CFrame = torso.CFrame * CFrame.fromAxisAngle(Vector3.new(0, 0, 1), math.pi / 10)
  499.                 end;
  500.                 if code == Enum.KeyCode.D then
  501.                     bg.CFrame = torso.CFrame * CFrame.fromAxisAngle(Vector3.new(0, 0, 1), -math.pi / 10)
  502.                 end;
  503.                 if code == Enum.KeyCode.Q then
  504.                     bg.CFrame = torso.CFrame * CFrame.fromAxisAngle(Vector3.new(0, 1, 0), math.pi / 10)
  505.                 end;
  506.                 if code == Enum.KeyCode.E then
  507.                     bg.CFrame = torso.CFrame * CFrame.fromAxisAngle(Vector3.new(0, 1, 0), -math.pi / 10)
  508.                 end;
  509.                 if code == Enum.KeyCode.Up then
  510.                     L_158_ = L_158_ + 200
  511.                 end;
  512.                 if code == Enum.KeyCode.Down then
  513.                     L_158_ = L_158_ - 200
  514.                 end;
  515.                 bv.Velocity = bg.CFrame.lookVector * L_158_;
  516.             end
  517.         end)
  518.     else
  519.         output('Flying disabled')
  520.         keysEnabled:disconnect()
  521.         --keyup:disconnect()
  522.         bv.Velocity = Vector3.new()
  523.         bv:Destroy()
  524.         bg:Destroy()
  525.         flying = false;
  526.     end
  527. end)
  528. addcmd(4, "Ctrl Destroy", {}, function()
  529.     ctrlDestroy = not ctrlDestroy;
  530.     output('Ctrl destroy is now '..ctrlDestroy and 'enabled' or 'disabled');
  531. end)
  532. addcmd(1, "Kick", {{"Target","Player name"}}, function(target)
  533.     for i,v in next, getPlayer(target, true) do
  534.         local i,v = i,v -- local copy for the spawn thread
  535.         pcall(_G.Destruct,v);
  536.         spawn(function()
  537.             wait(.1);
  538.             if Services.Players:FindFirstChild(v.Name) then
  539.                 output('Failed to kick '..v.Name);
  540.             else
  541.                 output('Kicked '..v.Name);
  542.             end;
  543.         end)
  544.     end
  545. end)
  546. addcmd(1, "Invis", {{"Target", "me"}}, function(target)
  547.     for i,v in next, getPlayer(target) do
  548.         recInvis(v.Character);
  549.         pcall(function()
  550.             _G.Destruct(v.Character.Head:FindFirstChildOfClass("Decal"));
  551.         end)
  552.     end
  553. end)
  554.  
  555. addcmd(4, "Message", {{"Message","Message to send"}, {"Color", "White/Red/Green/Yellow/Blue"}}, function(msg,clr)
  556.     for i,v in next, Services.Players:GetPlayers() do
  557.         fireRemove('SendMessage',v,clr,msg);
  558.     end
  559. end)
  560. addcmd(4, "Noclip", {}, function()
  561.     Noclip = not Noclip;
  562.     if Noclip then
  563.         output('Noclip enabled');
  564.     else
  565.         output('Noclip enabled');
  566.     end;
  567. end)
  568.  
  569. addcmd(1, "God mode", {}, function()
  570.     _G.HealthSet("MaxHealth",math.huge);
  571.     _G.HealthSet("Health",math.huge);
  572. end)
  573.  
  574. addcmd(1, "Loopheal" , {{"Target", "me"}}, function(target)
  575.     for i,v in next, getPlayer(target) do
  576.         God[v] = not God[v];
  577.     end
  578. end)
  579.  
  580. addcmd(4, "INF Stamina", {}, function()
  581.     Stamina = not Stamina;
  582. end)
  583.  
  584. addcmd(1, "Skin", {{"Target", "me"},{"PColor","Num"},{"PMaterial","Num"},{"SColor","Num"},{"SMaterial","Num"}}, function(target,pc,pm,sc,sm)
  585.     for i,v in next, getPlayer(target) do
  586.         pcall(function()
  587.             local x;
  588.             local t = v.playerstats.skins:GetChildren();
  589.             table.sort(t,function(a,b)
  590.                 return tonumber(a.Name:match("%d+")) < tonumber(b.Name:match("%d+"));
  591.             end)
  592.             for i,v in next, t do
  593.                 if v.Value == 0 then
  594.                     x = v;
  595.                     break;
  596.                 end
  597.             end
  598.  
  599.             _G.ChangeValue(x, tonumber(pc));
  600.             _G.ChangeValue(x.material, tonumber(pm));
  601.             _G.ChangeValue(x.secondary, tonumber(sc));
  602.             _G.ChangeValue(x.secondary.material, tonumber(sm));
  603.         end)
  604.     end
  605. end)
  606.  
  607. addcmd(4, "Set Gravity", {{"Value","196.2"}}, function(n)
  608.     workspace.Gravity = tonumber(n);
  609. end)
  610.  
  611. addcmd(2, "God Car", {}, function()
  612.     local veh = getVehicle();
  613.     _G.ChangeValue(veh.Stats.Armor.Max,999999999);
  614.     _G.ChangeValue(veh.Stats.Armor,999999999);
  615. end)
  616.  
  617. addcmd(2, "Horn Change", {{"SoundId","ID"}}, function(id)
  618.     id = "rbxassetid://"..id;
  619.     local veh = getVehicle();
  620.     _G.SoundIdSet(veh.PrimaryPart.Horn, id);
  621. end);
  622.  
  623. addcmd(4, "RemoveLimbs", {{"Target", "Player name"}}, function(target)
  624.     for i,v in next, getPlayer(target) do
  625.         pcall(function()
  626.             _G.Destruct(v.Character["Left Arm"]);
  627.             _G.Destruct(v.Character["Left Leg"]);
  628.             _G.Destruct(v.Character["Right Arm"]);
  629.             _G.Destruct(v.Character["Right Leg"]);
  630.         end)
  631.     end
  632. end)
  633.  
  634.  
  635. addcmd(2, "Repair Car", {}, function()
  636.     local veh = getVehicle();
  637.     local stats = veh.Stats;
  638.     _G.ChangeValue(stats.Hull,450);
  639.     _G.ChangeValue(stats.Engine, 100);
  640.     _G.ChangeValue(stats.Tank, 100);
  641.     _G.ChangeValue(stats.Fuel,stats.Fuel.Max.Value);
  642. end)
  643.  
  644. addcmd(2, "Super Car", {{"Speed", "Number"}}, function(speed)
  645.     local veh = getVehicle();
  646.     local stats = veh.Stats;
  647.  
  648.     _G.ChangeValue(stats.Fuel.Max,1000000);
  649.     _G.ChangeValue(stats.Fuel, 1000000);
  650.     _G.ChangeValue(stats.MaxSpeed, tonumber(speed));
  651.     _G.ChangeValue(stats.MaxSpeed.Offroad,tonumber(speed));
  652. end)
  653.  
  654. addcmd(4, "InvisC4s", {}, function()
  655.     invc4 = not invc4;
  656. end)
  657.  
  658. addcmd(4, "SpamC4", {}, function()
  659.     local index = 0;
  660.     local function s(o)
  661.         for i,v in next, o:GetChildren() do
  662.             if v:IsA("BasePart") then
  663.                 index = index + 1;
  664.                 spawn(function() placec4(v.Position) end)
  665.                 coroutine.yield();
  666.             end
  667.             if v.Name ~= "C4Placed" then
  668.                 s(v);
  669.             end
  670.         end
  671.     end
  672.     s(workspace["Anchored Objects"]);
  673. end)
  674.  
  675. addcmd(2, "Spawn Car", {}, function()
  676.     local veh = getVehicle(true);
  677.     local tp = player.Character.Torso.Position;
  678.     local vp = veh.PrimaryPart.Position;
  679.     local np = tp-vp + Vector3.new(20, 0, 0);
  680.     fireRemote('PlaceMaterial',veh,np);
  681.     local x = workspace:WaitForChild(veh.Name);
  682.     _G.ChangeParent(x,workspace.Vehicles);
  683. end)
  684.  
  685. addcmd(1, "Explode", {{"Target","Player name"}}, function(target)
  686.     for i,v in next, getPlayer(target, true) do
  687.         spawn(function() placec4(v.Character.Torso.Position, true); end);
  688.     end
  689. end)
  690.  
  691. addcmd(3, "Spawn", {{"Target","me"},{"ItemId", "Number"}}, function(target,id)
  692.     for i,v in next, getPlayer(target) do
  693.         spawnx(v,id);
  694.     end
  695. end)
  696.  
  697.  
  698. addcmd(1, "View", {{"Target","Player name"}}, function(target)
  699.     target = getPlayer(target)[1];
  700.     workspace.CurrentCamera.CameraSubject = target.Character.Humanoid;
  701. end)
  702.  
  703. addcmd(3, "Kit", {{"Target","Me"}, {"KitName","fal"}}, function(target, kit)
  704.     kit = kit:lower();
  705.     for i,v in next, getPlayer(target) do
  706.         spawn(function()
  707.             if kit == "fal" then
  708.                 spawnx(v,1029,v.playerstats.slots.slotprimary);
  709.                 for i = 1,6 do
  710.                     wait(1);
  711.                     spawnx(v,64);
  712.                 end
  713.                 spawnx(v,4016,v.playerstats.slots.slotbackpack)
  714.                 spawnx(v,9013,v.playerstats.attachments.primary.sight);
  715.                 spawnx(v,9005,v.playerstats.attachments.primary.under);
  716.                 spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  717.  
  718.             elseif kit == "g36k" then
  719.                 spawnx(v,1023,v.playerstats.slots.slotprimary);
  720.                 for i = 1,6 do
  721.                     wait(1);
  722.                     spawnx(v,53);
  723.                 end
  724.                 spawnx(v,4016,v.playerstats.slots.slotbackpack)
  725.                 spawnx(v,9013,v.playerstats.attachments.primary.sight);
  726.                 spawnx(v,9005,v.playerstats.attachments.primary.under);
  727.                 spawnx(v,9009,v.playerstats.attachments.primary.silencer)
  728.  
  729.             elseif kit == "m4a1" then
  730.                 spawnx(v,1004,v.playerstats.slots.slotprimary);
  731.                 for i = 1,6 do
  732.                     wait(1);
  733.                     spawnx(v,53);
  734.                 end
  735.                 spawnx(v,4016,v.playerstats.slots.slotbackpack)
  736.                 spawnx(v,9013,v.playerstats.attachments.primary.sight);
  737.                 spawnx(v,9005,v.playerstats.attachments.primary.under);
  738.                 spawnx(v,9009,v.playerstats.attachments.primary.silencer)
  739.  
  740.             elseif kit == "scar-l" then
  741.                 spawnx(v,1022,v.playerstats.slots.slotprimary);
  742.                 for i = 1,6 do
  743.                     wait(1);
  744.                     spawnx(v,53);
  745.                 end
  746.                 spawnx(v,4016,v.playerstats.slots.slotbackpack)
  747.                 spawnx(v,9013,v.playerstats.attachments.primary.sight);
  748.                 spawnx(v,9005,v.playerstats.attachments.primary.under);
  749.                 spawnx(v,9009,v.playerstats.attachments.primary.silencer)
  750.  
  751.             elseif kit == "mk17" then
  752.                 spawnx(v,1031,v.playerstats.slots.slotprimary);
  753.                 for i = 1,6 do
  754.                     wait(1);
  755.                     spawnx(v,64);
  756.                 end
  757.                 spawnx(v,4016,v.playerstats.slots.slotbackpack)
  758.                 spawnx(v,9013,v.playerstats.attachments.primary.sight);
  759.                 spawnx(v,9005,v.playerstats.attachments.primary.under);
  760.                 spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  761.  
  762.             elseif kit == "m14" then
  763.                 spawnx(v,1016,v.playerstats.slots.slotprimary);
  764.                 for i = 1,6 do
  765.                     wait(1);
  766.                     spawnx(v,64);
  767.                 end
  768.                 spawnx(v,4016,v.playerstats.slots.slotbackpack)
  769.                 spawnx(v,9013,v.playerstats.attachments.primary.sight);
  770.                 spawnx(v,9005,v.playerstats.attachments.primary.under);
  771.                 spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  772.  
  773.             elseif kit == "akm" then
  774.                 spawnx(v,1038,v.playerstats.slots.slotprimary);
  775.                 for i = 1,6 do
  776.                     wait(1);
  777.                     spawnx(v,50);
  778.                 end
  779.                 spawnx(v,4016,v.playerstats.slots.slotbackpack)
  780.                 spawnx(v,9013,v.playerstats.attachments.primary.sight);
  781.                 spawnx(v,9005,v.playerstats.attachments.primary.under);
  782.                 spawnx(v,9010,v.playerstats.attachments.primary.silencer)          
  783.  
  784.             elseif kit == "rpk" then
  785.                 spawnx(v,1034,v.playerstats.slots.slotprimary);
  786.                 for i = 1,6 do
  787.                     wait(1);
  788.                     spawnx(v,50);
  789.                 end
  790.                 spawnx(v,4016,v.playerstats.slots.slotbackpack)
  791.                 spawnx(v,9013,v.playerstats.attachments.primary.sight);
  792.                 spawnx(v,9005,v.playerstats.attachments.primary.under);
  793.                 spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  794.  
  795.             elseif kit == "ots" then
  796.                 spawnx(v,1036,v.playerstats.slots.slotprimary);
  797.                 for i = 1,6 do
  798.                     wait(1);
  799.                     spawnx(v,50);
  800.                 end
  801.                 spawnx(v,4016,v.playerstats.slots.slotbackpack)
  802.                 spawnx(v,9013,v.playerstats.attachments.primary.sight);
  803.                 spawnx(v,9005,v.playerstats.attachments.primary.under);
  804.                 spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  805.  
  806.             elseif kit == "ak104" then
  807.                 spawnx(v,1037,v.playerstats.slots.slotprimary);
  808.                 for i = 1,6 do
  809.                     wait(1);
  810.                     spawnx(v,50);
  811.                 end
  812.                 spawnx(v,4016,v.playerstats.slots.slotbackpack)
  813.                 spawnx(v,9013,v.playerstats.attachments.primary.sight);
  814.                 spawnx(v,9005,v.playerstats.attachments.primary.under);
  815.                 spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  816.  
  817.             elseif kit == "ak12" then
  818.                 spawnx(v,1035,v.playerstats.slots.slotprimary);
  819.                 for i = 1,6 do
  820.                     wait(1);
  821.                     spawnx(v,50);
  822.                 end
  823.                 spawnx(v,4016,v.playerstats.slots.slotbackpack)
  824.                 spawnx(v,9013,v.playerstats.attachments.primary.sight);
  825.                 spawnx(v,9005,v.playerstats.attachments.primary.under);
  826.                 spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  827.  
  828.             elseif kit == "ak47" then
  829.                 spawnx(v,1003,v.playerstats.slots.slotprimary);
  830.                 for i = 1,6 do
  831.                     wait(1);
  832.                     spawnx(v,50);
  833.                 end
  834.                 spawnx(v,4016,v.playerstats.slots.slotbackpack)
  835.                 spawnx(v,9013,v.playerstats.attachments.primary.sight);
  836.                 spawnx(v,9005,v.playerstats.attachments.primary.under);
  837.                 spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  838.  
  839.             elseif kit == "ak74" then
  840.                 spawnx(v,1039,v.playerstats.slots.slotprimary);
  841.                 for i = 1,6 do
  842.                     wait(1);
  843.                     spawnx(v,67);
  844.                 end
  845.                 spawnx(v,4016,v.playerstats.slots.slotbackpack)
  846.                 spawnx(v,9013,v.playerstats.attachments.primary.sight);
  847.                 spawnx(v,9005,v.playerstats.attachments.primary.under);
  848.                 spawnx(v,9011,v.playerstats.attachments.primary.silencer)
  849.  
  850.             elseif kit == "aks47u" then
  851.                 spawnx(v,1041,v.playerstats.slots.slotprimary);
  852.                 for i = 1,6 do
  853.                     wait(1);
  854.                     spawnx(v,67);
  855.                 end
  856.                 spawnx(v,4016,v.playerstats.slots.slotbackpack)
  857.                 spawnx(v,9013,v.playerstats.attachments.primary.sight);
  858.                 spawnx(v,9005,v.playerstats.attachments.primary.under);
  859.                 spawnx(v,9011,v.playerstats.attachments.primary.silencer)
  860.  
  861.             elseif kit == "an94" then
  862.                 spawnx(v,1041,v.playerstats.slots.slotprimary);
  863.                 for i = 1,6 do
  864.                     wait(1);
  865.                     spawnx(v,67);
  866.                 end
  867.                 spawnx(v,4016,v.playerstats.slots.slotbackpack)
  868.                 spawnx(v,9013,v.playerstats.attachments.primary.sight);
  869.                 spawnx(v,9005,v.playerstats.attachments.primary.under);
  870.                 spawnx(v,9011,v.playerstats.attachments.primary.silencer)
  871.  
  872.             elseif kit == "hk417" then
  873.                 spawnx(v,1033,v.playerstats.slots.slotprimary);
  874.                 for i = 1,6 do
  875.                     wait(1);
  876.                     spawnx(v,64);
  877.                 end
  878.                 spawnx(v,4016,v.playerstats.slots.slotbackpack)
  879.                 spawnx(v,9013,v.playerstats.attachments.primary.sight);
  880.                 spawnx(v,9005,v.playerstats.attachments.primary.under);
  881.                 spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  882.  
  883.             elseif kit == "g3" then
  884.                 spawnx(v,1030,v.playerstats.slots.slotprimary);
  885.                 for i = 1,6 do
  886.                     wait(1);
  887.                     spawnx(v,64);
  888.                 end
  889.                 spawnx(v,4016,v.playerstats.slots.slotbackpack)
  890.                 spawnx(v,9013,v.playerstats.attachments.primary.sight);
  891.                 spawnx(v,9005,v.playerstats.attachments.primary.under);
  892.                 spawnx(v,9010,v.playerstats.attachments.primary.silencer)
  893.  
  894.             elseif kit == "patriot" then
  895.                 spawnx(v,1021,v.playerstats.slots.slotprimary);
  896.                 for i = 1,6 do
  897.                     wait(1);
  898.                     spawnx(v,53);
  899.                 end
  900.                 spawnx(v,4016,v.playerstats.slots.slotbackpack);
  901.                 spawnx(v,9013,v.playerstats.attachments.primary.sight);
  902.                 spawnx(v,9005,v.playerstats.attachments.primary.under);
  903.                 spawnx(v,9009,v.playerstats.attachments.primary.silencer)
  904.             end
  905.         end)
  906.     end
  907. end)
  908.  
  909. addcmd(4, "Nofog", {}, function()
  910.     Services.Lighting.FogEnd = 9999999;
  911. end)
  912.  
  913. addcmd(1, "Inf Vitals", {{"Target", "me"}}, function(target)
  914.     for i,v in next, getPlayer(target) do
  915.         Vitals[v] = not Vitals[v];
  916.         _G.ChangeValue(v.playerstats.Hunger,math.huge);
  917.         _G.ChangeValue(v.playerstats.Thirst,math.huge);
  918.     end
  919. end)
  920.  
  921. addcmd(1, "JumpPower", {{"Value","Number"}}, function(num)
  922.     _G.HealthSet("JumpPower", tonumber(num));
  923. end)
  924.  
  925. addcmd(4, "C4 Walk", {}, function()
  926.     c4 = not c4;
  927. end)
  928.  
  929. addcmd(4, "Zoomout", {} ,function()
  930.     Player.PlayerGui.CameraZoom:Destroy()
  931. end)
  932.  
  933. addcmd(4, "No-recoil", {}, function()
  934.     local prim = player.playerstats.slots.slotprimary.ObjectID.Value
  935.     local primid = _G.Deobfuscate(prim)
  936.     local itemname = ItemCodes[primid]
  937.     player.Backpack[itemname].Stats.Recoil.Value = "aaaaaaaaaA"
  938. end)
  939.  
  940. addcmd(4, "clearworkspace", {}, function()
  941.     for i,v in next, workspace:GetChildren() do
  942.         pcall(_G.Destruct,v);
  943.     end
  944. end)
  945.  
  946. addcmd(1, "Change stats", {{"Target", "me"},{"Days", "Number"},{"Kills","Number"},{"ZKills","Number"}}, function(target, days, kills, zkills)
  947.     days, kills, zkills = tonumber(days), tonumber(kills), tonumber(zkills);
  948.     for i,v in next, getPlayer(target) do
  949.         local stats = v.playerstats;
  950.         _G.ChangeValue(stats.Days,days or stats.Days.Value);
  951.         _G.ChangeValue(stats.ZombieKill.Civilian,zkills or stats.ZombieKill.Civilian.Value);
  952.         _G.ChangeValue(stats.PlayerKill.Defensive,kills or stats.PlayerKill.Defensive.Value);
  953.     end
  954. end)
  955.  
  956. addcmd(4, "ESP", {}, function()
  957.     esp = not esp;
  958. end)
  959.  
  960. addcmd(1, "WalkSpeed", {{"Speed", "23"}}, function(speed)
  961.     local speed = tonumber(speed);
  962.     Player.Character.Humanoid.WalkSpeed = speed > 23 and 23 or speed;
  963. end)
  964.  
  965. addcmd(2, "Destroy vehicles", {}, function()
  966.     for i,v in next, workspace.Vehicles:GetChildren() do
  967.         if v:FindFirstChild("Stats") then
  968.             _G.ChangeValue(v.Stats.Engine, 0);
  969.         end
  970.     end
  971. end)
  972.  
  973. addcmd(4, "Destroy Groups", {}, function()
  974.     for i,v in next, game.Lighting.Groups:GetChildren() do
  975.         if v:IsA("IntValue") then
  976.             _G.Events.GroupKick:FireServer(v,Services.Players:FindFirstChild(v.member1.Value));
  977.         end
  978.     end
  979. end)
  980. ---  ---
  981.  
  982. -- Misc --
  983. loop(function()
  984.     GuiData.Container.Footer.page.Text = Messages[math.random(#Messages)];
  985. end, 7);
  986. loop(function()
  987.     if Noclip then
  988.         pcall(function()
  989.             Player.Character:FindFirstChildOfClass('Humanoid'):ChangeState(11); -- 11 = StrafingNoPhysics
  990.         end)
  991.     end;
  992. end)
  993. loop(function()
  994.     if not Arnex_Gui or Arnex_Gui.Parent ~= Services.CoreGui then
  995.         for i,v in pairs(Loops) do
  996.             suspendLoop(i);
  997.         end;
  998.         dump({
  999.             type = 'Tampering',
  1000.             newLoc = Arnex_Gui:GetFullName(),
  1001.             expectedLoc = Services.CoreGui:GetFullName(),
  1002.         })
  1003.         exit();
  1004.     end;
  1005. end)
  1006. loop(function()
  1007.     if Stamina then
  1008.         Player.Backpack.GlobalFunctions.Stamina.Value = 100;
  1009.     end
  1010. end)
  1011. loop(function()
  1012.     if invc4 then
  1013.         for i,v in next, workspace:GetChildren() do
  1014.             if v.Name == "C4Placed" and not v:FindFirstChild("invised") then
  1015.                 Instance.new("BoolValue",v).Name = "invised";
  1016.                 recInvis(v);
  1017.             end
  1018.         end
  1019.     end
  1020. end)
  1021. loop(function()
  1022.     Player.CameraMaxZoomDistance = 400
  1023. end)
  1024. loop(function()
  1025.     if c4 then
  1026.         makeC4();
  1027.     end
  1028. end,.5)
  1029. loop(function()
  1030.     for i,v in next, game.Players:GetPlayers() do
  1031.         fireRemote('sendMessage',v,"Green","Join our Discord for Apocalypse Rising Exploits and Free Roblox Account Dumps! discord.gg/7SzPNUx");
  1032.     end
  1033. end,900)
  1034. loop(function()
  1035.     for i,v in next, _G do
  1036.         if type(v) == "function" then
  1037.             getfenv(v).setfenv = function(a) return a end;
  1038.             getfenv(v).getfenv = function() return {} end;
  1039.         end
  1040.     end
  1041. end,.5)
  1042.  
  1043.  
  1044. loop(function()
  1045.     local guis = {};
  1046.     for i,v in next, player.PlayerGui:GetChildren() do
  1047.         if v.Name:match("ESP") then
  1048.             guis[#guis+1] = v;
  1049.         end
  1050.     end
  1051.  
  1052.     if esp then
  1053.         for i,v in next, player.PlayerGui:GetChildren() do
  1054.             if v.Name:match("^ESP") then
  1055.                 v:Destroy();
  1056.             end
  1057.         end
  1058.         for i,v in next, Services.Players:GetPlayers() do
  1059.             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
  1060.                 local head = v.Character.Head;
  1061.                 local hum = v.Character.Humanoid;
  1062.                 local new = EspData.BG:Clone();
  1063.                 new.Parent = player.PlayerGui;
  1064.                 new.Adornee = head;
  1065.                 new.Name = "ESP"..v.Name;
  1066.                 local nametag = Instance.new("TextLabel", new.TextLabel);
  1067.                 nametag.BackgroundTransparency = 1;
  1068.                 nametag.TextColor3 = Color3.new(1,1,1);
  1069.                 nametag.TextStrokeTransparency = 0;
  1070.                 nametag.TextSize = 8;
  1071.                 nametag.Name = "Nametag";
  1072.                 nametag.TextTransparency = .5;
  1073.                 new.TextLabel.TextTransparency = .5;
  1074.                 nametag.Size = UDim2.new(1,0,1,0);
  1075.                 nametag.Position = UDim2.new(0,0,-.9,0);
  1076.                 nametag.Text = v.Name;
  1077.                 local signal = new.Adornee.Parent:GetPropertyChangedSignal("Parent");
  1078.                 signal:connect(function()
  1079.                     if not new.Adornee or not new.Adornee:IsDescendantOf(workspace) then
  1080.                         new:Destroy();
  1081.                     end
  1082.                 end)
  1083.                 guis[#guis+1] = new;
  1084.             end
  1085.         end
  1086.  
  1087.         for i,v in next, workspace.Vehicles:GetChildren() do
  1088.             if v.Name ~= "Bicycle" and v.PrimaryPart and not findVehicle(v) then
  1089.                 local base = v.PrimaryPart;
  1090.                 local new = EspData.BG:Clone();
  1091.                 new.Parent = player.PlayerGui;
  1092.                 new.Adornee = base;
  1093.                 new.Name = "ESPV";
  1094.                 new.TextLabel.TextColor3 = Color3.new(1,0,0);
  1095.                 local signal = v:GetPropertyChangedSignal("Parent");
  1096.                 signal:connect(function()
  1097.                     if not new.Adornee:IsDescendantOf(workspace) then
  1098.                         new:Destroy();
  1099.                     end
  1100.                 end)
  1101.                 guis[#guis+1] = new;
  1102.             end
  1103.         end
  1104.  
  1105.         --update all guis
  1106.         for i,v in next, guis do
  1107.             v.Enabled = true;
  1108.             if v.Adornee and v.Adornee.Parent and player.Character and player.Character:FindFirstChild("Head") and v:FindFirstChild("TextLabel") then
  1109.                 local dist = (v.Adornee.Position-player.Character.Head.Position).magnitude;
  1110.                 v.TextLabel.Text = tostring(math.floor(dist));
  1111.             end
  1112.         end
  1113.     else
  1114.         for i,v in next, guis do
  1115.             v.Enabled = false;
  1116.         end
  1117.     end
  1118. end,.1)
  1119. loop(function()
  1120.     for i,v in next, God do
  1121.         if v then
  1122.             pcall(function()
  1123.                 _G.AddDamage(i.Character.Humanoid,-100);
  1124.             end)
  1125.         end
  1126.     end
  1127.     for i,v in next, Vitals do
  1128.         if v then
  1129.             pcall(function()
  1130.                 _G.ChangeValue(i.playerstats.Hunger,100);
  1131.                 _G.ChangeValue(i.playerstats.Thirst,100);
  1132.             end)
  1133.         end
  1134.     end
  1135. end)
  1136.  
  1137. loop(function()
  1138.     if nolog then
  1139.         pcall(function()
  1140.             _G.ChangeValue(player.playerstats.combat, false);
  1141.         end)
  1142.     end
  1143.     for i,v in next, Services.Players:GetPlayers() do
  1144.         if Noobs[v.Name] then
  1145.             spawn(function()
  1146.                 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.");
  1147.                 wait(.3);
  1148.                 _G.Destruct(v);
  1149.             end)
  1150.         end
  1151.     end
  1152.     if invc4 then
  1153.         for i,v in next, workspace:GetChildren() do
  1154.             if v.Name == "C4Placed" and not v:FindFirstChild("invised") then
  1155.                 Instance.new("BoolValue",v).Name = "invised";
  1156.                 recInvis(v);
  1157.             end
  1158.         end
  1159.     end
  1160. end)
  1161. print'Commands success';
  1162. ---  ---
  1163.  
  1164. -- Master loop --
  1165.  
  1166. spawn(function()
  1167.     while coroutine.yield() do
  1168.         for func,data in pairs(Loops) do
  1169.             local func,data = func,data;
  1170.             if not data.exec then
  1171.                 spawn(function()
  1172.                     data.exec = true;
  1173.                     if data.del ~= 0 then wait(data.del) end;
  1174.                     func(func);
  1175.                     data.exec = false;
  1176.                 end);
  1177.             end;
  1178.         end;
  1179.     end;
  1180. end)
  1181. print'Loop success';
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top