Advertisement
ZV0K

Federal AntiLock

Sep 5th, 2023
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.49 KB | None | 0 0
  1. function Notify(titletxt, text, text1, time)
  2. local GUI = Instance.new("ScreenGui")
  3. local Main = Instance.new("Frame", GUI)
  4. local title = Instance.new("TextLabel", Main)
  5. local message = Instance.new("TextLabel", Main)
  6. local message1 = Instance.new("TextLabel", Main)
  7. GUI.Name = "NotificationOof"
  8. GUI.Parent = game.CoreGui
  9. Main.Name = "MainFrame"
  10. Main.BackgroundColor3 = Color3.new(0.2, 0.2, 0.25)
  11. Main.BorderSizePixel = 0
  12. Main.Position = UDim2.new(1, 5, 0, 50)
  13. Main.Size = UDim2.new(0, 400, 0, 100)
  14.  
  15. title.BackgroundColor3 = Color3.new(0, 0, 0)
  16. title.BackgroundTransparency = 0.9
  17. title.Size = UDim2.new(1, 0, 0, 35)
  18. title.Font = Enum.Font.SourceSansSemibold
  19. title.Text = titletxt
  20. title.TextColor3 = Color3.new(1, 1, 1)
  21. title.TextSize = 25
  22.  
  23. message.BackgroundColor3 = Color3.new(0, 0, 0)
  24. message.BackgroundTransparency = 1
  25. message.Position = UDim2.new(0, 0, 0, 20)
  26. message.Size = UDim2.new(1, 0, 1, -30)
  27. message.Font = Enum.Font.SourceSans
  28. message.Text = text
  29. message.TextColor3 = Color3.new(1, 1, 1)
  30. message.TextSize = 32
  31.  
  32. message1.BackgroundColor3 = Color3.new(0, 0, 0)
  33. message1.BackgroundTransparency = 1
  34. message1.Position = UDim2.new(0, 0, 0, 50)
  35. message1.Size = UDim2.new(1, 0, 1, -30)
  36. message1.Font = Enum.Font.SourceSans
  37. message1.Text = text1
  38. message1.TextColor3 = Color3.new(1, 1, 1)
  39. message1.TextSize = 24
  40.  
  41. wait(0.1)
  42. Main:TweenPosition(UDim2.new(0.362, 0, 0.859, -50), "Out", "Quint", 0.5)
  43. wait(time)
  44. Main:TweenPosition(UDim2.new(0.383, 0, 2, 0), "Out", "Sine", 0.75)
  45. wait(0.6)
  46.  
  47. GUI:Destroy();
  48.  
  49. end
  50. wait(1)
  51. Notify("Federal Antilock Gui", "Aimview is 'V' Antilock is 'X'", "Gotta Catch Em All!", 4)
  52. wait(4)
  53.  
  54. _G.enable = true
  55. _G.color = Color3.fromRGB(255,112,112)
  56. _G.monkey = 'v'
  57. _G.method = "MousePos"
  58.  
  59. if game.PlaceId == 2788229376 then
  60. _G.method = "MousePos"
  61. end
  62.  
  63.  
  64. ---------------------------------------------------------------
  65. local rs = game:GetService("RunService")
  66. local localPlayer = game.Players.LocalPlayer
  67. local mouse = localPlayer:GetMouse()
  68. local target;
  69.  
  70. function getgun()
  71. for i,v in pairs(target.Character:GetChildren()) do
  72. if v and (v:FindFirstChild('Default') or v:FindFirstChild('Handle') )then
  73. return v
  74. end
  75. end
  76. end
  77.  
  78.  
  79.  
  80.  
  81. function get_closet()
  82. local a = math.huge
  83. local b;
  84.  
  85. for i, v in pairs(game.Players:GetPlayers()) do
  86. if v ~= localPlayer and v.Character and v.Character:FindFirstChild("Head") and v.Character:FindFirstChild("HumanoidRootPart") then
  87. local c = game.Workspace.CurrentCamera:WorldToViewportPoint(v.Character.PrimaryPart.Position)
  88. local d = (Vector2.new(mouse.X, mouse.Y) - Vector2.new(c.X, c.Y)).Magnitude
  89.  
  90. if a > d then
  91. b = v
  92. a = d
  93. end
  94. end
  95. end
  96.  
  97. return b
  98. end
  99.  
  100. ---
  101. mouse.KeyDown:Connect(function(z)
  102. if z == _G.monkey then
  103. if _G.enable == false then
  104. _G.enable = true
  105. elseif _G.enable == true then
  106. _G.enable = false
  107. end
  108. end
  109. end)
  110.  
  111. mouse.KeyDown:Connect(function(z)
  112. if _G.enable == false and z == _G.monkey then
  113. target = get_closet()
  114. Notify("Federal Aimviewing", "Display - "..(target.DisplayName),"User - "..(target.Name), 5)
  115.  
  116. end
  117. end)
  118.  
  119.  
  120.  
  121. -- minified it
  122. local a=Instance.new("Beam")a.Segments=1;a.Width0=0.25;a.Width1=0.25;a.Color=ColorSequence.new(_G.color)a.FaceCamera=true;local b=Instance.new("Attachment")local c=Instance.new("Attachment")a.Attachment0=b;a.Attachment1=c;a.Parent=workspace.Terrain;b.Parent=workspace.Terrain;c.Parent=workspace.Terrain
  123.  
  124. task.spawn(function()
  125. rs.RenderStepped:Connect(function()
  126.  
  127. local character = localPlayer.Character
  128. if not character then
  129. a.Enabled = false
  130. return
  131. end
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138. if _G.enable and getgun() and target.Character:FindFirstChild("BodyEffects") and target.Character:FindFirstChild("Head") then
  139. a.Enabled = true
  140. b.Position = target.Character:FindFirstChild("Head").Position
  141. c.Position = target.Character.BodyEffects[_G.method].Value ---edit this if some random ass game got some weird ass other name :paling_face_
  142. else
  143. a.Enabled = false
  144.  
  145. end
  146.  
  147. end)
  148. end)
  149.  
  150. getgenv().skyanti = false
  151. getgenv().skyantipower = 1000
  152.  
  153. game:GetService("RunService").heartbeat:Connect(function()
  154. if getgenv().skyanti ~= false then
  155. local vel = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity
  156. game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(0,getgenv().skyantipower,0)
  157. game:GetService("RunService").RenderStepped:Wait()
  158. game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = vel
  159. end
  160. end)
  161.  
  162. getgenv().toggle = false
  163. getgenv().keybind = "X" -- the key that will be used to toggle
  164.  
  165. local function onKeyPress(input)
  166. if input.KeyCode == Enum.KeyCode[getgenv().keybind] then
  167. getgenv().toggle = not getgenv().toggle
  168. if getgenv().toggle then
  169. getgenv().skyanti = true
  170.  
  171. Notify("Federal Antilock", "Enabled", "LOCKER CAUGHT L BOZO!", 1.5)
  172. else
  173. getgenv().skyanti = false
  174. Notify("Federal Antilock", "Disabled", "LOCKER CAUGHT L BOZO!", 1.5)
  175. end
  176. end
  177. end
  178. game:GetService("UserInputService").InputBegan:Connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement