humanoidsofsandara

combo da hood scripts(1)

Jul 16th, 2024
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.21 KB | None | 0 0
  1.  
  2. --[[
  3. WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
  4. ]]
  5. _G.Toggles = "V" -- You can put any keybind
  6. loadstring(game:HttpGet("https://raw.githubusercontent.com/NighterEpic/Faded/main/YesEpic", true))()
  7.  
  8.  
  9. --SpoiledRotten runs you
  10. --Made by SpoiledRotten#3806
  11.  
  12. getgenv().Prediction = 0.15038
  13. getgenv().AimPart = "HumanoidRootPart"
  14. getgenv().Key = "u"
  15. getgenv().DisableKey = "P"
  16.  
  17. getgenv().FOV = true
  18. getgenv().ShowFOV = false
  19. getgenv().FOVSize = 55
  20.  
  21. --// Variables (Service)
  22.  
  23. local Players = game:GetService("Players")
  24. local RS = game:GetService("RunService")
  25. local WS = game:GetService("Workspace")
  26. local GS = game:GetService("GuiService")
  27. local SG = game:GetService("StarterGui")
  28.  
  29. --// Variables (regular)
  30.  
  31. local LP = Players.LocalPlayer
  32. local Mouse = LP:GetMouse()
  33. local Camera = WS.CurrentCamera
  34. local GetGuiInset = GS.GetGuiInset
  35.  
  36. local AimlockState = true
  37. local Locked
  38. local Victim
  39.  
  40. local SelectedKey = getgenv().Key
  41. local SelectedDisableKey = getgenv().DisableKey
  42.  
  43. --// Notification function
  44.  
  45. function Notify(tx)
  46. SG:SetCore("SendNotification", {
  47. Title = "Enabled ✔ | SpoiledRotten#3806",
  48. Text = tx,
  49. Duration = 5
  50. })
  51. end
  52.  
  53. --// Check if aimlock is loaded
  54.  
  55. if getgenv().Loaded == true then
  56. Notify("Aimlock is already loaded!")
  57. return
  58. end
  59.  
  60. getgenv().Loaded = true
  61.  
  62. --// FOV Circle
  63.  
  64. local fov = Drawing.new("Circle")
  65. fov.Filled = false
  66. fov.Transparency = 1
  67. fov.Thickness = 1
  68. fov.Color = Color3.fromRGB(255, 255, 0)
  69. fov.NumSides = 1000
  70.  
  71. --// Functions
  72.  
  73. function update()
  74. if getgenv().FOV == true then
  75. if fov then
  76. fov.Radius = getgenv().FOVSize * 2
  77. fov.Visible = getgenv().ShowFOV
  78. fov.Position = Vector2.new(Mouse.X, Mouse.Y + GetGuiInset(GS).Y)
  79.  
  80. return fov
  81. end
  82. end
  83. end
  84.  
  85. function WTVP(arg)
  86. return Camera:WorldToViewportPoint(arg)
  87. end
  88.  
  89. function WTSP(arg)
  90. return Camera.WorldToScreenPoint(Camera, arg)
  91. end
  92.  
  93. function getClosest()
  94. local closestPlayer
  95. local shortestDistance = math.huge
  96.  
  97. for i, v in pairs(game.Players:GetPlayers()) do
  98. local notKO = v.Character:WaitForChild("BodyEffects")["K.O"].Value ~= true
  99. local notGrabbed = v.Character:FindFirstChild("GRABBING_COINSTRAINT") == nil
  100.  
  101. if v ~= game.Players.LocalPlayer and v.Character and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health ~= 0 and v.Character:FindFirstChild(getgenv().AimPart) and notKO and notGrabbed then
  102. local pos = Camera:WorldToViewportPoint(v.Character.PrimaryPart.Position)
  103. local magnitude = (Vector2.new(pos.X, pos.Y) - Vector2.new(Mouse.X, Mouse.Y)).magnitude
  104.  
  105. if (getgenv().FOV) then
  106. if (fov.Radius > magnitude and magnitude < shortestDistance) then
  107. closestPlayer = v
  108. shortestDistance = magnitude
  109. end
  110. else
  111. if (magnitude < shortestDistance) then
  112. closestPlayer = v
  113. shortestDistance = magnitude
  114. end
  115. end
  116. end
  117. end
  118. return closestPlayer
  119. end
  120.  
  121. --// Checks if key is down
  122.  
  123. Mouse.KeyDown:Connect(function(k)
  124. SelectedKey = SelectedKey:lower()
  125. SelectedDisableKey = SelectedDisableKey:lower()
  126. if k == SelectedKey then
  127. if AimlockState == true then
  128. Locked = not Locked
  129. if Locked then
  130. Victim = getClosest()
  131.  
  132. Notify("Locked onto: "..tostring(Victim.Character.Humanoid.DisplayName))
  133. else
  134. if Victim ~= nil then
  135. Victim = nil
  136.  
  137. Notify("Unlocked!")
  138. end
  139. end
  140. else
  141. Notify("Aimlock is not enabled!")
  142. end
  143. end
  144. if k == SelectedDisableKey then
  145. AimlockState = not AimlockState
  146. end
  147. end)
  148.  
  149. --// Loop update FOV and loop camera lock onto target
  150.  
  151. RS.RenderStepped:Connect(function()
  152. update()
  153. if AimlockState == true then
  154. if Victim ~= nil then
  155. Camera.CFrame = CFrame.new(Camera.CFrame.p, Victim.Character[getgenv().AimPart].Position + Victim.Character[getgenv().AimPart].Velocity*getgenv().Prediction)
  156. end
  157. end
  158. end)
  159. while wait() do
  160. if getgenv().AutoPrediction == true then
  161. local pingvalue = game:GetService("Stats").Network.ServerStatsItem["Data Ping"]:GetValueString()
  162. local split = string.split(pingvalue,'(')
  163. local ping = tonumber(split[1])
  164. if ping < 225 then
  165. getgenv().Prediction = 1.4
  166. elseif ping < 215 then
  167. getgenv().Prediction = 1.2
  168. elseif ping < 205 then
  169. getgenv().Prediction = 1.0
  170. elseif ping < 190 then
  171. getgenv().Prediction = 0.10
  172. elseif ping < 180 then
  173. getgenv().Prediction = 0.12
  174. elseif ping < 170 then
  175. getgenv().Prediction = 0.15
  176. elseif ping < 160 then
  177. getgenv().Prediction = 0.18
  178. elseif ping < 150 then
  179. getgenv().Prediction = 0.110
  180. elseif ping < 140 then
  181. getgenv().Prediction = 0.113
  182. elseif ping < 130 then
  183. getgenv().Prediction = 0.116
  184. elseif ping < 120 then
  185. getgenv().Prediction = 0.120
  186. elseif ping < 110 then
  187. getgenv().Prediction = 0.124
  188. elseif ping < 105 then
  189. getgenv().Prediction = 0.127
  190. elseif ping < 90 then
  191. getgenv().Prediction = 0.130
  192. elseif ping < 80 then
  193. getgenv().Prediction = 0.133
  194. elseif ping < 70 then
  195. getgenv().Prediction = 0.136
  196. elseif ping < 60 then
  197. getgenv().Prediction = 0.15038
  198. elseif ping < 50 then
  199. getgenv().Prediction = 0.15038
  200. elseif ping < 40 then
  201. getgenv().Prediction = 0.145
  202. elseif ping < 30 then
  203. getgenv().Prediction = 0.155
  204. elseif ping < 20 then
  205. getgenv().Prediction = 0.157
  206. end
  207. end
  208. end
  209.  
  210. loadstring(game:HttpGet('https://raw.githubusercontent.com/lerkermer/lua-projects/master/SwagModeV002'))()
Advertisement
Add Comment
Please, Sign In to add comment