So I’ve been messing around with Leaderstats in which I kill an NPC with a weapon and it gives them a + Cash & Kill stat, which has all been successful.
But this has only worked for the Classic Sword and not the guns (like roblox’s ar, rpg, sniper & such).
I’ve searched through videos where it tells me to edit the Weapon or to edit the NPC’s creators tags but still nothing has worked or I am doing something wrong. I’ve also tried adjusting the HumandoidRootPart of the NPC to make it easier to hit and as well as trying it on other NPCs, yet nothing seemed to work.
Here’s a video of me using both weapon as an example (Excuse the theme of the game, I got bored and decided to turn to brainrot):
Any help would be incredibly appreciated, if you require more information or a script let me know, I just don’t know what to post.
Your gun’s don’t even seen to be dealing damage to the skibidis (lol). I’m assuming the skibidis are not R15, of which the gun kit will only work against R15 humanoids. To fix this, go to Line 793 in the ‘WeaponsSystem’ module script.
if explodedPart.Name == "UpperTorso" and
to
if explodedPart.Name == "HumanoidRootPart" and
and then on lines 418 - 432
function WeaponsSystem.getHumanoid(part)
while part and part ~= workspace do
if part:IsA("Model") and part.PrimaryPart and part.PrimaryPart.Name == "HumanoidRootPart" then
return part:FindFirstChildOfClass("Humanoid")
end
part = part.Parent
end
end
turn this into:
function WeaponsSystem.getHumanoid(part)
while part and part ~= workspace do
local humanoid = part:FindFirstChildOfClass("Humanoid")
if humanoid then
return humanoid
end
part = part.Parent
end
return nil
end
(line numbers might be a bit off as my script is modified, but just search for some of those keywords in the script and you will find it)
If this doesn’t work, I have a Roblox Weapon Kit Fix, so if you want to use that and see if it fixes it please do.
If none of these solutions work, I’ll try to help you out a bit more.