Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat task.wait() until game:IsLoaded()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/AnthonyIsntHere/anthonysrepository/main/scripts/AntiChatLogger.lua", true))()
- wait()
- local chatService, players = game:GetService("Chat"), game:GetService("Players")
- local custom_chars = {
- ["e"] = "Рµ",
- ["i"] = "С–",
- ["c"] = "СЃ",
- ["o"] = "Рѕ",
- ["p"] = "СЂ",
- ["s"] = "С•",
- ["u"] = "П…"
- }
- local default = " рђЊњв¬њв¬њв¬њв¬њМЊ в—» рђЊ– рђЊ–рђЊ–рђЊ– ॓॓॓###########॓॓॓𐌖𐌖 рђЊ–пїрђЊ–рђЊ– МЊ МЊрђЊ– рђЊњв¬њрђЊњв¬њ рђЊ– 𐌜⬜⬜⬜॓॓॓i рђЊњв¬њв¬њ tМЊ"
- local player = players.LocalPlayer
- local playerGui = player:WaitForChild("PlayerGui")
- local chatGui, chatBar = playerGui:WaitForChild("Chat")
- repeat task.wait() until chatGui:FindFirstChild("ChatBar", true)
- chatBar = chatGui:FindFirstChild("ChatBar", true)
- do
- local randomstr = function()
- 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"}
- local str = ""
- local length = math.random(12, 32)
- for i = 1, length do
- str = str .. characters[math.random(#characters)]
- end
- return str
- end
- task.spawn(function()
- while wait(.1) do
- if chatBar:IsFocused() then
- chatService:FilterStringForBroadcast(randomstr(), player)
- end
- end
- end)
- end
- local old
- old = hookmetamethod(game, "__namecall", newcclosure(function(self, ...)
- local method = getnamecallmethod()
- local args = {...}
- if method == "FireServer" and self.Name == "SayMessageRequest" and #args == 2 then
- local newMessage = args[1]
- for i,v in pairs(custom_chars) do
- local rep = string.gsub(newMessage, i, v)
- newMessage = rep --im too lazy to deal with 2vars being released back to me
- end
- newMessage = default .. newMessage
- args[1] = newMessage
- return old(self, unpack(args))
- end
- return old(self, ...)
- end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement