Skip to content

Instantly share code, notes, and snippets.

@dr34m-rin
Created March 12, 2026 22:30
Show Gist options
  • Select an option

  • Save dr34m-rin/f4c7a3ea164eaa28927cca24b14d86e2 to your computer and use it in GitHub Desktop.

Select an option

Save dr34m-rin/f4c7a3ea164eaa28927cca24b14d86e2 to your computer and use it in GitHub Desktop.
local v0=game.ReplicatedStorage:WaitForChild("ACS_Engine");local v1=v0:WaitForChild("Eventos");local v2=v0:WaitForChild("Modulos");local v3=v0:WaitForChild("GunModels");local v4=v3:WaitForChild("Client");local v5=v3:WaitForChild("Server");local v6=v3:WaitForChild("Holster");local v7=require(v2:WaitForChild("Utilities"));local v8=require(v0.ServerConfigs:WaitForChild("Config"));local v9=game:GetService("TweenService");local v10=game.Players;local v11=workspace:WaitForChild("ACS_WorkSpace");local v12=game:GetService("HttpService");local v13=v12:GenerateGUID(true);local v14=game:GetService("Debris");local v15,v16,v17,v18,v19,v20,v21,v22,v23;local v24,v25,v26;local v27=require(v2:WaitForChild("PartFractureModule"));local v28={};for v48,v49 in pairs(script.ReverbIgnore:GetChildren()) do table.insert(v28,v49.Value);end local v29=game:GetService("RunService");local v30={"187137543","169628396","926264402","169628396","926264402","169628396","187137543"};local v31={"Supressor","Suppressor","Silencer","Silenciador"};function FindSilencer(v50) local v51=0;while true do if (v51==0) then for v470,v471 in pairs(v31) do local v472=0 + 0 ;local v473;while true do if (v472==(0 -0)) then v473=v50:FindFirstChild(v471);if v473 then return v473;end break;end end end return nil;end end end v1.AcessId.OnServerEvent:Connect(function(v52,v53) if (v52.UserId==v53) then v1.AcessId:FireClient(v52,v13);else v52:kick(v8.KickMessage or "whoops, better luck next time" );end end);local v32=v11.Server;function Weld(v54,v55,v56,v57) local v58=1911 -(340 + 1571) ;local v59;while true do if (v58==3) then return v59;end if (v58==(26 -(11 + 15))) then v59=Instance.new("Motor6D",v54);v59.Part0=v54;v58=1 + 0 ;end if (v58==(196 -(26 + 168))) then v59.C0=v56 or (v54.CFrame:inverse() * v55.CFrame) ;v59.C1=v57 or CFrame.new() ;v58=3 -0 ;end if (v58==(1035 -(125 + 909))) then v59.Part1=v55;v59.Name=v54.Name;v58=2;end end end v1.Recarregar.OnServerEvent:Connect(function(v60,v61,v62,v63,v64) local v65=0;while true do if ((878 -(284 + 594))==v65) then v62.ACS_Modulo.Variaveis.StoredAmmo.Value=v61;if v63 then v62.ACS_Modulo.Variaveis.Ammo.Value=v63;end v65=1 -0 ;end if (v65==(2 -1)) then if v64 then v62.ACS_Modulo.Variaveis.Chambered.Value=v64;end break;end end end);v1.Treino.OnServerEvent:Connect(function(v66,v67) if (v67.Parent:FindFirstChild("Saude")~=nil) then local v358=166 -(122 + 44) ;local v359;while true do if (v358==(0 -0)) then v359=v67.Parent.Saude;v359.Variaveis.HitCount.Value=v359.Variaveis.HitCount.Value + (3 -2) ;break;end end end end);v1.SVFlash.OnServerEvent:Connect(function(v71,v72,v73,v74,v75,v76,v77) if v8.ReplicatedFlashlight then v1.SVFlash:FireAllClients(v71,v72,v73,v74,v75,v76,v77);end end);v1.Hit.OnServerEvent:Connect(function(v78,v79,v80,v81,v82,v83,v84,v85,v86) local v87=1212 -(323 + 889) ;while true do if (v87==(2 -1)) then v1.Hit:FireAllClients(v78,v79,v80,v81,v82,v83,v85,v86);if (v80.Parent and (v80.Parent:FindFirstChild("DestroyableLight") or (v80.Parent.Name=="DestroyableLight"))) then for v534,v535 in pairs(v80.Parent:GetDescendants()) do if v535:IsA("Light") then v535.Enabled=false;end end elseif (v80.Name=="DestroyableLight") then for v560,v561 in pairs(v80:GetDescendants()) do if v561:IsA("Light") then v561.Enabled=false;end end end v87=2;end if ((582 -(361 + 219))==v87) then if (v80.Name=="BreakableObj") then local v499=0 + 0 ;local v500;while true do if (v499==(320 -(53 + 267))) then v500=v80:FindFirstChild("BreakingPoint");if ( not v500 or not v500:IsA("Attachment")) then local v592=0 + 0 ;while true do if (v592==0) then v500=Instance.new("Attachment");v500.Name="BreakingPoint";break;end end end v499=414 -(15 + 398) ;end if (v499==(983 -(18 + 964))) then v500.WorldPosition=v79;v27.FracturePart(v80);break;end end end if (v83.ExplosiveHit==true) then local v501=v83.ExplosionSettings;local v502=Instance.new("Attachment");v502.CFrame=CFrame.new(v79,v79 + v81 );v502.Parent=workspace.Terrain;local v506=v502.Position.X;local v507=v502.Position.Y;local v508=v502.Position.Z;local v509=require(game:GetService("ServerScriptService").ExplosionService);v509.Create(Vector3.new(v506,v507,v508),v501);end break;end if (v87==(0 -0)) then if not v78 then return;end if (v84~=(v13 .. "-" .. v78.UserId)) then local v510=0 + 0 ;while true do if ((0 + 0)==v510) then if v8.KickOnFailedSanityCheck then v78:kick(v8.KickMessage or "don't try to make everyone explode next time" );end return;end end end v87=851 -(20 + 830) ;end end end);v1.LauncherHit.OnServerEvent:Connect(function(v88,v89,v90,v91) local v92=0 + 0 ;local v93;local v94;local v95;local v96;local v97;while true do if (v92==(127 -(116 + 10))) then v94=v89.X;v95=v89.Y;v92=1 + 1 ;end if (v92==(7 -4)) then v97.Create(Vector3.new(v94,v95,v96),v93);break;end if ((738 -(542 + 196))==v92) then v1.LauncherHit:FireAllClients(v88,v89,v90,v91);v93={UseShrapnel=true,ShrapnelAmount=1524 -(303 + 221) ,MaxShrapnelDistance=100,MaxRicochets=1,BlastRadius=21 -11 ,BlastKillZone=1 + 0 ,BlastPressure=3 + 2 ,DestructionRangeModifier=1 + 0 ,Visualization=false,VFXType="GP25"};v92=2 -1 ;end if (v92==(4 -2)) then v96=v89.Z;v97=require(game:GetService("ServerScriptService").ExplosionService);v92=12 -9 ;end end end);v1.Whizz.OnServerEvent:Connect(function(v98,v99,v100,v101,v102,v103,v104) if (v98.Team~=v99.Team) then v1.Whizz:FireClient(v99,v100,v101,v102,v103,v104);end end);v1.RicoSound.OnServerEvent:Connect(function(v105,v106) v1.RicoSound:FireAllClients(v105,v106);end);v1.StanceSound.OnServerEvent:Connect(function(v107,v108) v1.StanceSound:FireAllClients(v107,v108);end);v1.Suppression.OnServerEvent:Connect(function(v109,v110,v111,v112,v113) if (v109.Team~=v110.Team) then v1.Suppression:FireClient(v110,v111 or (2 -1) ,v112 or (1552 -(1126 + 425)) ,v113 or (415 -(118 + 287)) );end end);v1.SVRPG.OnServerEvent:connect(function(v114,v115,v116,v117,v118,v119,v120) v1.SVRPG:FireAllClients(v114,v115,v116,v117,v118,v119,v120);end);v1.ServerBullet.OnServerEvent:connect(function(v121,v122,v123,v124,v125,v126,v127,v128,v129,v130,v131,v132) v1.ServerBullet:FireAllClients(v121,v122,v123,v124,v125,v126,v127,v128,v129,v130,v131,v132);end);function CFF(v133,v134) local v135=0 -0 ;local v136;while true do if (v135==(1121 -(118 + 1003))) then v136=v133[v134];if not v136 then v136=CFrame.new(0 -0 ,377 -(142 + 235) ,0 -0 );end v135=1;end if (v135==(159 -(91 + 67))) then return v136;end end end function modFB(v137,v138,v139) local v140=0 + 0 ;local v141;while true do if (v140==(978 -(553 + 424))) then return v141;end if (0==v140) then v141=v137[v138];if not v141 then v141=v137[v139];end v140=1;end end end function CreateFakeArm(v142,v143) local v144=523 -(423 + 100) ;local v145;local v146;while true do if (v144==2) then v145.Parent=v142;return v145;end if (v144==1) then v146=v145:FindFirstChild(v143.Name);if not v146 then local v512=0 -0 ;while true do if (v512==(3 + 0)) then v146.Parent=v145;break;end if (v512==(0 + 0)) then v146=Instance.new("Weld");v146.Name=v143.Name;v512=2 -1 ;end if (v512==(2 + 0)) then v146.C0=CFrame.new();v146.C1=CFrame.new();v512=774 -(326 + 445) ;end if (v512==(4 -3)) then v146.Part0=v145;v146.Part1=v143;v512=4 -2 ;end end end v144=2 + 0 ;end if (v144==(0 + 0)) then v145=v142:FindFirstChild("Fake" .. v143.Name );if not v145 then local v513=0 + 0 ;while true do if (v513==(2 -1)) then v145:ClearAllChildren();v145.Transparency=2 -1 ;v513=4 -2 ;end if (v513==(1 + 1)) then v145.Size=v143.Size;v145.CanCollide=false;break;end if (v513==0) then v145=v143:Clone();v145.Name="Fake" .. v143.Name ;v513=4 -3 ;end end end v144=754 -(239 + 514) ;end end end v1.Equipar.OnServerEvent:Connect(function(v147,v148) local v149=0 + 0 ;local v150;local v151;local v152;local v153;local v154;local v155;local v156;local v157;local v158;local v159;local v160;local v161;local v162;local v163;local v164;local v165;local v166;local v167;while true do if ((1342 -(797 + 532))==v149) then v167.Part1=v152;v167.C0=CFF(v153,"SV_GunPos");v167.C1=CFrame.new();for v474,v475 in pairs(v151:GetChildren()) do if v475:IsA("BasePart") then local v536=0;while true do if ((0 -0)==v536) then v475.Anchored=false;v475.CanCollide=false;break;end end end end break;end if ((0 + 0)==v149) then v150=v147.Character:FindFirstChild("Head");if v147.Character:FindFirstChild("Holst" .. v148.Name ) then v147.Character["Holst" .. v148.Name ]:Destroy();end v151=v5:FindFirstChild(v148.Name):clone();v151.Name="S" .. v148.Name ;v149=1 -0 ;end if (v149==(1 + 0)) then v152=v151:FindFirstChild("Grip");if not v152 then local v514=0 + 0; while true do if (v514==0) then v152=Instance.new("Part");v152.Name="Grip";v152.Anchored=true;v152.CanCollide=false;v152.Transparency=1;v152.Parent=v151;v514=1;end if (v514==1) then break;end end end v149=2;end if (v149==2) then v153=v151:FindFirstChild("SV_Info");if not v153 then v153=Instance.new("Folder");v153.Name="SV_Info";v153.Parent=v151;end v149=3;end if (v149==3) then v154=v151:FindFirstChild("Values");if not v154 then v154=Instance.new("Folder");v154.Name="Values";v154.Parent=v151;end v149=4;end if (v149==4) then v155=Instance.new("BoolValue");v155.Name="Equipped";v155.Parent=v154;v155.Value=true;v149=5;end if (v149==5) then v156=v151:FindFirstChild("BulletEject");v157=v151:FindFirstChild("Ejector");if v156 and v157 then Weld(v156,v157);end v149=6;end if (v149==6) then v158=v151:FindFirstChild("MagRelease");if v158 then local v515=Instance.new("Weld");v515.Part0=v158;v515.Part1=v152;v515.C0=CFrame.new();v515.C1=CFrame.new();v515.Parent=v158;end v149=7;end if (v149==7) then v159=v151:FindFirstChild("Slide") or v151:FindFirstChild("Bolt");v160=v151:FindFirstChild("Handle");if v159 and v160 then Weld(v159,v160);end v149=8;end if (v149==8) then v161=v151:FindFirstChild("Magazine");if v161 then Weld(v161,v152);end v149=9;end if (v149==9) then v162=v151:FindFirstChild("Sight");if v162 then Weld(v162,v159 or v152);end v149=10;end if (v149==10) then v163=v151:FindFirstChild("Barrel");if v163 then Weld(v163,v152);end v149=11;end if (v149==11) then v164=v151:FindFirstChild("Stock");if v164 then Weld(v164,v152);end v149=12;end if (v149==12) then v165=v151:FindFirstChild("GripAttachment");if v165 then Weld(v165,v152);end v149=13;end if (v149==13) then v166=v151:FindFirstChild("Flashlight");if v166 then Weld(v166,v152);end v149=14;end if (v149==14) then v167=Instance.new("Motor6D");v167.Part0=v150;v167.Name="GripWeld";v167.Parent=v150;v167.C0=CFrame.new(0,0,0);v167.C1=CFrame.new(0,0,0);v149=15;end if (v149==15) then v167.Part1=v152;v167.C0=CFF(v153,"SV_GunPos");v167.C1=CFrame.new();for v474,v475 in pairs(v151:GetChildren()) do if v475:IsA("BasePart") then local v536=0;while true do if ((0 -0)==v536) then v475.Anchored=false;v475.CanCollide=false;break;end end end end break;end end end);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment