anti cheat script. (finally with PEP8)