Hello so I have a Tool, a Rocket Launcher which has a Configuration child where I store the tools properties like how fast the bullet will be, the reload time etc.
The projectile which is a model is cloned and moved by the client.
Since I am moving and creating the projectile on the client, exploiters can change the values and change the speed or any other values. How can I stop them from changing the config values?
I tried it before but the client projectiles and server projectile would not be synced, the server projectile would be bit behind the client one. So I decided to make the projectile for the player who fired in the tool’s local script and then it also fires a remote event to server, and the server fires a remote event to other client except the one who signaled the server
The hit would also be detected by the tool’s local script
you can make it way harder for the client to change values by defining every configuration value in a variable and then destroying the configuration folder, the only way they could possibly change values is if they read the code and recreate the folder with the same value named and then disable then re enable the script which takes a very long time and most exploiters might give up when they don’t see config
and when an exploiter does figure it out you can just change value names