Flag Wars! Script | SILENT AIM, GUN MODS

Png-45.png

Created by Deity#0228

Features:

  • SILENT AIM
  • GUN MODS
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local RunService = game:GetService("RunService")
local Closest

local isAlive = function()
   if not Player.Character then return false end
   if not Player.Character:FindFirstChild("HumanoidRootPart") then return false end
   if not Player.Character:FindFirstChild("Humanoid") then return false end
   if Player.Character.Humanoid.Health <= 0 then return false end
   return true
end

local function getClosest()
   if not isAlive() then return end

   local closest = nil;
   local distance = math.huge;

   for i, v in pairs(Players:GetPlayers()) do
       if v == Player then continue end
       if v.Team == Player.Team then continue end
       if not v.Character then continue end
       if not v.Character:FindFirstChildOfClass("Humanoid") then continue end

       local d = (v.Character.HumanoidRootPart.Position - Player.Character.HumanoidRootPart.Position).Magnitude

       if d < distance then
           distance = d
           closest = v
       end
   end

   return closest
end

RunService.RenderStepped:Connect(function(deltaTime)
   Closest = getClosest()
end)

local old; old = hookmetamethod(game, "__namecall", function(this, ...)
   local args = {...}
   local method = getnamecallmethod()

   if not checkcaller() and method == "FireServer" and tostring(this) == "WeaponHit" then
       if Closest then
           args[2]["part"] = Closest.Character.Head
           args[2]["h"] = Closest.Character.Head
       end
   end

   return old(this, unpack(args))
end)

local to0 = {"ShotCooldown", "HeadshotCooldown", "MinSpread", "MaxSpread", "TotalRecoilMax", "RecoilMin", "RecoilMax", "RecoilDecay"}
local toInf = {"CurrentAmmo", "AmmoCapacity", "HeadshotDamage"}

-- retarded gun mods (re-equip your weapon)
local old2; old2 = hookmetamethod(game, "__index", function(this, index)
   if not checkcaller() and index == "Value" then
       if table.find(toInf, tostring(this)) then
           return math.huge
       end
       if table.find(to0, tostring(this)) then
           return 0
       end
   end
   return old2(this, index)
end)

 

ENJOY!

 

Warning: DO NOT DOWNLOAD anything from this page, you’re only here to copy the script or Get it from Pastebin!

About Us

What is arponag.xyz? arponag.xyz is a website focused on releasing safe exploits, we only release the best and most trusted exploits on our website, guaranteed to satisfy you. Contact us [email protected]

Safety

Is this safe to use? Everything on the website has been scanned and tested by professionals and the community, we only release the best exploits for our users, so we make sure that our exploits won’t harm your devices, everything here is clean.

Copyright © 2018 – 2020 Arpon AG | All rights reserved |
Privacy Policy | Terms of ServiceÂ