I’m making an anticheat, and one of the features is that if the humanoid or humanoidrootpart of a player is removed, it kicks the player.
The problem is that whenever i try to test it, it doesn’t replicate onto the server. Can I force it to replicate from the client or did Roblox make it so that clients can’t modify their character or what?
I also want to test what happens if the client just refuses to even spawn a humanoid or hrp, but I’m not sure how to test this in studio.
Do you think a Server sided anticheat will detect client sided changes?
When you modify a property on the client, for example change your walkspeed, it will change on your client but stay the same on the server, however u will move faster because movement is replicated
No, but I’ve heard a client has full control over everything parented to their character, for example I’ve heard you can delete your humanoid if you want and it will replicate.
Does this mean that I can fully trust that characters will always have a humanoid and humanoidrootpart and will always have the correct walkspeed on the server?
If you want your feature to work, you have to disable PlayerCharacterDestroyBehavior in the workspace.
– EDIT
I made an error, you have to disable RejectCharacterDeletions in workspace, not PlayerCharacterDestroyBehavior.
No. If a player deletes their HRP or Humanoid it won’t replicate to the server but it will break everything on the client’s end. For example, If a player were to delete their HRP they wouldn’t be able to move
You’d probably have to ask the client every 30 seconds to a minute if they have the HRP and humanoid and if the client doesn’t respond because they deleted the local script or if the client does return false then you kick em
you have to make a client side anticheat through a localscript probably inside the startercharacter folder
have it check the stuff using if statements inside of runservice.renderstepped:connect()
If this stays enabled, does it guarantee that a character will always have a humanoid and an hrp?
Does the player have control over their character’s loading? If so, then can’t the player just refuse to load them at all in the first place?
Note: I don’t care if the player decides to break stuff on the client, I’m worroied about people intentionally deleting their humanoidrootpart to disable or crash anticheat scripts, respectively their humanoid to get invincibility.
Basically what it will do, is it allows the server to see when a player has intentionally deleted any part of their body attached to their character (ex: humanoid, or hrp), and that means you could create server-sided anti-cheat that acts whenever a player does do that.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.