Need help scripting anti-fling script system

I’m a scripter working for heli-wars (made by beanandsoupguy) and I’m working on a simple anticheat for the game, one of the features we’re making is an anti fling system (basically checking amount of rotations made by player in t amount of seconds and if it’s greater than set amount of rotations we kick them and add an anti-cheat flag)

I’m wondering if I could get help on this cause I have a rough concept on my mind and I’m wondering if this is theoretically possible.

1 Like

Yes, you can do that, inside a loop save the old rotation then then wait x seconds then set a new rotaion in a new variable and subtract the new rotation from the old one and check the magnitude if it’s more than specific number(ex. 100) then kick the player.

Are you trying to detect the actual rotations or the side-effect of the rotations making the player rocket off at high speed?

I’m trying to find the rotation speed so I can find if they’re using a spinbot to fling people

My reply already explains that above.

I’ll mark as the solution, thanks for your time & helping me eradicate exploiters from heli wars!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.