Detection for most popular scripts

I was bored so I decided to detect some popular scripts like:

  • Infinite Yield
  • Infinite Yield Reborn
  • Dex explorer
  • Hydroxide

If you want any other popular script detected just lmk

Anyway here’s the code:

--// By @sakupenny

coroutine.wrap(function()
	local service = setmetatable({}, {
		__index = function(_,k)
			return game:GetService(k)
		end
	})

	local illegalids = setmetatable({
		["rbxassetid://5642383285"] = true, --// dex explorer
		["rbxassetid://1204397029"] = true, --// infinite yield / reborn
		["rbxassetid://4702850565"] = true, --// hydroxide
	}, {
		__newindex = function()
			return error("Attempt to modify a readonly table")
		end,
		__metatable = function()
			return "This metatable is locked"
		end,
	})

	local dtc=false
	local function ondtc()
		service.Players.LocalPlayer:Kick("detected")
		dtc=true
	end
	local function check()
		service.ContentProvider:PreloadAsync({service.CoreGui}, function(assetid,_)
			if illegalids[assetid] ~= nil and not dtc then
				ondtc()
			end
		end)
	end

	while true do
		check()
		task.wait(0.5)
	end
end)()

Can’t this be bypassed?

  1. Just secure it with a handshake between the server and the client with encryption. All I’m doing is giving you ways to detect certain exploits.

  2. If someone is using infinite yield and other popular scripts, 90% of the time they are unable to bypass any anticheat anyway. Remember, More than 90% of exploiters don’t know how to code at all.

5 Likes