Run it
Copy the script and paste it into your executor.
ReplicatedStorage = :()
Players = :()
WeaponHit = ReplicatedStorage.WeaponsSystem.Network.WeaponHit
damageInterval =
maxDistance =
()
player = Players.LocalPlayer
character = player.Character
character
weapon = character:()
weapon
weapon
backpack = player:()
backpack
weapon = backpack:()
weapon
weapon
_, child (character:())
child:() child:()
child
character:() character:() character
()
player = Players.LocalPlayer
character = player.Character
character
fakeWeapon = .()
fakeWeapon.Name =
fakeWeapon.Parent = character
fakeWeapon.Anchored =
fakeWeapon.CanCollide =
fakeWeapon.Transparency =
fakeWeapon.Size = .(, , )
fakeWeapon
()
targets = {}
player = Players.LocalPlayer
_, targetPlayer (Players:())
targetPlayer ~= player targetPlayer.Character
character = targetPlayer.Character
humanoid = character:()
humanoid humanoid.Health >
bodyParts = {
character:(),
character:(),
character:(),
character:(),
character:(),
character:() character:(),
character:() character:(),
character:() character:(),
character:() character:()
}
_, part (bodyParts)
part
.(targets, {
player = targetPlayer,
part = part,
character = character
})
targets
()
player = Players.LocalPlayer
weapon = ()
weapon
weapon = ()
weapon
targets = ()
_, target (targets)
target.part
hitData = {
p = target.part.Position + .(
.(-, ),
.(-, ),
.(-, )
),
pid = player.UserId,
part = target.part,
d = .(, ),
maxDist = maxDistance,
h = target.part,
m = target.part.Material .Material.Plastic,
sid = .(, ),
t = (),
n = .(
.(-, ),
.(-, ),
.(-, )
).Unit
}
WeaponHit:(weapon, hitData)
#targets >
()
(damageInterval)
Players.LocalPlayer.CharacterAdded:((character)
()
(autoDamage)
)
Players.LocalPlayer.Character
(autoDamage)
kill all