Advertisement
DuyOnline101

Roblox Chat Bypass

Aug 21st, 2023 (edited)
6,921
1
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 16.63 KB | None | 1 0
  1. if not game:IsLoaded() then
  2.     game.Loaded:wait()
  3. end
  4.  
  5. --Ban evasion
  6. local ACL_LoadTime = tick()
  7. getgenv().AntiChatLogger = true
  8.  
  9. local OldCoreTypeSettings = {}
  10. local WhitelistedCoreTypes = {
  11.     "Chat",
  12.     "All",
  13.     Enum.CoreGuiType.Chat,
  14.     Enum.CoreGuiType.All
  15. }
  16.  
  17. local OldCoreSetting = nil
  18.  
  19. local CoreGui = game:GetService("CoreGui")
  20. local StarterGui = game:GetService("StarterGui")
  21. local TweenService = game:GetService("TweenService")
  22. local TextChatService = game:GetService("TextChatService")
  23. local Players = game:GetService("Players")
  24.  
  25. local Player = Players.LocalPlayer
  26.  
  27. local PlayerGui = Player:FindFirstChildWhichIsA("PlayerGui") do
  28.     if not PlayerGui then
  29.         repeat task.wait() until Player:FindFirstChildWhichIsA("PlayerGui")
  30.         PlayerGui = Player:FindFirstChildWhichIsA("PlayerGui")
  31.     end
  32. end
  33.  
  34. local Notify = function(_Title, _Text , Time)
  35.     StarterGui:SetCore("SendNotification", {Title = _Title, Text = _Text, Icon = "rbxassetid://2541869220", Duration = Time})
  36. end
  37.  
  38. local Tween = function(Object, Time, Style, Direction, Property)
  39.     return TweenService:Create(Object, TweenInfo.new(Time, Enum.EasingStyle[Style], Enum.EasingDirection[Direction]), Property)
  40. end
  41.  
  42. local Metatable = getrawmetatable(StarterGui)
  43. setreadonly(Metatable, false)
  44.  
  45. local CoreHook do
  46.     if hookmetamethod then
  47.         CoreHook = hookmetamethod(StarterGui, "__namecall", newcclosure(function(self, ...)
  48.             local Method = getnamecallmethod()
  49.             local Arguments = {...}
  50.            
  51.             if self == StarterGui and not checkcaller() then
  52.                 if Method == "SetCoreGuiEnabled" then
  53.                     local CoreType = Arguments[1]
  54.                     local Enabled = Arguments[2]
  55.                    
  56.                     if table.find(WhitelistedCoreTypes, CoreType) and not Enabled then
  57.                         OldCoreTypeSettings[CoreType] = Enabled
  58.                         return
  59.                     end
  60.                 elseif Method == "SetCore" then
  61.                     local Core = Arguments[1]
  62.                     local Connection = Arguments[2]
  63.                    
  64.                     if Core == "CoreGuiChatConnections" then
  65.                         OldCoreSetting = Connection
  66.                         return
  67.                     end
  68.                 end
  69.             end
  70.            
  71.             return CoreHook(self, ...)
  72.         end))
  73.     end
  74. end
  75.  
  76. local EnabledChat = task.spawn(function()
  77.     repeat
  78.         StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)
  79.         task.wait()
  80.     until StarterGui:GetCoreGuiEnabled(Enum.CoreGuiType.Chat)
  81. end)
  82.  
  83. local WarningGuiThread = task.spawn(function()
  84.     WarningUI = Instance.new("ScreenGui")
  85.     Main = Instance.new("Frame")
  86.     BackgroundHolder = Instance.new("Frame")
  87.     Background = Instance.new("Frame")
  88.     TopBar = Instance.new("Frame")
  89.     UIGradient = Instance.new("UIGradient")
  90.     TitleHolder = Instance.new("Frame")
  91.     Title = Instance.new("TextLabel")
  92.     Holder = Instance.new("Frame")
  93.     UIListLayout = Instance.new("UIListLayout")
  94.     Reason_1 = Instance.new("TextLabel")
  95.     Reason_2 = Instance.new("TextLabel")
  96.     Reason_3 = Instance.new("TextLabel")
  97.     WarningText = Instance.new("TextLabel")
  98.     Exit = Instance.new("TextButton")
  99.     ImageLabel = Instance.new("ImageLabel")
  100.    
  101.     if syn then
  102.         syn.protect_gui(WarningUI)
  103.     end
  104.    
  105.     WarningUI.Enabled = false
  106.     WarningUI.Name = "WarningUI"
  107.     WarningUI.Parent = CoreGui
  108.    
  109.     Main.Name = "Main"
  110.     Main.Parent = WarningUI
  111.     Main.AnchorPoint = Vector2.new(.5, .5)
  112.     Main.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  113.     Main.BackgroundTransparency = 1
  114.     Main.Position = UDim2.new(.5, 0, .5, 0)
  115.     Main.Size = UDim2.new(0, 400, 0, 400)
  116.    
  117.     BackgroundHolder.Name = "BackgroundHolder"
  118.     BackgroundHolder.Parent = Main
  119.     BackgroundHolder.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  120.     BackgroundHolder.BackgroundTransparency = .25
  121.     BackgroundHolder.BorderSizePixel = 0
  122.     BackgroundHolder.Size = UDim2.new(1, 0, 1, 0)
  123.    
  124.     Background.Name = "Background"
  125.     Background.Parent = BackgroundHolder
  126.     Background.AnchorPoint = Vector2.new(.5, .5)
  127.     Background.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  128.     Background.BorderSizePixel = 0
  129.     Background.Position = UDim2.new(.5, 0, .5, 0)
  130.     Background.Size = UDim2.new(.96, 0, .96, 0)
  131.    
  132.     TopBar.Name = "TopBar"
  133.     TopBar.Parent = Background
  134.     TopBar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  135.     TopBar.BorderSizePixel = 0
  136.     TopBar.Size = UDim2.new(1, 0, 0, 2)
  137.    
  138.     UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0, Color3.fromRGB(53, 149, 146)), ColorSequenceKeypoint.new(.29, Color3.fromRGB(93, 86, 141)), ColorSequenceKeypoint.new(.50, Color3.fromRGB(126, 64, 138)), ColorSequenceKeypoint.new(.75, Color3.fromRGB(143, 112, 112)), ColorSequenceKeypoint.new(1, Color3.fromRGB(159, 159, 80))}
  139.     UIGradient.Parent = TopBar
  140.    
  141.     TitleHolder.Name = "TitleHolder"
  142.     TitleHolder.Parent = Background
  143.     TitleHolder.AnchorPoint = Vector2.new(.5, .5)
  144.     TitleHolder.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  145.     TitleHolder.BorderColor3 = Color3.fromRGB(44, 44, 44)
  146.     TitleHolder.BorderSizePixel = 2
  147.     TitleHolder.Position = UDim2.new(.5, 0, .5, 0)
  148.     TitleHolder.Size = UDim2.new(.9, 0, .9, 0)
  149.    
  150.     Title.Name = "Title"
  151.     Title.Parent = TitleHolder
  152.     Title.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  153.     Title.BorderSizePixel = 0
  154.     Title.Position = UDim2.new(0, 15, 0, -12)
  155.     Title.Size = UDim2.new(0, 75, 0, 20)
  156.     Title.Font = Enum.Font.SourceSansBold
  157.     Title.Text = "Warning"
  158.     Title.TextColor3 = Color3.fromRGB(235, 235, 235)
  159.     Title.TextScaled = true
  160.     Title.TextWrapped = true
  161.    
  162.     Holder.Name = "Holder"
  163.     Holder.Parent = TitleHolder
  164.     Holder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  165.     Holder.BackgroundTransparency = 1
  166.     Holder.Position = UDim2.new(0, 30, .125, 0)
  167.     Holder.Size = UDim2.new(1, -30, .875, 0)
  168.    
  169.     UIListLayout.Parent = Holder
  170.     UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  171.    
  172.     Reason_1.Name = "Reason_1"
  173.     Reason_1.Parent = Holder
  174.     Reason_1.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  175.     Reason_1.BackgroundTransparency = 1
  176.     Reason_1.BorderSizePixel = 0
  177.     Reason_1.Size = UDim2.new(1, 0, 0, 20)
  178.     Reason_1.Font = Enum.Font.SourceSans
  179.     Reason_1.Text = "- TextChatService is enabled"
  180.     Reason_1.TextColor3 = Color3.fromRGB(199, 40, 42)
  181.     Reason_1.TextScaled = true
  182.     Reason_1.TextWrapped = true
  183.     Reason_1.TextXAlignment = Enum.TextXAlignment.Left
  184.     Reason_1.Visible = false
  185.    
  186.     Reason_2.Name = "Reason_2"
  187.     Reason_2.Parent = Holder
  188.     Reason_2.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  189.     Reason_2.BackgroundTransparency = 1
  190.     Reason_2.BorderSizePixel = 0
  191.     Reason_2.Size = UDim2.new(1, 0, 0, 20)
  192.     Reason_2.Font = Enum.Font.SourceSans
  193.     Reason_2.Text = "- Legacy chat module was not found"
  194.     Reason_2.TextColor3 = Color3.fromRGB(199, 40, 42)
  195.     Reason_2.TextScaled = true
  196.     Reason_2.TextWrapped = true
  197.     Reason_2.TextXAlignment = Enum.TextXAlignment.Left
  198.     Reason_2.Visible = false
  199.    
  200.     Reason_3.Name = "Reason_3"
  201.     Reason_3.Parent = Holder
  202.     Reason_3.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  203.     Reason_3.BackgroundTransparency = 1
  204.     Reason_3.BorderSizePixel = 0
  205.     Reason_3.Size = UDim2.new(1, 0, 0, 20)
  206.     Reason_3.Font = Enum.Font.SourceSans
  207.     Reason_3.Text = "- MessagePosted function was not found"
  208.     Reason_3.TextColor3 = Color3.fromRGB(199, 40, 42)
  209.     Reason_3.TextScaled = true
  210.     Reason_3.TextWrapped = true
  211.     Reason_3.TextXAlignment = Enum.TextXAlignment.Left
  212.     Reason_3.Visible = false
  213.    
  214.     WarningText.Name = "WarningText"
  215.     WarningText.Parent = TitleHolder
  216.     WarningText.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  217.     WarningText.BackgroundTransparency = 1
  218.     WarningText.BorderSizePixel = 0
  219.     WarningText.Position = UDim2.new(0, 30, .05, 0)
  220.     WarningText.RichText = true
  221.     WarningText.Size = UDim2.new(1, -30, 0, 20)
  222.     WarningText.Font = Enum.Font.SourceSans
  223.     WarningText.Text = "> Anti-<font color=\"#6ea644\">Chat Logger</font> will not work here!"
  224.     WarningText.TextColor3 = Color3.fromRGB(255, 255, 255)
  225.     WarningText.TextScaled = true
  226.     WarningText.TextWrapped = true
  227.     WarningText.TextXAlignment = Enum.TextXAlignment.Left
  228.    
  229.     Exit.Name = "Exit"
  230.     Exit.Parent = TitleHolder
  231.     Exit.AnchorPoint = Vector2.new(.5, .5)
  232.     Exit.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
  233.     Exit.BorderColor3 = Color3.fromRGB(0, 0, 0)
  234.     Exit.Position = UDim2.new(.5, 0, .899999976, 0)
  235.     Exit.Size = UDim2.new(0, 250, 0, 20)
  236.     Exit.Font = Enum.Font.SourceSans
  237.     Exit.Text = "Ok"
  238.     Exit.TextColor3 = Color3.fromRGB(255, 255, 255)
  239.     Exit.TextScaled = true
  240.     Exit.TextWrapped = true
  241.    
  242.     ImageLabel.Parent = TitleHolder
  243.     ImageLabel.AnchorPoint = Vector2.new(.5, .5)
  244.     ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  245.     ImageLabel.BackgroundTransparency = 1
  246.     ImageLabel.Position = UDim2.new(.5, 0, .6, 0)
  247.     ImageLabel.Size = UDim2.new(.3, 0, .3, 0)
  248.     ImageLabel.ZIndex = 1
  249.     ImageLabel.Image = "rbxassetid://12969025384"
  250.     ImageLabel.ImageColor3 = Color3.fromRGB(40, 40, 40)
  251.     ImageLabel.ImageTransparency = .5
  252.    
  253.     Exit.MouseButton1Down:Connect(function()
  254.         WarningUI:Destroy()
  255.     end)
  256. end)
  257.  
  258. if TextChatService.ChatVersion == Enum.ChatVersion.TextChatService then
  259.     WarningUI.Enabled = true
  260.     Reason_1.Visible = true
  261.     return
  262. end
  263.  
  264. local PlayerScripts = Player:WaitForChild("PlayerScripts")
  265. local ChatMain = PlayerScripts:FindFirstChild("ChatMain", true) or false
  266.  
  267. if not ChatMain then
  268.     local Timer = tick()
  269.    
  270.     repeat task.wait() until PlayerScripts:FindFirstChild("ChatMain", true) or tick() > (Timer + 3)
  271.     ChatMain = PlayerScripts:FindFirstChild("ChatMain", true)
  272.    
  273.     if not ChatMain then
  274.         WarningUI.Enabled = true
  275.         Reason_2.Visible = true
  276.         return
  277.     end
  278. end
  279.  
  280. local PostMessage = require(ChatMain).MessagePosted
  281.  
  282. if not PostMessage then
  283.     WarningUI.Enabled = true
  284.     Reason_3.Visible = true
  285.     return
  286. end
  287.  
  288. local MessageEvent = Instance.new("BindableEvent")
  289. local OldFunctionHook; OldFunctionHook = hookfunction(PostMessage.fire, function(self, Message)
  290.     if self == PostMessage then
  291.         MessageEvent:Fire(Message)
  292.         return
  293.     end
  294.     return OldFunctionHook(self, Message)
  295. end)
  296.  
  297. if setfflag then
  298.     pcall(function()
  299.         setfflag("AbuseReportScreenshot", "False")
  300.         setfflag("AbuseReportScreenshotPercentage", "0")
  301.     end)
  302. end -- To prevent roblox from taking screenshots of your client.
  303.  
  304. local Credits = task.spawn(function()
  305.     local UserIds = {
  306.         1414978355
  307.     }
  308.    
  309.     if table.find(UserIds, Player.UserId) then
  310.         return
  311.     end
  312.    
  313.     local Tag = Instance.new("BillboardGui")
  314.     local Title = Instance.new("TextLabel", Tag)
  315.     local Rank = Instance.new("TextLabel", Tag)
  316.     local Gradient = Instance.new("UIGradient", Title)
  317.    
  318.     Tag.Brightness = 2
  319.     Tag.Size = UDim2.new(4, 0, 1, 0)
  320.     Tag.StudsOffsetWorldSpace = Vector3.new(0, 5, 0)
  321.    
  322.     Title.BackgroundTransparency = 1
  323.     Title.Size = UDim2.new(1, 0, .6, 0)
  324.     Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  325.     Title.TextScaled = true
  326.    
  327.     Rank.AnchorPoint = Vector2.new(.5, 0)
  328.     Rank.BackgroundTransparency = 1
  329.     Rank.Position = UDim2.new(.5, 0, .65, 0)
  330.     Rank.Size = UDim2.new(.75, 0, .5, 0)
  331.     Rank.TextColor3 = Color3.fromRGB(0, 0, 0)
  332.     Rank.TextScaled = true
  333.     Rank.Text = "< Anti Chat-Logger >"
  334.    
  335.     Gradient.Color = ColorSequence.new({
  336.         ColorSequenceKeypoint.new(0, Color3.new(.75, .75, .75)),
  337.         ColorSequenceKeypoint.new(.27, Color3.new(0, 0, 0)),
  338.         ColorSequenceKeypoint.new(.5, Color3.new(.3, 0, .5)),
  339.         ColorSequenceKeypoint.new(0.78, Color3.new(0, 0, 0)),
  340.         ColorSequenceKeypoint.new(1, Color3.new(.75, .75, .75))
  341.     })
  342.     Gradient.Offset = Vector2.new(-1, 0)
  343.    
  344.     local GradientTeen = Tween(Gradient, 2, "Circular", "Out", {Offset = Vector2.new(1, 0)})
  345.    
  346.     function PlayAnimation()
  347.         GradientTeen:Play()
  348.         GradientTeen.Completed:Wait()
  349.         Gradient.Offset = Vector2.new(-1, 0)
  350.         task.wait(.75)
  351.         PlayAnimation()
  352.     end
  353.    
  354.     local AddTitle = function(Character)
  355.         repeat task.wait() until Character
  356.        
  357.         local Humanoid = Character and Character:WaitForChild("Humanoid")
  358.         local RootPart = Humanoid and Humanoid.RootPart
  359.        
  360.         if Humanoid then
  361.             Humanoid:GetPropertyChangedSignal("RootPart"):Connect(function()
  362.                 if Humanoid.RootPart then
  363.                     Tag.Adornee = RootPart
  364.                 end
  365.             end)
  366.         end
  367.        
  368.         if RootPart then
  369.             Tag.Adornee = RootPart
  370.         end
  371.     end
  372.    
  373.     task.spawn(PlayAnimation)
  374.    
  375.     for _, x in next, Players:GetPlayers() do
  376.         if table.find(UserIds, x.UserId) then
  377.             Tag.Parent = workspace.Terrain
  378.             Title.Text = x.Name
  379.             AddTitle(x.Character)
  380.             x.CharacterAdded:Connect(AddTitle)
  381.         end
  382.     end
  383.    
  384.     Players.PlayerAdded:Connect(function(x)
  385.         if table.find(UserIds, x.UserId) then
  386.             Tag.Parent = workspace.Terrain
  387.             Title.Text = x.Name
  388.             x.CharacterAdded:Connect(AddTitle)
  389.         end
  390.     end)
  391.    
  392.     Players.PlayerRemoving:Connect(function(x)
  393.         if table.find(UserIds, x.UserId) then
  394.             Tag.Parent = game
  395.         end
  396.     end)
  397. end)
  398.  
  399. task.delay(1, function() WarningUI:Destroy() end)
  400.  
  401. for _, x in next, OldCoreTypeSettings do
  402.     if not x then
  403.         StarterGui:SetCore("ChatActive", false)
  404.     end
  405.     StarterGui:SetCoreGuiEnabled(_, x)
  406. end
  407.  
  408. if OldCoreSetting then
  409.     StarterGui:SetCore("CoreGuiChatConnections", OldCoreSetting)
  410. end
  411.  
  412. if StarterGui:GetCore("ChatActive") then
  413.     StarterGui:SetCore("ChatActive", false)
  414.     StarterGui:SetCore("ChatActive", true)
  415. end
  416.  
  417. --Metatable.__namecall = CoreHook
  418. if CoreHook then
  419.     setmetatable(Metatable, {__namecall = CoreHook})
  420. end
  421. setreadonly(Metatable, true)
  422.  
  423. Notify("🔹Anti Chat Logger🔹", "Anti Chat and Screenshot Logger Loaded!", 15)
  424. print(string.format("Anti Chat-Logger has loaded in %s seconds.", string.format("%.2f", tostring(tick() - ACL_LoadTime))))
  425.  
  426. --Main Bypass
  427. local chatService, players = game:GetService("Chat"), game:GetService("Players")
  428.  
  429. local custom_chars = {
  430.     ["e"] = "е",
  431.     ["i"] = "Ñ–",
  432.     ["c"] = "с",
  433.     ["o"] = "Đ¾",
  434.     ["p"] = "Ñ€",
  435.     ["s"] = "Ñ•",
  436.     ["u"] = "Ï…"
  437. }
  438. local default = " đŒœâ¬œâ¬œâ¬œâ¬œ̀Œ â—» đŒ– đŒ–đŒ–đŒ– ॓॓॓###########à¥“à¥“à¥“đŒ–đŒ– đŒ–ï¿­đŒ–đŒ– ̀Œ ̀ŒđŒ–  đŒœâ¬œđŒœâ¬œ đŒ– đŒœâ¬œâ¬œâ¬œà¥“à¥“à¥“i đŒœâ¬œâ¬œ t̀Œ"
  439.  
  440. local player = players.LocalPlayer
  441. local playerGui = player:WaitForChild("PlayerGui")
  442. local chatGui, chatBar = playerGui:WaitForChild("Chat")
  443.  
  444. repeat task.wait() until chatGui:FindFirstChild("ChatBar", true)
  445. chatBar = chatGui:FindFirstChild("ChatBar", true)
  446.  
  447. do
  448.     local randomstr = function()
  449.         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"}
  450.         local str = ""
  451.         local length = math.random(12, 32)
  452.    
  453.         for i = 1, length do
  454.             str = str .. characters[math.random(#characters)]
  455.         end
  456.         return str
  457.     end
  458.     task.spawn(function()
  459.         while wait(.1) do
  460.             if chatBar:IsFocused() then
  461.                 chatService:FilterStringForBroadcast(randomstr(), player)
  462.             end
  463.         end
  464.     end)
  465. end
  466.  
  467. local old
  468. old = hookmetamethod(game, "__namecall", newcclosure(function(self, ...)
  469.     local method = getnamecallmethod()
  470.     local args = {...}
  471.  
  472.     if method == "FireServer" and self.Name == "SayMessageRequest" and #args == 2 then
  473.         local newMessage = args[1]
  474.         for i,v in pairs(custom_chars) do
  475.             local rep = string.gsub(newMessage, i, v)
  476.             newMessage = rep --im too lazy to deal with 2vars being released back to me
  477.         end
  478.         newMessage = default .. newMessage
  479.  
  480.         args[1] = newMessage
  481.         return old(self, unpack(args))
  482.     end
  483.     return old(self, ...)
  484. end))
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement