Facebook
From fortnite393#1691, 1 Year ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 131
  1. hookfunction(game.Players.LocalPlayer.IsInGroup, function() return true end)
  2. loadstring(game:HttpGet("https://raw.githubusercontent.com/Nosssa/NossLock/main/AntiAimViewer"))()
  3. local Aiming = loadstring(game:HttpGet("https://pastebin.com/raw/3A9wdSkL"))()
  4.  
  5. Aiming.TeamCheck(false)
  6.  
  7.  
  8.  
  9. local Workspace = game:GetService("Workspace")
  10.  
  11. local Players = game:GetService("Players")
  12.  
  13. local RunService = game:GetService("RunService")
  14.  
  15. local UserInputService = game:GetService("UserInputService")
  16.  
  17.  
  18.  
  19. local LocalPlayer = Players.LocalPlayer
  20.  
  21. local Mouse = LocalPlayer:GetMouse()
  22.  
  23. local CurrentCamera = Workspace.CurrentCamera
  24.  
  25.  
  26. ---------------------------------------------------------------
  27. local DaHoodSettings = {
  28.    
  29.     SilentAim = true,
  30.  
  31.     AimLock = false,
  32.  
  33.     Prediction = 0.1,
  34.  
  35.     AimLockKeybind = Enum.KeyCode.E,
  36.  
  37.     Resolver = true,
  38.    
  39. }
  40. --------------------------------------------------
  41. getgenv().DaHoodSettings = DaHoodSettings        
  42. getgenv().Aiming.FOV = 7                        
  43. --------------------------------------------------- -fov 5.5-6.6 is legit
  44.  
  45. function Aiming.Check()
  46.  
  47.     if not (Aiming.Enabled == true and Aiming.Selected ~= LocalPlayer and Aiming.SelectedPart ~= nil) then
  48.  
  49.         return false
  50.  
  51.     end
  52.  
  53.     local Character = Aiming.Character(Aiming.Selected)
  54.  
  55.     local KOd = Character:WaitForChild("BodyEffects")["K.O"].Value
  56.  
  57.     local Grabbed = Character:FindFirstChild("GRABBING_CONSTRAINT") ~= nil
  58.  
  59.     if (KOd or Grabbed) then
  60.  
  61.         return false
  62.  
  63.     end
  64.  
  65.     return true
  66.  
  67. end
  68.  
  69.  
  70.  
  71. task.spawn(function()
  72.  
  73.     while task.wait() do
  74.  
  75.         if DaHoodSettings.Resolver and Aiming.Selected ~= nil and (Aiming.Selected.Character)  then
  76.  
  77.             local oldVel = game.Players[Aiming.Selected.Name].Character.HumanoidRootPart.Velocity
  78.  
  79.             game.Players[Aiming.Selected.Name].Character.HumanoidRootPart.Velocity = Vector3.new(oldVel.X, -0, oldVel.Z)
  80.  
  81.         end
  82.  
  83.     end
  84.  
  85. end)
  86.  
  87.  
  88.  
  89. local Script = {Functions = {}}
  90.  
  91.  
  92.  
  93. Script.Functions.getToolName = function(name)
  94.  
  95.     local split = string.split(string.split(name, "[")[2], "]")[1]
  96.  
  97.     return split
  98.  
  99. end
  100.  
  101.  
  102.  
  103. Script.Functions.getEquippedWeaponName = function(player)
  104.  
  105.    if (player.Character) and player.Character:FindFirstChildWhichIsA("Tool") then
  106.  
  107.       local Tool =  player.Character:FindFirstChildWhichIsA("Tool")
  108.  
  109.       if string.find(Tool.Name, "%[") and string.find(Tool.Name, "%]") and not string.find(Tool.Name, "Wallet") and not string.find(Tool.Name, "Phone") then
  110.  
  111.          return Script.Functions.getToolName(Tool.Name)
  112.  
  113.       end
  114.  
  115.    end
  116.  
  117.    return nil
  118.  
  119. end
  120.  
  121.  
  122.  
  123. game:GetService("RunService").RenderStepped:Connect(function()
  124.  
  125.     if Script.Functions.getEquippedWeaponName(game.Players.LocalPlayer) ~= nil then
  126.  
  127.         local WeaponSettings = GunSettings[Script.Functions.getEquippedWeaponName(game.Players.LocalPlayer)]
  128.  
  129.         if WeaponSettings ~= nil then
  130.  
  131.             Aiming.FOV = WeaponSettings.FOV
  132.  
  133.         else
  134.  
  135.             Aiming.FOV = 5
  136.  
  137.         end
  138.  
  139.     end    
  140.  
  141. end)
  142.  
  143. local __index
  144.  
  145. __index = hookmetamethod(game, "__index", function(t, k)
  146.  
  147.     if (t:IsA("Mouse") and (k == "Hit" or k == "Target") and Aiming.Check()) then
  148.  
  149.         local SelectedPart = Aiming.SelectedPart
  150.  
  151.         if (DaHoodSettings.SilentAim and (k == "Hit" or k == "Target")) then
  152.  
  153.             local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
  154.  
  155.             return (k == "Hit" and Hit or SelectedPart)
  156.  
  157.         end
  158.  
  159.     end
  160.  
  161.  
  162.  
  163.     return __index(t, k)
  164.  
  165. end)
  166.  
  167.  
  168.  
  169. RunService:BindToRenderStep("AimLock", 0, function()
  170.  
  171.     if (DaHoodSettings.AimLock and Aiming.Check() and UserInputService:IsKeyDown(DaHoodSettings.AimLockKeybind)) then
  172.  
  173.         local SelectedPart = Aiming.SelectedPart
  174.  
  175.         local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
  176.  
  177.         CurrentCamera.CFrame = CFrame.lookAt(CurrentCamera.CFrame.Position, Hit.Position)
  178.  
  179.     end
  180. end)
  181. --                    $$\                               $$\   $$\                                           $$\          
  182. --                    \__|                              $$ |  $$ |                                          $$ |          
  183. -- $$$$$$\   $$$$$$\  $$\ $$$$$$\$$$$\   $$$$$$\        \$$\ $$  |      $$$$$$$$\  $$$$$$\  $$$$$$$\   $$$$$$$ | $$$$$$\  
  184. --$$  __$$\ $$  __$$\ $$ |$$  _$$  _$$\ $$  __$$\        \$$$$  /       \____$$  |$$  __$$\ $$  __$$\ $$  __$$ |$$  __$$\
  185. --$$ /  $$ |$$ |  \__|$$ |$$ / $$ / $$ |$$$$$$$$ |       $$  $$<          $$$$ _/ $$$$$$$$ |$$ |  $$ |$$ /  $$ |$$ /  $$ |
  186. --$$ |  $$ |$$ |      $$ |$$ | $$ | $$ |$$   ____|      $$  /\$$\        $$  _/   $$   ____|$$ |  $$ |$$ |  $$ |$$ |  $$ |
  187. --$$$$$$$  |$$ |      $$ |$$ | $$ | $$ |\$$$$$$$\       $$ /  $$ |      $$$$$$$$\ \$$$$$$$\ $$ |  $$ |\$$$$$$$ |\$$$$$$  |
  188. --$$  ____/ \__|      \__|\__| \__| \__| \_______|      \__|  \__|      \________| \_______|\__|  \__| \_______| \______/
  189. --$$ |                                                                                                                    
  190. --$$ |                                                                                                                    
  191. --\__|