local a
local b
repeat game:GetService("RunService").Heartbeat:Wait() until
game.Players.LocalPlayer and
game.Players.LocalPlayer.PlayerGui:FindFirstChild("GUI")
for i,v in next, getgc() do
if (type(v) == 'function') and (debug.getinfo(v).name == 'firebullet') then
a = getfenv(v);
b = v
end
end
repeat game.RunService.Heartbeat:Wait() until game.Players.LocalPlayer.Character
and game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
game.Players.LocalPlayer.Character.Humanoid:WaitForChild("KMS")
local gunsilent = true
hook = hookfunction(a.firebullet, function(...)
local args = {...}
local Gun =
game.ReplicatedStorage.Weapons:FindFirstChild(game.Players.LocalPlayer.NRPBS.Equipp
edTool.Value);
if gunsilent then
local Crit = math.random() > .6 and true or false;
for i,v in pairs(game.Players:GetPlayers()) do
if v and v.Character and v.Character:FindFirstChild("Head") then
local Distance = (game.Players.LocalPlayer.Character.Head.Position -
v.Character.Head.Position).magnitude
for i = 1,5 do
game.ReplicatedStorage.Events.HitPart:FireServer(v.Character.Head,
v.Character.Head.Position + Vector3.new(math.random(),
math.random(), math.random()),
Gun.Name,
Crit and 2 or 1,
Distance,
Backstab,
Crit,
false,
1,
false,
Gun.FireRate.Value,
Gun.ReloadTime.Value,
Gun.Ammo.Value,
Gun.StoredAmmo.Value,
Gun.Bullets.Value,
Gun.EquipTime.Value,
Gun.RecoilControl.Value,
Gun.Auto.Value,
Gun['Speed%'].Value,
game.ReplicatedStorage.wkspc.DistributedTime.Value);
end
end
end
end
return hook(...)
end)