Advertisement
ZV0K

Loni + Allah Streamable

Aug 21st, 2023
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.43 KB | None | 0 0
  1. -- // loni + allah = w script
  2. -- // loni + allah = w script
  3. -- // loni + allah = w script
  4. -- // loni + allah = w script
  5. -- // loni + allah = w script
  6. -- // loni + allah = w script
  7. -- // loni + allah = w script
  8. -- // loni + allah = w script
  9. -- // loni + allah = w script
  10. -- // loni + allah = w script
  11. -- // loni + allah = w script
  12. -- // loni + allah = w script
  13. -- // loni + allah = w script
  14. -- // loni + allah = w script
  15. -- // loni + allah = w script
  16. -- // loni + allah = w script
  17. -- // loni + allah = w script
  18. -- // loni + allah = w script
  19. -- // loni + allah = w script
  20. -- // loni + allah = w script
  21. -- // loni + allah = w script
  22. -- // loni + allah = w script
  23.  
  24.  
  25.  
  26. --█████████████████████████████
  27. --█▄─▄███─▄▄─█▄─▀█▄─▄█▄─▄█▀▄▄▀█ :)
  28. --██─██▀█─██─██─█▄▀─███─████▄██ :)
  29. --▀▄▄▄▄▄▀▄▄▄▄▀▄▄▄▀▀▄▄▀▄▄▄▀▀▀▄▀▀
  30.  
  31.  
  32. _G.PRED = 0.0345
  33.  
  34. local Aiming = loadstring(game:HttpGet("https://raw.githubusercontent.com/Stefanuk12/Aiming/main/Examples/AimLock.lua"))()
  35. local AimingChecks = Aiming.Checks
  36. local AimingSelected = Aiming.Selected
  37. local AimLockSettings = Aiming.AimLock
  38.  
  39. Aiming.Settings.FOVSettings.Scale = 100 -- fov
  40. Aiming.ShowCredits = true
  41. Aiming.HitChance = 100 -- Hitchance
  42. Aiming.Settings.FOVSettings.Enabled = true
  43. Aiming.Settings.TracerSettings.Enabled = true
  44. Aiming.UpdateFOV()
  45. Aiming.TargetParts = {"Head","UpperTorso","LowerTorso","RightUpperLeg","LeftUpperLeg","LeftLowerLeg","RightLowerLeg","RightFoot","LeftFoot"}
  46. Aiming.UpdateTracer()
  47. Aiming.AimLock.Enabled = false
  48.  
  49. -- // Services
  50. local Workspace = game:GetService("Workspace")
  51.  
  52. -- // Vars
  53. local CurrentCamera = Workspace.CurrentCamera
  54.  
  55. local DaHoodSettings = {
  56. Prediction = 0.165,
  57.  
  58. SilentAim = true,
  59.  
  60. AimLock = AimLockSettings,
  61. BeizerLock = {
  62. Smoothness = 0.05,
  63. CurvePoints = {
  64. Vector2.new(0.83, 0),
  65. Vector2.new(0.17, 1)
  66. }
  67. }
  68. }
  69. getgenv().DaHoodSettings = DaHoodSettings
  70.  
  71. -- //
  72. local function ApplyPredictionFormula(SelectedPart)
  73. return SelectedPart.CFrame + (SelectedPart.Velocity * DaHoodSettings.Prediction)
  74. end
  75.  
  76. -- // Hook
  77. local __index
  78. __index = hookmetamethod(game, "__index", function(t, k)
  79. -- // Check if it trying to get our mouse's hit or target and see if we can use it
  80. if (t:IsA("Mouse") and (k == "Hit" or k == "Target") and AimingChecks.IsAvailable() and DaHoodSettings.SilentAim) then
  81. -- // Vars
  82. local SelectedPart = AimingSelected.Part
  83. local Hit = ApplyPredictionFormula(SelectedPart)
  84.  
  85. -- // Return modded val
  86. return (k == "Hit" and Hit or SelectedPart)
  87. end
  88.  
  89. -- // Return
  90. return __index(t, k)
  91. end)
  92.  
  93. -- // Aimlock
  94. function AimLockSettings.AimLockPosition(CameraMode)
  95. -- // Vars
  96. local Position
  97. local BeizerData = {}
  98.  
  99. -- // Hit to account prediction
  100. local Hit = ApplyPredictionFormula(AimingSelected.Part)
  101. local HitPosition = Hit.Position
  102.  
  103. -- //
  104. if (CameraMode) then
  105. Position = HitPosition
  106. else
  107. -- // Convert 3d -> 2d
  108. local Vector, _ = CurrentCamera:WorldToViewportPoint(HitPosition)
  109. local Vector2D = Vector2.new(Vector.X, Vector.Y)
  110.  
  111. -- // Vars
  112. local BeizerLock = DaHoodSettings.BeizerLock
  113.  
  114. -- //
  115. Position = Vector2D
  116. BeizerData = {
  117. Smoothness = BeizerLock.Smoothness,
  118. CurvePoints = BeizerLock.CurvePoints
  119. }
  120. end
  121.  
  122. -- // Return
  123. return Position, BeizerData
  124. end
  125.  
  126. local player = game.Players.LocalPlayer
  127. local mouse = player:GetMouse()
  128.  
  129. mouse.KeyDown:Connect(function(key)
  130.  
  131. if key == "v" then
  132.  
  133.  
  134.  
  135. if DaHoodSettings.SilentAim == false then
  136.  
  137. DaHoodSettings.SilentAim = true
  138.  
  139. else
  140.  
  141. DaHoodSettings.SilentAim = false
  142.  
  143. end
  144.  
  145. end
  146.  
  147.  
  148. end)
  149.  
  150. local ping
  151. local Value
  152. local pingValue
  153. local PingNumber
  154.  
  155. game:GetService("RunService").RenderStepped:Connect(function()
  156.  
  157. ping = game:GetService("Stats").Network.ServerStatsItem["Data Ping"]:GetValueString()
  158. Value = tostring(ping)
  159. pingValue = Value:split(" ")
  160. PingNumber = pingValue[1]
  161.  
  162. DaHoodSettings.Prediction = PingNumber / 1000 + _G.PRED
  163. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement