Anti-Exploit Framework | UnknownParabellum

Anti-Exploit Framework

By UnknownParabellum


Introduction:

A big misconception about anti-exploit scripts is that they prevent all exploits. Scripts that claim this mean that they protect against a specific set of common exploits.

And so this framework was made to heavily discourage exploiters from using common physics-based cheats, such as noclip, speed and fly.

It works by performing sanity checks on the player’s movement. If you move too fast or if your path goes through a wall or if you’re in the air for a suspicious amount of time, the system will flag you and enact an appropriate punishment such as moving you back to the last non-suspicious position or respawning you.

I made this framework for developers mainly and so it is very easily to extend. All it takes is a few lines of code to link it up to a different script, maybe your admin system to send them a warning if a player is flagged a suspicious number of times.

Ideally this framework seeks to be used as a tool for human moderators as an early warning system for potential cheating activity


Showcase:

Note this does not include all properties and functions. Just the more important ones.
Showcase Video

Download:

Option 1:

Github:

Option 2:

AntiExploitModule.rbxm (27.0 KB)

Installation:

  1. Create a new Script

  2. Move the Script to ServerScriptStorage

  3. Copy and paste this into the script:

local AntiExploit = require(script.AntiExploitModule)

AntiExploit:Start()
  1. Place the AntiExploitModule under that script.
  2. And after that you are set!

Thank you!

Thank you for considering to use my Anti-Exploit Framework. It is very appreciated!

197 Likes

I’m curious, how would this perform on a large amounts of players? what is the average script usage for every player being “watched” by the anti exploit.

12 Likes

That’s a very good question! The framework it’s self should be pretty light-weight, so it all depends on how many and how expensive your checks are!

With the default checks here are the results with 8 players:

High movement
Peaked at around 2%

Less Movement
Peaked at less than 1%

5 Likes

Are you using raycasting to check for fly exploits, or are you referring to a constant y value?

4 Likes

Hello! By default, it uses rays to check if the player is on the ground or not.

8 Likes

Cool, but what happens if there is an extremely long fall in the game? Would it automatically respawn the player before it hit the ground or …?

6 Likes

By default it only respawns the player if they are in the air for more than 10 seconds. It can easily be altered though so if you feel that 10 seconds is too short then you can change it!

7 Likes

What if I use admjns it would kick me??
Or is there an exception value

4 Likes

Yes! You can configure the framework to check if a player is an admin and prevent the script from adding them to the PlayersMonitoring.

6 Likes

Right now I am really busy is it possible to skip the tutorial and get it from the asset library sorry to be cheeky :joy:

3 Likes

Sorry, I don’t plan on adding it to the marketplace however the Download is directly under the Introduction section of this post so you can get it there.

8 Likes

Hello.

I am sorry if I am bothering you, sorry! :frowning:

If you could link me the module, I’ll be pleased. :slight_smile:
Thank you!

David.

2 Likes

Yes, download is in the middle of the page directly under Framework API and Download!

6 Likes

Alright, thank you, but… It downloads as notepad. lol

Here’s what appears in the script:


3 Likes

It works alright for me, it should be a .rbxm file. Well if you are still having problems here’s a completely written version of the scripts in Pastbin.

The structure should be

AntiExploitModule
    PlayerClass
    FlagClass
6 Likes

Yes! now I see the source, not a completely mess as I viewed in the notepad lol!
Thank you!

3 Likes

Ah, you must have tried opening the .rbmx file with notepad! You have to drag and drop the file into Roblox Studio for it to work as intended!

4 Likes

Oh okay, I did not know. Thanks in advance :slight_smile:

Btw I added it to my game, Escape the Maze.

3 Likes

Hello! I’m a bit confused, I tried out the script, but it didn’t work. Is there a specific place I should be placing the script? If so, where?
Thanks!

3 Likes

This seems like a nice working anti-exploit, good job! If somebody uses admin commands in the game and they were administrator for the game and they did :speed me 123 would they be kicked? I’m interested in using this anti-virus for some of my games.

3 Likes