Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hackdetector/lua/autorun/client/cl_ah.lua
- found on (now defunct) Hexteria Gaming servers
- /**
- * Hello!
- * If you're reading this, you're most likely attempting to bypass our anti-hack.
- * It'd be very easy to bypass this, but good luck getting past our second line of defence! ;)
- */
- local AH = {}
- AH.Badwords = {
- "[AHack]",
- "[AnXition]",
- "[B-Hacks]",
- "[Blue Bot]",
- "[damnBot]",
- "[FMurder]",
- "[mApex]",
- "[Murder Buddy]",
- "Aimbot",
- "TrafficHelper",
- "Wallhack"
- }
- local Chat_AddText = chat.AddText
- function chat.AddText(...)
- Chat_AddText(...)
- local args = {...}
- for k,v in pairs( args ) do
- if type(v) == "string" then
- for a,b in pairs( AH.Badwords ) do
- if string.StartWith( v, b ) then
- AH.Detected( b )
- return
- end
- end
- end
- end
- end
- function AH.Detected( hack )
- net.Start( "AH.Detected" )
- net.WriteString( hack )
- net.SendToServer()
- end
- net.Receive( "AH.Notify", function(len)
- local t = net.ReadString()
- Chat_AddText( Color( 255, 0, 0 ), "[AntiHack] ", Color( 255, 255, 255 ), t )
- end )
Advertisement
Add Comment
Please, Sign In to add comment