Advertisement
Arilis

Jailbird

Aug 12th, 2022 (edited)
1,263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.04 KB | None | 0 0
  1. if (not ethanstoptryingtoloadthisshit) then
  2.     getgenv().ethanstoptryingtoloadthisshit = ""
  3. else
  4.     return
  5. end
  6.  
  7. local Players = game:GetService('Players')
  8. local ReplicatedStorage = game:GetService('ReplicatedStorage')
  9. local LocalPlayer = Players.LocalPlayer
  10. local Character = LocalPlayer.Character
  11.  
  12. local highlighter = loadstring(game:HttpGet("https://pastebin.com/raw/r013Sn6i"))()
  13. local aimbottoggle = false;
  14. local ESPtog = false;
  15. local outlineColor = Color3.fromRGB(252, 3, 194)
  16. local fillcolor = Color3.fromRGB(252, 3, 94)
  17. local fillt = 0.5
  18. getgenv().fov = 30
  19. local camFOV = false
  20. local smoothing = 0
  21. local ready = true;
  22. local bartog = false;
  23. local map = nil
  24. local RunService = game:GetService("RunService")
  25.  
  26. local FOVring = Drawing.new("Circle")
  27. FOVring.Visible = true
  28. FOVring.Thickness = 2
  29. FOVring.Radius = fov
  30. FOVring.Transparency = 1
  31. FOVring.Color = Color3.fromRGB(255, 128, 128)
  32. FOVring.Position = workspace.CurrentCamera.ViewportSize/2
  33.  
  34. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/wall%20v3')))()
  35.  
  36. local w = library:CreateWindow("Jailbird Hax")
  37. local AimWindow = w:CreateFolder("Aimbot") -- Creates the folder(U will put here your buttons,etc)
  38. local VisualWindow = w:CreateFolder("Visuals") -- Creates the folder(U will put here your buttons,etc)
  39. local MiscWindow = w:CreateFolder("Misc") -- Creates the folder(U will put here your buttons,etc)
  40.  
  41.  
  42. AimWindow:Toggle("Enable",function(bool)
  43.     aimbottoggle = bool
  44. end)
  45.  
  46. AimWindow:Slider("FOV",{
  47.     min = 1; -- min value of the slider
  48.     max = 100; -- max value of the slider
  49.     precise = true; -- max 2 decimals
  50. },function(value)
  51.     fov = tonumber(value)
  52.     FOVring.Radius = fov    
  53. end)
  54.  
  55. AimWindow:Toggle("Show FOV",function(bool)
  56.     FOVring.Visible = bool
  57. end)
  58.  
  59. VisualWindow:Toggle("Enable ESP", function(t)
  60.     ESPtog = t
  61. end)
  62.  
  63. VisualWindow:Toggle("Better FOV", function(t)
  64.     camFOV = t
  65. end)
  66.  
  67.  
  68.  
  69. MiscWindow:Toggle("BUFF Barricades", function(t)
  70.     for i,v in pairs(workspace.Map:GetDescendants()) do
  71.         if (v.Name == 'BarricadeArea') then
  72.             map = v
  73.         end
  74.     end
  75.     bartog = t
  76. end)
  77.  
  78.  
  79. local function getClosest(cframe)
  80.     local ray = Ray.new(cframe.Position, cframe.LookVector).Unit
  81.    
  82.     local target = nil
  83.     local mag = math.huge
  84.    
  85.     for i,v in pairs(Players:GetPlayers()) do
  86.         if v.Character and v.Character:FindFirstChild("Head") and v.Character:FindFirstChild("Humanoid") and v.Character.PrimaryPart ~= nil and v ~= LocalPlayer and v.Team ~= LocalPlayer.Team and workspace.PlayersFolder:FindFirstChild(v.Name) then
  87.             local magBuf = (v.Character.Head.Position - ray:ClosestPoint(v.Character.Head.Position)).Magnitude
  88.            
  89.             if magBuf < mag then
  90.                 mag = magBuf
  91.                 target = v
  92.             end
  93.         end
  94.     end
  95.    
  96.     return target
  97. end
  98.  
  99. loop = RunService.RenderStepped:Connect(function()
  100.     local UserInputService = game:GetService("UserInputService")
  101.     local pressed = --[[UserInputService:IsKeyDown(Enum.KeyCode.E)]] UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1)
  102.     local localPlay = Character
  103.     local cam = workspace.CurrentCamera
  104.     local zz = workspace.CurrentCamera.ViewportSize/2
  105.     if (camFOV) then
  106.         if (cam.FieldOfView < 70) then
  107.             cam.FieldOfView = 70
  108.         else
  109.             cam.FieldOfView = 90
  110.         end
  111.     end
  112.    
  113.     if pressed and aimbottoggle then
  114.         local Line = Drawing.new("Line")
  115.         local curTar = getClosest(cam.CFrame)
  116.         local ssHeadPoint = cam:WorldToScreenPoint(curTar.Character.Head.Position)
  117.         ssHeadPoint = Vector2.new(ssHeadPoint.X, ssHeadPoint.Y)
  118.         if (ssHeadPoint - zz).Magnitude < fov then
  119.             workspace.CurrentCamera.CFrame = CFrame.new(cam.CFrame.Position, curTar.Character.Head.Position)
  120.         end
  121.     end
  122.    
  123.     if UserInputService:IsKeyDown(Enum.KeyCode.Up) then
  124.         if (workspace.PlayersFolder:FindFirstChild(LocalPlayer.Name)) then
  125.             workspace.PlayersFolder[LocalPlayer.Name].HumanoidRootPart.CFrame = CFrame.new(workspace.PlayersFolder[LocalPlayer.Name].HumanoidRootPart.Position + Vector3.new(0,3,0))
  126.         end
  127.     end
  128.  
  129.  
  130.     if UserInputService:IsKeyDown(Enum.KeyCode.RightShift) then
  131.         for i,v in pairs(game:GetService('CoreGui'):GetChildren()) do
  132.             if (v.Name == 'Revenant') then
  133.                 v.Topbar.Visible = not v.Topbar.Visible
  134.             end
  135.         end
  136.     end
  137.  
  138.    
  139. end)
  140.  
  141. while wait() do
  142.     for i,v in pairs(Players:GetPlayers()) do
  143.         if (ESPtog) then
  144.             if (v ~= LocalPlayer and Players[v.Name].Team ~= LocalPlayer.Team and v.Character ~= nil) then
  145.                 highlighter:create(v.Character, fillcolor, fillt, outlineColor)
  146.             end    
  147.         end
  148.        
  149.     end
  150.  
  151.     if (map~=nil and bartog) then
  152.         for i,v in pairs(map:GetChildren()) do
  153.             game:GetService("ReplicatedStorage").GameEvents.BarricadeUpdate:FireServer(v)
  154.         end
  155.     end
  156. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement