Advertisement
flubbadub

HOWL.CC

Jul 30th, 2024
17,980
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.16 KB | None | 0 0
  1. getgenv().Howl = {
  2. Aimbot = {
  3. Keybind = Enum.KeyCode.C,
  4. AimBotSkid = 0.187,
  5. Prediction = 0.1247724521,
  6.  
  7. ShakeEnabled = false,
  8. Shake = 0,
  9.  
  10. Amount = 0.160145,
  11. Style = "Back",
  12. Direction = "Inout",
  13.  
  14. TargetPart = "HumanoidRootPart",
  15.  
  16. },
  17. ['HitBox'] = {
  18. Part = "HumanoidRootPart",
  19. },
  20. ['Resolver'] = {
  21. Enabled = true,
  22. },
  23. ['Silent'] = {
  24. Prediction = 0.1279,
  25. Detection = {Close = 27, Mid = 38, Far = math.huge},
  26. },
  27. ['SpecificDis'] = {
  28. Enabled = true,
  29. Prediction = {
  30. Close = 0.116243115666,
  31. Mid = 0.1188237,
  32. Far = 0.1224451,
  33. },
  34. },
  35. ['OffSets'] = {
  36. Jump = {Amount = 0.90},
  37. Fall = {Amount = -1.50},
  38. },
  39. ['FieldOfView'] = {
  40. Enabled = false,
  41. Size = 240,
  42. Color = Color3.fromRGB(255, 255, 255),
  43. Transparency = 1,
  44. Filled = false,
  45. },
  46. ['Air'] = {
  47. Enabled = true,
  48. AirPart = "Head",
  49. },
  50. ['Checks'] = {
  51. TargetDeath = true,
  52. PlayerDeath = true,
  53. PlayerDeath = true,
  54. },
  55.  
  56. ['Macro'] = {
  57. Enabled = false,
  58. Keybind = "x",
  59. Speed = 0.0200,
  60. Type = "Third", -- "First", "Third"
  61. },
  62.  
  63. ['Spin'] = {
  64. Enabled = true,
  65. SpinSpeed = 4900,
  66. Degrees = 360,
  67. Keybind = Enum.KeyCode.V,
  68. },
  69. }
  70.  
  71.  
  72.  
  73. if (not getgenv().Loaded) then
  74. local userInputService = game:GetService("UserInputService")
  75.  
  76. local function CheckAnti(Plr) -- // Anti-aim detection
  77. if Plr.Character.HumanoidRootPart.Velocity.Y < -70 then
  78. return true
  79. elseif Plr and (Plr.Character.HumanoidRootPart.Velocity.X > 450 or Plr.Character.HumanoidRootPart.Velocity.X < -35) then
  80. return true
  81. elseif Plr and Plr.Character.HumanoidRootPart.Velocity.Y > 60 then
  82. return true
  83. elseif Plr and (Plr.Character.HumanoidRootPart.Velocity.Z > 35 or Plr.Character.HumanoidRootPart.Velocity.Z < -35) then
  84. return true
  85. else
  86. return false
  87. end
  88. end
  89.  
  90. local function getnamecall()
  91. if game.PlaceId == 2788229376 or game.PlaceId == 7213786345 or game.PlaceId == 16033173781 or game.PlaceId == 16158576873 then
  92. return "UpdateMousePosI"
  93. elseif game.PlaceId == 5602055394 or game.PlaceId == 7951883376 then
  94. return "MousePos"
  95. elseif game.PlaceId == 9825515356 then
  96. return "GetMousePos"
  97. end
  98. end
  99.  
  100. function MainEventLocate()
  101. for _,v in pairs(game:GetService("ReplicatedStorage"):GetDescendants()) do
  102. if v.Name == "MainEvent" then
  103. return v
  104. end
  105. end
  106. end
  107.  
  108. local Locking = false
  109. local Players = game:GetService("Players")
  110. local Client = Players.LocalPlayer
  111. local Plr = nil -- Initialize Plr here
  112.  
  113. -- 360 on bind
  114. local UserInputService = game:GetService("UserInputService")
  115. local RunService = game:GetService("RunService")
  116. local Camera = workspace.CurrentCamera
  117. local Toggle = false -- Initialize Toggle to false
  118.  
  119. local function OnKeyPress(Input, GameProcessedEvent)
  120. if Input.KeyCode == getgenv().Howl.Aimbot.Keybind and not GameProcessedEvent then
  121. Toggle = not Toggle
  122. elseif Input.KeyCode == getgenv().Howl.Macro.SpeedGlitchKey then
  123. if getgenv().Howl.Macro.Enabled then
  124. getgenv().Howl.Macro.SpeedGlitch = not getgenv().Howl.Macro.SpeedGlitch
  125. if getgenv().Howl.Macro.SpeedGlitch then
  126. repeat
  127. game:GetService("RunService").Heartbeat:Wait()
  128. keypress(0x49)
  129. game:GetService("RunService").Heartbeat:Wait()
  130. keypress(0x4F)
  131. game:GetService("RunService").Heartbeat:Wait()
  132. keyrelease(0x49)
  133. game:GetService("RunService").Heartbeat:Wait()
  134. keyrelease(0x4F)
  135. game:GetService("RunService").Heartbeat:Wait()
  136. until not getgenv().Howl.Macro.SpeedGlitch
  137. end
  138. end
  139. end
  140. end
  141.  
  142. UserInputService.InputBegan:Connect(OnKeyPress)
  143.  
  144. UserInputService.InputBegan:Connect(function(keygo, ok)
  145. if (not ok) then
  146. if (keygo.KeyCode == getgenv().Howl.Aimbot.Keybind) then
  147. Locking = not Locking
  148. if Locking then
  149. Plr = getClosestPlayerToCursor()
  150. elseif not Locking then
  151. if Plr then
  152. Plr = nil
  153. end
  154. end
  155. end
  156. end
  157. end)
  158.  
  159. function getClosestPlayerToCursor()
  160. local closestDist = math.huge
  161. local closestPlr = nil
  162. for _, v in ipairs(Players:GetPlayers()) do
  163. if v ~= Client and v.Character and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health > 0 then
  164. local screenPos, cameraVisible = workspace.CurrentCamera:WorldToViewportPoint(v.Character.HumanoidRootPart.Position)
  165. if cameraVisible then
  166. local distToMouse = (Vector2.new(UserInputService:GetMouseLocation().X, UserInputService:GetMouseLocation().Y) - Vector2.new(screenPos.X, screenPos.Y)).Magnitude
  167. if distToMouse < closestDist then
  168. closestPlr = v
  169. closestDist = distToMouse
  170. end
  171. end
  172. end
  173. end
  174. return closestPlr
  175. end
  176.  
  177. function getClosestPartToCursor(Player)
  178. local closestPart, closestDist = nil, math.huge
  179. if Player.Character and Player.Character:FindFirstChild("Humanoid") and Player.Character:FindFirstChild("Head") and Player.Character.Humanoid.Health ~= 0 and Player.Character:FindFirstChild("HumanoidRootPart") then
  180. for i, part in pairs(Player.Character:GetChildren()) do
  181. if part:IsA("BasePart") then
  182. local screenPos, cameraVisible = workspace.CurrentCamera:WorldToViewportPoint(part.Position)
  183. local distToMouse = (Vector2.new(UserInputService:GetMouseLocation().X, UserInputService:GetMouseLocation().Y) - Vector2.new(screenPos.X, screenPos.Y)).Magnitude
  184. if distToMouse < closestDist and table.find(getgenv().Howl.Aimbot.MultipleTargetPart, part.Name) then
  185. closestPart = part
  186. closestDist = distToMouse
  187. end
  188. end
  189. end
  190. return closestPart
  191. end
  192. end
  193.  
  194. game:GetService("RunService").RenderStepped:Connect(function()
  195. if Plr and Plr.Character then
  196. if getgenv().Howl.Aimbot.NearestPart == true and getgenv().Howl.Aimbot.Basic == false then
  197. getgenv().Howl.Aimbot.TargetPart = tostring(getClosestPartToCursor(Plr))
  198. elseif getgenv().Howl.Aimbot.Basic == true and getgenv().Howl.Aimbot.NearestPart == false then
  199. getgenv().Howl.Aimbot.TargetPart = getgenv().Howl.Aimbot.TargetPart
  200. end
  201. end
  202. end)
  203.  
  204. local function getVelocity(Player)
  205. local Old = Player.Character.HumanoidRootPart.Position
  206. wait(0.145)
  207. local Current = Player.Character.HumanoidRootPart.Position
  208. return (Current - Old) / 0.145
  209. end
  210.  
  211. local function GetShakedVector3(Setting)
  212. return Vector3.new(math.random(-Setting * 1e9, Setting * 1e9), math.random(-Setting * 1e9, Setting * 1e9), math.random(-Setting * 1e9, Setting * 1e9)) / 1e9;
  213. end
  214.  
  215. local v = nil
  216. game:GetService("RunService").Heartbeat:Connect(function(deltaTime)
  217. if Plr ~= nil and Plr.Character and Plr.Character:FindFirstChild("HumanoidRootPart") then
  218. v = getVelocity(Plr)
  219. end
  220. end)
  221.  
  222. local mainevent = game:GetService("ReplicatedStorage").MainEvent
  223.  
  224. Client.Character.ChildAdded:Connect(function(child)
  225. if child:IsA("Tool") and child:FindFirstChild("MaxAmmo") then
  226. child.Activated:Connect(function()
  227. if Plr and Plr.Character then
  228. local Position = Plr.Character.Humanoid:GetState() == Enum.HumanoidStateType.Freefall and Plr.Character[getgenv().Howl.Aimbot.TargetPart].Position + Vector3.new(0, getgenv().Howl.Aimbot.JumpOffset, 0) or Plr.Character[getgenv().Howl.Aimbot.TargetPart].Position
  229. if game.PlaceId == 2788229376 or game.PlaceId == 7213786345 or game.PlaceId == 16033173781 or game.PlaceId == 16158576873 then
  230. mainevent:FireServer("UpdateMousePosI", Position + ((Plr.Character.HumanoidRootPart.Velocity) * getgenv().Howl.Aimbot.Prediction))
  231. else
  232. mainevent:FireServer("UpdateMousePos", Position + ((Plr.Character.Humanoid.MoveDirection * Plr.Character.Humanoid.WalkSpeed) * getgenv().Howl.Aimbot.Prediction))
  233. end
  234. end
  235. end)
  236. end
  237. end)
  238.  
  239. Client.CharacterAdded:Connect(function(character)
  240. character.ChildAdded:Connect(function(child)
  241. if child:IsA("Tool") and child:FindFirstChild("MaxAmmo") then
  242. child.Activated:Connect(function()
  243. if Plr and Plr.Character then
  244. local Position = Plr.Character.Humanoid:GetState() == Enum.HumanoidStateType.Freefall and Plr.Character[getgenv().Howl.Aimbot.TargetPart].Position + Vector3.new(0, getgenv().Howl.Aimbot.JumpOffset, 0) or Plr.Character[getgenv().Howl.Aimbot.TargetPart].Position
  245. if game.PlaceId == 2788229376 or game.PlaceId == 7213786345 or game.PlaceId == 16033173781 or game.PlaceId == 16158576873 then
  246. mainevent:FireServer("UpdateMousePosI", Position + ((Plr.Character.HumanoidRootPart.Velocity) * getgenv().Howl.Aimbot.Prediction))
  247. else
  248. mainevent:FireServer("UpdateMousePos", Position + ((Plr.Character.Humanoid.MoveDirection * Plr.Character.Humanoid.WalkSpeed) * getgenv().Howl.Aimbot.Prediction))
  249. end
  250. end
  251. end)
  252. end
  253. end)
  254. end)
  255.  
  256. game:GetService("RunService").RenderStepped:Connect(function()
  257. if Plr ~= nil and Plr.Character then
  258. local Position = Plr.Character.Humanoid:GetState() == Enum.HumanoidStateType.Freefall and Plr.Character[getgenv().Howl.Aimbot.TargetPart].Position + Vector3.new(0, getgenv().Howl.Aimbot.JumpOffset, 0) or Plr.Character[getgenv().Howl.Aimbot.TargetPart].Position
  259. if not CheckAnti(Plr) then
  260. local Main = CFrame.new(workspace.CurrentCamera.CFrame.p, Position + ((Plr.Character.HumanoidRootPart.Velocity) * getgenv().Howl.Aimbot.AimBotSkid) + GetShakedVector3(getgenv().Howl.Aimbot.Shake))
  261. workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame:Lerp(Main, getgenv().Howl.Aimbot.Amount, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
  262. else
  263. local Main = CFrame.new(workspace.CurrentCamera.CFrame.p, Position + ((Plr.Character.Humanoid.MoveDirection * Plr.Character.Humanoid.WalkSpeed) * getgenv().Howl.Aimbot.AimBotSkid) + GetShakedVector3(getgenv().Howl.Aimbot.CameraShake))
  264. workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame:Lerp(Main, getgenv().Howl.Aimbot.Amount, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
  265. end
  266. end
  267. if getgenv().Howl.Checks.PlayerDeath == true and Plr and Plr.Character then
  268. local KOd = Plr.Character:WaitForChild("BodyEffects")["K.O"].Value
  269. local Grabbed = Plr.Character:FindFirstChild("GRABBING_CONSTRAINT") ~= nil
  270. if Plr.Character.Humanoid.Health < 1 or KOd or Grabbed then
  271. if Locking == true then
  272. Plr = nil
  273. Locking = false
  274. end
  275. end
  276. end
  277. if getgenv().Howl.Checks.TargetDeath == true and Plr and Plr.Character:FindFirstChild("Humanoid") then
  278. if Plr.Character.Humanoid.health < 1 then
  279. if Locking == true then
  280. Plr = nil
  281. Locking = false
  282. end
  283. end
  284. end
  285. if getgenv().Howl.Checks.PlayerDeath == true and Client.Character and Client.Character:FindFirstChild("Humanoid") and Client.Character.Humanoid.health < 1 then
  286. if Locking == true then
  287. Plr = nil
  288. Locking = false
  289. end
  290. end
  291. if getgenv().Howl.Safety.AntiGroundShots == true and Plr.Character.Humanoid.Jump == true and Plr.Character.Humanoid.FloorMaterial == Enum.Material.Air then
  292. pcall(function()
  293. local TargetVelv5 = Plr.Character.HumanoidRootPart
  294. TargetVelv5.Velocity = Vector3.new(TargetVelv5.Velocity.X, math.abs(TargetVelv5.Velocity.Y * 0.36),
  295. TargetVelv5.Velocity.Z)
  296. TargetVelv5.AssemblyLinearVelocity = Vector3.new(TargetVelv5.Velocity.X, math.abs(TargetVelv5.Velocity.Y * 0.36), TargetVelv5.Velocity.Z)
  297. end)
  298. end
  299. end)
  300.  
  301. if getgenv().Howl.Spin.Enabled == true then
  302.  
  303. local Players = game:GetService("Players")
  304. local UserInputService = game:GetService("UserInputService")
  305. local RunService = game:GetService("RunService")
  306. local Camera = workspace.CurrentCamera
  307. local Toggle = getgenv().Howl.Spin.Enabled
  308. local RotationSpeed = getgenv().Howl.Spin.SpinSpeed
  309. local Keybind = getgenv().Howl.Spin.Keybind
  310.  
  311. local function OnKeyPress(Input, GameProcessedEvent)
  312. if Input.KeyCode == Keybind and not GameProcessedEvent then
  313. Toggle = not Toggle
  314. end
  315. end
  316.  
  317. UserInputService.InputBegan:Connect(OnKeyPress)
  318.  
  319. local LastRenderTime = 0
  320. local TotalRotation = 0
  321.  
  322. local function RotateCamera()
  323. if Toggle then
  324. local CurrentTime = tick()
  325. local TimeDelta = math.min(CurrentTime - LastRenderTime, 0.01)
  326. LastRenderTime = CurrentTime
  327.  
  328. local RotationAngle = RotationSpeed * TimeDelta
  329. local Rotation = CFrame.fromAxisAngle(Vector3.new(0, 1, 0), math.rad(RotationAngle))
  330. Camera.CFrame = Camera.CFrame * Rotation
  331.  
  332. TotalRotation = TotalRotation + RotationAngle
  333. if TotalRotation >= getgenv().Howl.Spin.Degrees then
  334. Toggle = false
  335. TotalRotation = 0
  336. end
  337. end
  338. end
  339.  
  340. RunService.RenderStepped:Connect(RotateCamera)
  341. end
  342.  
  343. getgenv().Loaded = true -- end of the script
  344. else
  345. game:GetService("StarterGui"):SetCore("SendNotification", {
  346. Title = "Howl",
  347. Text = "Updated Table",
  348. Duration = 0.001
  349. })
  350. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement