How can I prevent exploitation with vehicles?

Hi, so I just started working on a vehicle system (that has flying and land vehicles).
In order for the players to have the best experience I give the player Network ownership over the vehicle. This obviously means exploiters can easily just teleport it and stuff.

Now I know some ways to combat this, such as logging the position of the server and deciding if its reasonable how far they traveled within X amount of time, and that sorta thing. But that so far is the only example of how to combat this I could find.

so I was wondering if there are some other methods I could use, also how exactly I would optimize the first method I mentioned.

Thanks :D

I’m not a good scripter but wanted to help.

You can take a look at this and try to create something similar with trail and error to see what fits your needa more ( the time between every check )

1 Like

i dont know if this is possible because basically exploiters is like they OWN the game, i could try that like if they modify the script, you can add a intvalue for the speed, for a script to constantly check if the value is still correct, that can be weird but i personally like int values instead of valued in a script because you can make more scripts with the same value in case you need for example an AntiExploit script