Advertisement
ERROR_CODE

Chat Bypass

Aug 21st, 2023
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.40 KB | None | 0 0
  1. repeat task.wait() until game:IsLoaded()
  2. loadstring(game:HttpGet("https://raw.githubusercontent.com/AnthonyIsntHere/anthonysrepository/main/scripts/AntiChatLogger.lua", true))()
  3. wait()
  4. local chatService, players = game:GetService("Chat"), game:GetService("Players")
  5.  
  6. local custom_chars = {
  7.     ["e"] = "Рµ",
  8.     ["i"] = "С–",
  9.     ["c"] = "СЃ",
  10.     ["o"] = "Рѕ",
  11.     ["p"] = "СЂ",
  12.     ["s"] = "С•",
  13.     ["u"] = "П…"
  14. }
  15. local default = " 𐌜⬜⬜⬜⬜̌ ◻ 𐌖 𐌖𐌖𐌖 ॓॓॓###########॓॓॓𐌖𐌖 𐌖■𐌖𐌖 ̌ ̌𐌖  𐌜⬜𐌜⬜ 𐌖 𐌜⬜⬜⬜॓॓॓i 𐌜⬜⬜ ť"
  16.  
  17. local player = players.LocalPlayer
  18. local playerGui = player:WaitForChild("PlayerGui")
  19. local chatGui, chatBar = playerGui:WaitForChild("Chat")
  20.  
  21. repeat task.wait() until chatGui:FindFirstChild("ChatBar", true)
  22. chatBar = chatGui:FindFirstChild("ChatBar", true)
  23.  
  24. do
  25.     local randomstr = function()
  26.         local characters = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"}
  27.         local str = ""
  28.         local length = math.random(12, 32)
  29.    
  30.         for i = 1, length do
  31.             str = str .. characters[math.random(#characters)]
  32.         end
  33.         return str
  34.     end
  35.     task.spawn(function()
  36.         while wait(.1) do
  37.             if chatBar:IsFocused() then
  38.                 chatService:FilterStringForBroadcast(randomstr(), player)
  39.             end
  40.         end
  41.     end)
  42. end
  43.  
  44. local old
  45. old = hookmetamethod(game, "__namecall", newcclosure(function(self, ...)
  46.     local method = getnamecallmethod()
  47.     local args = {...}
  48.  
  49.     if method == "FireServer" and self.Name == "SayMessageRequest" and #args == 2 then
  50.         local newMessage = args[1]
  51.         for i,v in pairs(custom_chars) do
  52.             local rep = string.gsub(newMessage, i, v)
  53.             newMessage = rep --im too lazy to deal with 2vars being released back to me
  54.         end
  55.         newMessage = default .. newMessage
  56.  
  57.         args[1] = newMessage
  58.         return old(self, unpack(args))
  59.     end
  60.     return old(self, ...)
  61. end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement