Hello, im currently making an anti-exploit system and im wondering if it is safe, effective and if it could have some issue.
Im asking this because it is very straight forward and simple but no one ever talk about it.
Functioning :
Flags :
-
LS - Local Script
-
R - Remote Event
-
SS - Server Script
-
RC - A boolean variable that get set to true when LS call R and false after the anti-exploit check is done.
Explanation :
LS which normaly call R is listening if R is called by the server(by SS).
SS is listening if R is called by the client : If it is then it will call R for the client with the arguments that it got from the client call.
When LS receives an R call from the server it will check if RC is true.
If it is then it will check if all the arguments match the arguments sent by LS(itself) and some additional context stuff Ex : Cooldown.
If one if these condition is false then the game will kick the exploiter.
Note :
I did search on the Devforum but there was nothing relation to this technique and i did not include the part for checking if the script got deleted but it will be in the real version.
Thanks for your answers!