So I’ve been thinking of making an anti-cheat but like people say NEVER TRUST THE CLIENT but I’ve been thinking of saving the anti-cheat inside serverscriptservice inside a script that can detect if a player doesn’t have the anti-cheat script on the Player. Character and It clones it and puts it inside the player that doesn’t have it. But how can I make this?
But if they delete a script, the server won’t know. The server will still see it there, but it won’t be. There is no easy solution to this or someone would have already thought of it. Security is not a small matter and needs to be created on a per-game basis with a lot of testing and a balance between server/client and performance/thoroughness.
Well is there any other way I can make it so it can detect if its gone? Not using StarterPlayer?
Nope. Even if you could detect it, then you are still trusting that the client is telling you that the script was deleted. If a hacker can disable the part of the game that tells you the script was disabled, which is totally possible by the way, then you’re still trusting the client too much. This is how hacks work so often outside of Roblox. You make a hack that does something and disable the part of the game that would detect it.