Advertisement
raulib

filter bypass caht [FE]

Aug 31st, 2018
1,593
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.47 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6.  
  7. ChatService = game:GetService("Chat") ----By raulib niggas, this is specially done for guests.
  8. Players = game:GetService("Players")
  9. User = owner
  10.  
  11. repeat wait() until ChatService
  12. repeat wait() until User.Character.Head
  13.  
  14. ----
  15. Bypasschatsirasurnotl0gged = Instance.new("ScreenGui")
  16. CHAT = Instance.new("TextBox")
  17. Bypasschatsirasurnotl0gged.Name = "Bypass chat sir, as u r not l0gged"
  18. Bypasschatsirasurnotl0gged.Parent = User.PlayerGui
  19. Bypasschatsirasurnotl0gged.ResetOnSpawn = false
  20. script.Parent = Bypasschatsirasurnotl0gged
  21. script.Archivable = false
  22.  
  23. ChatBorder = Instance.new("Frame")
  24. ChatBorder.Name = "U R FRAMD HAHAHA! This is a bad joke i admit"
  25. ChatBorder.Size = UDim2.new(1, 0, 0.0250000004, 0)
  26. ChatBorder.Position = UDim2.new(0, 0, .97, 0)
  27. ChatBorder.BorderSizePixel = 0
  28. ChatBorder.Parent = Bypasschatsirasurnotl0gged
  29. ChatBorder.BackgroundColor3 = Color3.new(0, 0, 0)
  30. ChatBorder.BackgroundTransparency = 0.5
  31. ChatBorder.Archivable = false
  32.  
  33. CHAT.Name = "CHAT"
  34. CHAT.BorderSizePixel = 0
  35. CHAT.Parent = ChatBorder
  36. CHAT.Text = "Click here to chat or press '+', and press Enter to send"
  37. CHAT.BackgroundColor3 = Color3.new(0, 0, 0)
  38. CHAT.Size = UDim2.new(.98, 0, 1, 0)
  39. CHAT.FontSize = Enum.FontSize.Size14
  40. CHAT.TextColor3 = Color3.new(1, 1, 1)
  41. CHAT.ClearTextOnFocus = true
  42. CHAT.TextSize = 14
  43. CHAT.TextScaled = true
  44. CHAT.TextWrapped = true
  45. CHAT.BackgroundTransparency = 1
  46. CHAT.Archivable = false
  47.  
  48. Xclear = Instance.new("TextButton")
  49. Xclear.Parent = ChatBorder
  50. Xclear.Name = "XXX.com"
  51. Xclear.Text = "X"
  52. Xclear.Size = UDim2.new(.02,0,1,0)
  53. Xclear.TextColor3 = Color3.new(1, 1, 1)
  54. Xclear.BackgroundColor3 = Color3.new(0, 0, 0)
  55. Xclear.BorderSizePixel = 0
  56. Xclear.Position = UDim2.new(0.98, 0, 1, 0)
  57. Xclear.AnchorPoint = Vector2.new(0, 1)
  58. Xclear.BackgroundTransparency = 1
  59. Xclear.Archivable = false
  60. ----
  61. function Chat(TEXT)
  62. ChatService:Chat(User.Character.Head, TEXT, "White")
  63. end
  64.  
  65. CHAT.FocusLost:connect(function(ENTER)
  66. if ENTER == true then
  67. if CHAT.Text == "/ALLAH" then
  68. Chat("الله أكبر")
  69. CHAT.Text = "Click here to chat or press '+', and press Enter to send"
  70. elseif CHAT.Text == "/NAZI" then
  71. Chat("卐 HEIL HITLER! 卐")
  72. if HailHitler then
  73. HailHitler:Destroy()
  74. else
  75. end
  76. HailHitler = Instance.new("Sound")
  77. HailHitler.Name = "SIEG HEIL BITCHES!"
  78. HailHitler.SoundId = "rbxassetid://411558483"
  79. HailHitler.Volume = 10
  80. HailHitler.Parent = User.Character.Head
  81. HailHitler.EmitterSize = 999999999999999999999
  82. HailHitler:Play()
  83. CHAT.Text = "Click here to chat or press '+', and press Enter to send"
  84. elseif CHAT.Text == "" then
  85. CHAT.Text = "Click here to chat or press '+', and press Enter to send"
  86. else
  87. Chat(CHAT.Text)
  88. CHAT.Text = "Click here to chat or press '+', and press Enter to send"
  89. end
  90. elseif CHAT.Text == "" then
  91. CHAT.Text = "Click here to chat or press '+', and press Enter to send"
  92. end
  93. end)
  94.  
  95. Xclear.MouseButton1Click:connect(function()
  96. CHAT.Text = "Click here to chat or press '+', and press Enter to send"
  97. end)
  98. function Set1(actionName, userInputState, inputObject)
  99. if userInputState == Enum.UserInputState.Begin then
  100. wait()
  101. CHAT:CaptureFocus()
  102. end
  103. end
  104.  
  105. game.ContextActionService:BindAction("keyPress", Set1, false, Enum.KeyCode.KeypadPlus)
  106.  
  107. while true do
  108. wait()
  109. if CHAT.Text == "Click here to chat or press '+', and press Enter to send" then
  110. CHAT.ClearTextOnFocus = true
  111. else
  112. CHAT.ClearTextOnFocus = false
  113. end
  114. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement