Advertisement
Ninja_King7123

Chat Bypass

Jan 8th, 2020
38,334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.1
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local TextButton = Instance.new("TextButton")
  8.  
  9. --Properties:
  10.  
  11. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  12. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  13.  
  14. TextButton.Parent = ScreenGui
  15. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  16. TextButton.BackgroundTransparency = 0.850
  17. TextButton.Position = UDim2.new(0.818238974, 0, 0.863741398, 0)
  18. TextButton.Size = UDim2.new(0.0402515717, 0, 0.035334859, 0)
  19. TextButton.Font = Enum.Font.SourceSans
  20. TextButton.Text = "Chat Toggle"
  21. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  22. TextButton.TextScaled = true
  23. TextButton.TextSize = 14.000
  24. TextButton.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  25. TextButton.TextStrokeTransparency = 0.025
  26. TextButton.TextWrapped = true
  27.  
  28.  
  29. enabled = 1
  30.  
  31.  
  32. ---Original script below (aLmost no modificationaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  33.  
  34.  
  35.  
  36. local bypassthing = game:HttpGet('https://pastebin.com/raw/pNDkmBz7',true) .. game:HttpGet('https://pastebin.com/raw/pNDkmBz7',true)
  37. local mt = getrawmetatable(game)
  38. local oldNamecall = mt.__namecall
  39. if setreadonly then setreadonly(mt, false) else make_writeable(mt, true) end
  40. local namecallMethod = getnamecallmethod or get_namecall_method
  41. local newClose = newcclosure or function(f) return f end
  42. local bypassthing = game:HttpGet('https://pastebin.com/raw/pNDkmBz7',true) .. game:HttpGet('https://pastebin.com/raw/pNDkmBz7',true)
  43. mt.__namecall = newClose(function(...)
  44. local method = namecallMethod()
  45. local args = {...}
  46. if tostring(method) == "FireServer" and tostring(args[1]) == "SayMessageRequest" then
  47. local r = ''
  48. local splitted = string.split(args[2]," ")
  49. for i,v in pairs(splitted) do
  50. local t = ''
  51. for i = 1, string.len(v) do
  52. t = t.. bypassthing ..string.sub(v,i,i)
  53. end
  54. r = r..t.." "
  55. end
  56. if enabled == 1 then ---This if statement was not in the original script, but the action for args[2] = r was! This controls setting your message to bypass or not
  57. args[2] = r
  58. end
  59. return oldNamecall(unpack(args))
  60. end
  61. return oldNamecall(...)
  62. end)
  63.  
  64. if setreadonly then setreadonly(mt, true) else make_writeable(mt, false) end
  65.  
  66. ---Original script above
  67.  
  68. TextButton.MouseButton1Click:connect(function()
  69. if enabled == 1 then enabled = 0 TextButton.BackgroundColor3 = Color3.fromRGB(0, 0, 255) else enabled = 1 TextButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0) end
  70. print('press', enabled)
  71. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement