So I am making an anti-dex system that is based on memory spikes (in megabytes) and I want to know how much the memory spikes when dex is executed.
Dex causes lag when loading , there’s a few newer versions however that load slowly so the lag isn’t bad meaning you wont detect it.
I’ve tried to make something similar to what you are trying to do to detect exploiters running scripts but the stats vary too much.
I made a test place to gather stats from participants (From forum and a few friends).
Take a look for yourself and see just how much it varies running normally without any scripts being injected.
To detect a script being run you would have to see if goes a certain amount above normal levels, you can try to see if the script usage or count goes up but without someone exploiting it you wont get a reading to compare.
See the dev console for results collected
Hey you can look at my posts and theres a lot of info about anti dex there: Anti dex, Core Gui? - Help and Feedback / Scripting Support - DevForum | Roblox
You might be interested in these aswell.
This is a great but tricky way of doing it because each device has a different MB usage, and it can spike up all the way to 5GB in stead of MB at any moment or time. ( I suggest looking at my topics and there’s a lot of info about anti dex. DO NOT ban or kick the player for dex because false positives WILL happen
The solution to this post is actually what brought dex detection to my attention.
How did you detect that? What anticheat did you use>
What do you do then? (I wasn’t planning on banning them but I was planning on kicking them)
Well don’t kick… The most effective way is to just remove it so exploiters get mad and as soon as they execute it they will just get a blank screen. I am an anti-exploit developer and I see this often.
And how am I supposed to access the coregui to remove it?
Roblox well first you notice the memory spike then you check to see if its a GUI is so proceed to remove it by using:
:Destroy()
.Disabled = true
How do I see what is causing memory spikes? I am pretty sure you can’t see script memory usage.
You can by opening dev console and go to memory, you can see how much MB the game is using and the core gui and the gui service and everything. (focus on core gui)
I will not always be in the game to see what is causing things to spike. I am creating a script for an anti-exploit.
That isn’t very practical if you aren’t always in your own game
Yes you make a script to do that…
Last I checked scripts can’t use the devconsole.
Well duh, you make a script for everything that needs to be done
They are asking how do I detect WHAT is causing memory spikes WITHOUT using dev console? Scripts can’t see the dev console