Exploiters setting NPC humanoid health

Exploiters are setting the Humanoid.Health of our NPC’s to 0 and it’s replicated and actually killing them. I have no idea what do do and I have tried SetNetworkOwner with no luck.

The only ways I can think of this happening is because you have a backdoor, whether it be from a plugin or free model, or bad remote communication (i.e. you are giving clients too much power).

1 Like

It’s not a backdoor. It works locally in studio as well whenever setting the health in the local command bar

I don’t believe doing this would replicate, especially if you’re using SetNetworkOwner(nil), perhaps you have some sort of damage remote to damage a NPC, and an exploiter is firing it with 100 (ie. 100 damage).

This is 100% a issue with a RemoteEvent being abused. You’ll need to look over scripts that do damage.

If you don’t know how to search quickly. Have studio open and select the window that shows your physical game and do “CTRL + SHIFT + F” and search for “:TakeDamage(” or ".Health = "

When in studio, and through the command bar, your actions are performed as if they were on the server. If you want to test if it really is replicated, try changing it from a localscript. If it doesn’t change, then it is abuse from a RemoteEvent.

Not the case, the command bar and the explorer are both linked to what you’re viewing, which by default is the client. I believe you’re mistaking it for the command bar that developers have access to by pressing the f9 key in game, which is actually server sided.

1 Like

My bad. Although, I could have sworn that the command bar in studio acted serverside, as well as held more permissions than a normal script. I know the latter is true at least, but not sure where I came to think of the first half.