Thank you for using our website
Your script:
-- 113075977776798
-- made by @xosmanez
getgenv().killall = true
local players = game:GetService("Players")
local lp = players.LocalPlayer
local wep, wepmodel
for _, gun in pairs(lp.Character.WeaponRig.Weapon:GetChildren()) do
if gun:FindFirstChild("Grip") and gun:IsA("Model") then
wepmodel = gun
end
end
for _, gun in pairs(lp.Character:GetChildren()) do
if gun:FindFirstChild("SPH_Weapon") and gun:IsA("Tool") then
wep = gun
end
end
local wepmodule = require(wep.SPH_Weapon.WeaponStats)
local thing = CFrame.Angles(math.rad(math.random(-wepmodule.spread, wepmodule.spread)), math.rad(math.random(-wepmodule.spread, wepmodule.spread)), 0)
local bulletdir = (wepmodel.Grip.Muzzle.WorldCFrame * thing).LookVector or (lp.Character.WeaponRig.Weapon:FindFirstChildWhichIsA("Model").Grip.Muzzle.WorldCFrame * thing).LookVector
local bulletvel = bulletdir * wepmodule.muzzleVelocity * 3.5
while getgenv().killall do
for _,player in ipairs(players:GetPlayers()) do
if player ~= lp and player.Character and player.Character:FindFirstChild("Head") and player.Team ~= "LOBBY" and player.Team ~= lp.Team and not player.Character:FindFirstChildWhichIsA("ForceField") then
require(game:GetService("ReplicatedStorage").SPH_Assets.Modules.BulletHandler).FireBullet(
lp.Character:FindFirstChild("WeaponRig"),
player.Character.Head.Position,
bulletdir,
bulletvel,
wep,
lp,
wepmodule.tracerColor
)
end
end
task.wait(.1)
end