I have made a plan on how I want to do my anti exploit script and I’m about to start writing it but I need to solve a problem first, which is laggy players, aka those players who you sometimes see who are as slow as a snail. If I am not mistaken, that is because their flow of data to the server is really slow causing them to update really slowly on the server.
Here is an example of what my anti exploit will sorta look like for one horizontal axis
if previous_position + speed > 0.26666666666 then
humaniodrootpart.Position = 16
previous_position = humanoidrootpart.Position
end
wait (in_this_example_a_60th_of_a_second)
If they are laggy, I would need to change the wait time but to what? Also how would I stop the wait delaying other people from being anti teleported because it will run through all players in a for loop?