R

anti gui detekt

public
rrixh Apr 06, 2024 Never 126
Clone
Lua antiguidetekt 15 lines (12 loc) | 484 Bytes
1
-- prevents klirnt anti xheats from detekting guis
2
-- plaxe in autoexek folder
3
4
local MetamethodHolder = {
5
AntiFlag = nil
6
}
7
8
MetamethodHolder.AntiFlag = hookmetamethod(game, "__namecall", function(self, ...)
9
local Method = getnamecallmethod()
10
if tostring(Method) == "PreloadAsync" and not checkcaller() then
11
return
12
end
13
14
return MetamethodHolder.AntiFlag(self, ...)
15
end)