Detect and crash every string in CoreGui

I was using this method in my anti-cheat project, and now I want to share it with everyone :smiling_face_with_three_hearts:
My AC Server: Discord

local LocalizationService = game:GetService("LocalizationService")

local LongStr = string.rep("的是不了人在有我他这中大来上个们为到和地出要于你说会就下得可也时对生能而子那得知过多\n", 5000000)

local BlockedString = {"Execute", "Clipboard"} -- u can add more str here <3

for i, v in pairs(BlockedString) do
	local localTable = Instance.new("LocalizationTable")
	localTable.Parent = LocalizationService
	localTable:SetEntries({
		{
			Key = "0x" .. i,
			Source = v,
			Values = {
				["en-us"] = LongStr,
			}
		}
	})
end

Feel Free To Use It! Goodbye :3

27 Likes

I tested this with an exploit simulator on Studio. Low and behold, it actually does crash when you run the exploit script!


A video showcasing an exploit simulator being used. Roblox Studio crashes upon running Infinite Yield with it.

I modified the script to work better, and specifically target Infinite Yield. I’m sure there’s other exploit scripts out there that this should account for as well.

Source Code
local Localization = game:GetService("LocalizationService")
local LocaleId = Localization.SystemLocaleId

local Blocked = {
	"explorer / dex",
	"olddex / odex",
	"audiologger / alogger",
	"serverinfo / info",
	"autorejoin / autorj",
	"serverhop / shop",
	"savegame / saveplace",
	"clientantikick / antikick (CLIENT)",
	"nosafechat / disablesafechat",
	"headsit [player]",
}

local Crash = string.rep("的是不了人在有我他这中大来上个们为到和地出要于你说会就下得可也时对生能而子那得知过多\n", 1e6)

for i, text in Blocked do
	local translation = Instance.new("LocalizationTable")
	
	translation:SetEntries({{
		Key = tostring(i),
		Source = text,
		Values = {
			[LocaleId] = Crash,
		}
	}})
	
	translation.Parent = Localization
end

script.Name = "LocalScript"
script:Destroy()
getfenv().script = nil
3 Likes

where does the script go in studio (ie ss, rep storage,etc)

1 Like

very trolly method can’t wait to watch all the exploit discord servers brag about how they set autolocalize to false on their skiddy coreguis

2 Likes

This is bypasssed in 2 lines, posting skidded detections and claiming they’re your own is a very new low

1 Like

send proof that this method leaked before me post this?

4 Likes

That is insanely smart and creative, gg!

1 Like

(post deleted by author)

Great detection! Thanks for giving this resource to the community. Don’t worry about the anticheat devs malding in your replies.

7 Likes

That silenced him real quick :rofl: :rofl: :rofl:

7 Likes

Bruh ,what is this string.rep("的是不了人在有我他这中大来上个们为到和地出要于你说会就下得可也时对生能而子那得知过多\n", 5000000)
what it does???

2 Likes

a string that very very long used to crash the client

1 Like

Not trying to be the buzzkill, sorry, but I did read somewhere that clients crashing does affect the game’s ranking on the Roblox algorithm :-/

2 Likes

Ok I thought this wasn’t going to work but this works lol

This is a client sided script which I put in ReplicatedFirst. It may go anywhere that client code will run!

Yeah, there are three ways to bypass this. Having an anti-cheat on the client couldn’t hurt though (assuming no performance impact). We can try to make it as hard as possible to bypass, but eventually somebody will make one and eventually we’ll stop trying.

This is only crashing exploiters though. Isn’t that a good thing?

The algorithm doesn’t know if a client is an exploiter. Just kick/ban them.

This resource cannot be converted to kick instead of crashing the exploiter, unfortunately. You are rtight though, it would be more ideal to ban the exploiter instead.

1 Like

You can’t send a message to the server in some way to kick/ban them?

No, because there is no way to detect the crash! This anti-cheat script simply translates some messages that are going to be in exploit UI, and makes the translation extremely long which crashes their client.

1 Like

Oh okay. I misunderstood what this even was :sweat_smile: Thanks for explaining