So, im making a anticheat for my game and i want to make it so if im using modifications then it wouldnt kick, but all the anti cheat things are handled separately due to being complex scripts
And theres many anti bypasses like random names, random parent, anti disable and anti delete so i was wondering if there is a way to see if a script has Kick() in it so i can implement the owner bypass into it
Not possible. Developer code isn’t able to read the source of any LuaSourceContainers. Even if they could the bytecode of Scripts is not sent to clients so LocalScripts can’t check for that.
You shouldn’t be trying to gun for an automated arbitrary solution here. Introduce predictability into your code so you know what may trigger a kick.
And thats false… exploiters have a function called decompile which lets them see any scripts source (as long as its a local script or module script)!
Woah its kinda creepy how they have many functions to bypass anticheats, for example they also have the hook functions that allows then to change functions if the arguments are matching with the arguments they insert, for example making the script return
I don’t know what you mean by saying it’s false because it isn’t. Please read the post and deconstruct the exact points made and compare them with what you said. Don’t be so quick to jump on a post and call it wrong if you aren’t going to point out what’s wrong about it, if anything is to begin with.
Exploit code isn’t developer code.
Developer code can’t read the Source property.
The bytecode of Scripts aren’t sent to the client. Only LocalScripts and ModuleScripts.
There’s a reason why even decompile exploits replace the Source property of Scripts with a comment stating that the source can’t be decompiled. Nothing I said here was false. Yes it’s true exploiters can decompile source if it’s sent to the client but that’s not relevant to the OP.
I assume you are editing an already existent anti cheat? Try creating your own or use human mod for your game, I’ve found out it is way easier in the long run, and supplies job opportunities for many.