Advertisement
Guest User

yon hub leak

a guest
Jul 21st, 2024
474
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 84.31 KB | None | 0 0
  1. local CX = game:GetService("ContentProvider")
  2. local isComingFromExecutor = checkcaller()
  3. local PreloadAsync = CX.PreloadAsync
  4.  
  5. local ErrorScript = game:GetService("ReplicatedFirst"):FindFirstChild("LocalScript")
  6.  
  7. if ErrorScript then
  8. ErrorScript:Destroy()
  9. end
  10.  
  11. local Old;
  12.  
  13. Old = hookfunction(PreloadAsync, function(...) -- // hook function // --
  14. if not (isComingFromExecutor) then -- // is not coming from our executor // --
  15. warn("Tried to detect your UI")
  16. return wait(9e9) --// will wait infinietly instead of actually detecting //--
  17. end
  18. return Old(...) ---// return the spoofed value //---
  19. end)
  20.  
  21. local Players = game:GetService("Players")
  22. local RunService = game:GetService("RunService")
  23. local localPlr = Players.LocalPlayer
  24. local ScreenGui = Instance.new("ScreenGui")
  25. local MainFrame = Instance.new("Frame")
  26. local UICorner = Instance.new("UICorner")
  27. local DropShadowHolder = Instance.new("Frame")
  28. local DropShadow = Instance.new("ImageLabel")
  29. local ThrowType = Instance.new("Frame")
  30. local Line = Instance.new("Frame")
  31. local AirTime = Instance.new("Frame")
  32. local UIAspectRatioConstraint = Instance.new("UIAspectRatioConstraint")
  33. local JusAText = Instance.new("TextLabel")
  34. local ThrowType_2 = Instance.new("TextLabel")
  35. local Z = Instance.new("TextLabel")
  36. local Angle = Instance.new("Frame")
  37. local Line_2 = Instance.new("Frame")
  38. local UIAspectRatioConstraint_2 = Instance.new("UIAspectRatioConstraint")
  39. local JustAText_2 = Instance.new("TextLabel")
  40. local AngleNumber = Instance.new("TextLabel")
  41. local R = Instance.new("TextLabel")
  42. local F = Instance.new("TextLabel")
  43. local UIAspectRatioConstraint_3 = Instance.new("UIAspectRatioConstraint")
  44. local Power = Instance.new("Frame")
  45. local Line_3 = Instance.new("Frame")
  46. local UIAspectRatioConstraint_4 = Instance.new("UIAspectRatioConstraint")
  47. local JustAText_3 = Instance.new("TextLabel")
  48. local PowerNumber = Instance.new("TextLabel")
  49. local X = Instance.new("TextLabel")
  50. local Z_2 = Instance.new("TextLabel")
  51. local JustAText = Instance.new("TextLabel")
  52. local TargetPlayer = Instance.new("Frame")
  53. local Line_4 = Instance.new("Frame")
  54. local UIAspectRatioConstraint_5 = Instance.new("UIAspectRatioConstraint")
  55. local JustAText_4 = Instance.new("TextLabel")
  56. local Playerrr = Instance.new("TextLabel")
  57. local Route = Instance.new("Frame")
  58. local Line_5 = Instance.new("Frame")
  59. local UIAspectRatioConstraint_6 = Instance.new("UIAspectRatioConstraint")
  60. local JustAText_5 = Instance.new("TextLabel")
  61. local RouteOK = Instance.new("TextLabel")
  62. local Int = Instance.new("Frame")
  63. local Line_6 = Instance.new("Frame")
  64. local UIAspectRatioConstraint_7 = Instance.new("UIAspectRatioConstraint")
  65. local JustAText_6 = Instance.new("TextLabel")
  66. local Intable = Instance.new("TextLabel")
  67. local Catchable = Instance.new("Frame")
  68. local JustAText_7 = Instance.new("TextLabel")
  69. local Intable_2 = Instance.new("TextLabel")
  70. local AirTimeTEXT = Instance.new("TextLabel")
  71. local UICorner_2 = Instance.new("UICorner")
  72.  
  73. -- Properties
  74.  
  75. ScreenGui.Parent = game:GetService("CoreGui")
  76. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  77. ScreenGui.Enabled = false
  78. MainFrame.Name = "MainFrame"
  79. MainFrame.Parent = ScreenGui
  80. MainFrame.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  81. MainFrame.BorderColor3 = Color3.new(0, 0, 0)
  82. MainFrame.BorderSizePixel = 0
  83. MainFrame.Position = UDim2.new(0.2319296, 0, 0, 0)
  84. MainFrame.Size = UDim2.new(0.575757563, 0, 0.0843672454, 0)
  85.  
  86. UICorner.Parent = MainFrame
  87. UICorner.CornerRadius = UDim.new(0, 3)
  88.  
  89. DropShadowHolder.Name = "DropShadowHolder"
  90. DropShadowHolder.Parent = MainFrame
  91. DropShadowHolder.BackgroundTransparency = 1
  92. DropShadowHolder.BorderSizePixel = 0
  93. DropShadowHolder.Size = UDim2.new(1, 0, 1, 0)
  94. DropShadowHolder.ZIndex = 0
  95.  
  96. DropShadow.Name = "DropShadow"
  97. DropShadow.Parent = DropShadowHolder
  98. DropShadow.AnchorPoint = Vector2.new(0.5, 0.5)
  99. DropShadow.BackgroundTransparency = 1
  100. DropShadow.BorderSizePixel = 0
  101. DropShadow.Position = UDim2.new(0.5, 0, 0.5, 0)
  102. DropShadow.Size = UDim2.new(1, 47, 1, 47)
  103. DropShadow.ZIndex = 0
  104. --DropShadow.Image = "rbxassetid://6015897843"--
  105. DropShadow.ImageColor3 = Color3.new(0, 0, 0)
  106. DropShadow.ImageTransparency = 0.5
  107. DropShadow.ScaleType = Enum.ScaleType.Slice
  108. DropShadow.SliceCenter = Rect.new(49, 49, 450, 450)
  109.  
  110. ThrowType.Name = "ThrowType"
  111. ThrowType.Parent = MainFrame
  112. ThrowType.BackgroundColor3 = Color3.new(1, 1, 1)
  113. ThrowType.BackgroundTransparency = 1
  114. ThrowType.BorderColor3 = Color3.new(0, 0, 0)
  115. ThrowType.BorderSizePixel = 0
  116. ThrowType.Size = UDim2.new(0.155746505, 0, 1, 0)
  117.  
  118. Line.Name = "Line"
  119. Line.Parent = ThrowType
  120. Line.BackgroundColor3 = Color3.new(0.3451, 0.3961, 0.9490)
  121. Line.BorderColor3 = Color3.new(0, 0, 0)
  122. Line.BorderSizePixel = 0
  123. Line.Position = UDim2.new(1, 0, 0, 0)
  124. Line.Size = UDim2.new(0.0068965517, 0, 1, 0)
  125.  
  126. UIAspectRatioConstraint.Parent = Line
  127. UIAspectRatioConstraint.AspectRatio = 0.014705882407724857
  128.  
  129. JustAText.Name = "Just A Text"
  130. JustAText.Parent = ThrowType
  131. JustAText.BackgroundColor3 = Color3.new(1, 1, 1)
  132. JustAText.BackgroundTransparency = 1
  133. JustAText.BorderColor3 = Color3.new(0, 0, 0)
  134. JustAText.BorderSizePixel = 0
  135. JustAText.Position = UDim2.new(0.255172402, 0, 0, 0)
  136. JustAText.Size = UDim2.new(0, 72, 0, 22)
  137. JustAText.Font = Enum.Font.SourceSans
  138. JustAText.Text = "Throw Type:"
  139. JustAText.TextColor3 = Color3.new(1, 1, 1)
  140. JustAText.TextSize = 20
  141.  
  142. ThrowType_2.Name = "ThrowType"
  143. ThrowType_2.Parent = ThrowType
  144. ThrowType_2.BackgroundColor3 = Color3.new(1, 1, 1)
  145. ThrowType_2.BackgroundTransparency = 1
  146. ThrowType_2.BorderColor3 = Color3.new(0, 0, 0)
  147. ThrowType_2.BorderSizePixel = 0
  148. ThrowType_2.Position = UDim2.new(0.331034482, 0, 0.411764711, 0)
  149. ThrowType_2.Size = UDim2.new(0, 49, 0, 24)
  150. ThrowType_2.Font = Enum.Font.SourceSans
  151. ThrowType_2.Text = "Mag"
  152. ThrowType_2.TextColor3 = Color3.new(0.3451, 0.3961, 0.9490)
  153. ThrowType_2.TextSize = 40
  154.  
  155. Z.Name = "Z"
  156. Z.Parent = ThrowType
  157. Z.BackgroundColor3 = Color3.new(1, 1, 1)
  158. Z.BackgroundTransparency = 1
  159. Z.BorderColor3 = Color3.new(0, 0, 0)
  160. Z.BorderSizePixel = 0
  161. Z.Position = UDim2.new(0.0620689653, 0, 0.558823526, 0)
  162. Z.Size = UDim2.new(0, 28, 0, 23)
  163. Z.Font = Enum.Font.SourceSans
  164. Z.Text = "C"
  165. Z.TextColor3 = Color3.new(0.3451, 0.3961, 0.9490)
  166. Z.TextSize = 30
  167.  
  168. Angle.Name = "Angle"
  169. Angle.Parent = MainFrame
  170. Angle.BackgroundColor3 = Color3.new(1, 1, 1)
  171. Angle.BackgroundTransparency = 1
  172. Angle.BorderColor3 = Color3.new(0, 0, 0)
  173. Angle.BorderSizePixel = 0
  174. Angle.Position = UDim2.new(0.156820625, 0, 0, 0)
  175. Angle.Size = UDim2.new(0.155746505, 0, 1, 0)
  176.  
  177. Line_2.Name = "Line"
  178. Line_2.Parent = Angle
  179. Line_2.BackgroundColor3 = Color3.new(0.3451, 0.3961, 0.9490)
  180. Line_2.BorderColor3 = Color3.new(0, 0, 0)
  181. Line_2.BorderSizePixel = 0
  182. Line_2.Position = UDim2.new(1, 0, 0, 0)
  183. Line_2.Size = UDim2.new(0.0068965517, 0, 1, 0)
  184.  
  185. UIAspectRatioConstraint_2.Parent = Line_2
  186. UIAspectRatioConstraint_2.AspectRatio = 0.014705882407724857
  187.  
  188. JustAText_2.Name = "Just A Text"
  189. JustAText_2.Parent = Angle
  190. JustAText_2.BackgroundColor3 = Color3.new(1, 1, 1)
  191. JustAText_2.BackgroundTransparency = 1
  192. JustAText_2.BorderColor3 = Color3.new(0, 0, 0)
  193. JustAText_2.BorderSizePixel = 0
  194. JustAText_2.Position = UDim2.new(0.255172402, 0, 0, 0)
  195. JustAText_2.Size = UDim2.new(0, 72, 0, 22)
  196. JustAText_2.Font = Enum.Font.SourceSans
  197. JustAText_2.Text = "Angle:"
  198. JustAText_2.TextColor3 = Color3.new(1, 1, 1)
  199. JustAText_2.TextSize = 20
  200.  
  201. AngleNumber.Name = "AngleNumber"
  202. AngleNumber.Parent = Angle
  203. AngleNumber.BackgroundColor3 = Color3.new(1, 1, 1)
  204. AngleNumber.BackgroundTransparency = 1
  205. AngleNumber.BorderColor3 = Color3.new(0, 0, 0)
  206. AngleNumber.BorderSizePixel = 0
  207. AngleNumber.Position = UDim2.new(0.331034482, 0, 0.411764711, 0)
  208. AngleNumber.Size = UDim2.new(0, 49, 0, 24)
  209. AngleNumber.Font = Enum.Font.SourceSans
  210. AngleNumber.Text = "35"
  211. AngleNumber.TextColor3 = Color3.new(0.3451, 0.3961, 0.9490)
  212. AngleNumber.TextSize = 40
  213.  
  214. R.Name = "R"
  215. R.Parent = Angle
  216. R.BackgroundColor3 = Color3.new(1, 1, 1)
  217. R.BackgroundTransparency = 1
  218. R.BorderColor3 = Color3.new(0, 0, 0)
  219. R.BorderSizePixel = 0
  220. R.Position = UDim2.new(0.710344851, 0, 0.558823526, 0)
  221. R.Size = UDim2.new(0, 28, 0, 23)
  222. R.Font = Enum.Font.SourceSans
  223. R.Text = "R"
  224. R.TextColor3 = Color3.new(0.3451, 0.3961, 0.9490)
  225. R.TextSize = 30
  226.  
  227. F.Name = "F"
  228. F.Parent = Angle
  229. F.BackgroundColor3 = Color3.new(1, 1, 1)
  230. F.BackgroundTransparency = 1
  231. F.BorderColor3 = Color3.new(0, 0, 0)
  232. F.BorderSizePixel = 0
  233. F.Position = UDim2.new(0.0620689653, 0, 0.558823526, 0)
  234. F.Size = UDim2.new(0, 28, 0, 23)
  235. F.Font = Enum.Font.SourceSans
  236. F.Text = "F"
  237. F.TextColor3 = Color3.new(0.3451, 0.3961, 0.9490)
  238. F.TextSize = 30
  239.  
  240. UIAspectRatioConstraint_3.Parent = MainFrame
  241. UIAspectRatioConstraint_3.AspectRatio = 13.691176414489746
  242.  
  243. Power.Name = "Power"
  244. Power.Parent = MainFrame
  245. Power.BackgroundColor3 = Color3.new(1, 1, 1)
  246. Power.BackgroundTransparency = 1
  247. Power.BorderColor3 = Color3.new(0, 0, 0)
  248. Power.BorderSizePixel = 0
  249. Power.Position = UDim2.new(0.31364125, 0, 0, 0)
  250. Power.Size = UDim2.new(0.155746505, 0, 1, 0)
  251.  
  252. Line_3.Name = "Line"
  253. Line_3.Parent = Power
  254. Line_3.BackgroundColor3 = Color3.new(0.3451, 0.3961, 0.9490)
  255. Line_3.BorderColor3 = Color3.new(0, 0, 0)
  256. Line_3.BorderSizePixel = 0
  257. Line_3.Position = UDim2.new(1, 0, 0, 0)
  258. Line_3.Size = UDim2.new(0.0068965517, 0, 1, 0)
  259.  
  260. UIAspectRatioConstraint_4.Parent = Line_3
  261. UIAspectRatioConstraint_4.AspectRatio = 0.014705882407724857
  262.  
  263. JustAText_3.Name = "Just A Text"
  264. JustAText_3.Parent = Power
  265. JustAText_3.BackgroundColor3 = Color3.new(1, 1, 1)
  266. JustAText_3.BackgroundTransparency = 1
  267. JustAText_3.BorderColor3 = Color3.new(0, 0, 0)
  268. JustAText_3.BorderSizePixel = 0
  269. JustAText_3.Position = UDim2.new(0.255172402, 0, 0, 0)
  270. JustAText_3.Size = UDim2.new(0, 72, 0, 22)
  271. JustAText_3.Font = Enum.Font.SourceSans
  272. JustAText_3.Text = "Power:"
  273. JustAText_3.TextColor3 = Color3.new(1, 1, 1)
  274. JustAText_3.TextSize = 20
  275.  
  276. AirTime.Name = "AirTime"
  277. AirTime.Parent = MainFrame
  278. AirTime.BackgroundColor3 = Color3.new(0.0901961, 0.0901961, 0.0901961)
  279. AirTime.BorderColor3 = Color3.new(0, 0, 0)
  280. AirTime.BorderSizePixel = 0
  281. AirTime.Position = UDim2.new(-0.192266405, 0, 0, 0)
  282. AirTime.Size = UDim2.new(0, 155, 0, 68)
  283.  
  284.  
  285.  
  286. AirTimeTEXT.Name = "AirTimeTEXT"
  287. AirTimeTEXT.Parent = AirTime
  288. AirTimeTEXT.BackgroundColor3 = Color3.new(1, 1, 1)
  289. AirTimeTEXT.BackgroundTransparency = 1
  290. AirTimeTEXT.BorderColor3 = Color3.new(0, 0, 0)
  291. AirTimeTEXT.BorderSizePixel = 0
  292. AirTimeTEXT.Position = UDim2.new(0.354838699, 0, 0.357142866, 0)
  293. AirTimeTEXT.Size = UDim2.new(0, 45, 0, 30)
  294. AirTimeTEXT.Font = Enum.Font.SourceSans
  295. AirTimeTEXT.Text = "1.50"
  296. AirTimeTEXT.TextColor3 = Color3.new(0.3451, 0.3961, 0.9490)
  297. AirTimeTEXT.TextSize = 40
  298.  
  299.  
  300. UICorner_2.Parent = AirTime
  301. UICorner_2.CornerRadius = UDim.new(0, 2)
  302.  
  303. JusAText.Name = "JusAText"
  304. JusAText.Parent = AirTime
  305. JusAText.BackgroundColor3 = Color3.new(1, 1, 1)
  306. JusAText.BackgroundTransparency = 1
  307. JusAText.BorderColor3 = Color3.new(0, 0, 0)
  308. JusAText.BorderSizePixel = 0
  309. JusAText.Position = UDim2.new(-0.148387089, 0, -0.200000003, 0)
  310. JusAText.Size = UDim2.new(0, 200, 0, 50)
  311. JusAText.Font = Enum.Font.SourceSans
  312. JusAText.Text = "Airtime:"
  313. JusAText.TextColor3 = Color3.new(1, 1, 1)
  314. JusAText.TextSize = 25
  315.  
  316.  
  317. PowerNumber.Name = "PowerNumber"
  318. PowerNumber.Parent = Power
  319. PowerNumber.BackgroundColor3 = Color3.new(1, 1, 1)
  320. PowerNumber.BackgroundTransparency = 1
  321. PowerNumber.BorderColor3 = Color3.new(0, 0, 0)
  322. PowerNumber.BorderSizePixel = 0
  323. PowerNumber.Position = UDim2.new(0.331034482, 0, 0.411764711, 0)
  324. PowerNumber.Size = UDim2.new(0, 49, 0, 24)
  325. PowerNumber.Font = Enum.Font.SourceSans
  326. PowerNumber.Text = "60"
  327. PowerNumber.TextColor3 = Color3.new(0.3451, 0.3961, 0.9490)
  328. PowerNumber.TextSize = 40
  329.  
  330. X.Name = "X"
  331. X.Parent = Power
  332. X.BackgroundColor3 = Color3.new(1, 1, 1)
  333. X.BackgroundTransparency = 1
  334. X.BorderColor3 = Color3.new(0, 0, 0)
  335. X.BorderSizePixel = 0
  336. X.Position = UDim2.new(0.751724124, 0, 0.558823526, 0)
  337. X.Size = UDim2.new(0, 28, 0, 23)
  338. X.Font = Enum.Font.SourceSans
  339. X.Text = "X"
  340. X.TextColor3 = Color3.new(0.3451, 0.3961, 0.9490)
  341. X.TextSize = 30
  342.  
  343. Z_2.Name = "Z"
  344. Z_2.Parent = Power
  345. Z_2.BackgroundColor3 = Color3.new(1, 1, 1)
  346. Z_2.BackgroundTransparency = 1
  347. Z_2.BorderColor3 = Color3.new(0, 0, 0)
  348. Z_2.BorderSizePixel = 0
  349. Z_2.Position = UDim2.new(0.0620689653, 0, 0.558823526, 0)
  350. Z_2.Size = UDim2.new(0, 28, 0, 23)
  351. Z_2.Font = Enum.Font.SourceSans
  352. Z_2.Text = "Z"
  353. Z_2.TextColor3 = Color3.new(0.3451, 0.3961, 0.9490)
  354. Z_2.TextSize = 30
  355.  
  356. TargetPlayer.Name = "TargetPlayer"
  357. TargetPlayer.Parent = MainFrame
  358. TargetPlayer.BackgroundColor3 = Color3.new(1, 1, 1)
  359. TargetPlayer.BackgroundTransparency = 1
  360. TargetPlayer.BorderColor3 = Color3.new(0, 0, 0)
  361. TargetPlayer.BorderSizePixel = 0
  362. TargetPlayer.Position = UDim2.new(0.46938777, 0, 0, 0)
  363. TargetPlayer.Size = UDim2.new(0.155746505, 0, 1, 0)
  364.  
  365. Line_4.Name = "Line"
  366. Line_4.Parent = TargetPlayer
  367. Line_4.BackgroundColor3 = Color3.new(0.3451, 0.3961, 0.9490)
  368. Line_4.BorderColor3 = Color3.new(0, 0, 0)
  369. Line_4.BorderSizePixel = 0
  370. Line_4.Position = UDim2.new(1, 0, 0, 0)
  371. Line_4.Size = UDim2.new(0.0068965517, 0, 1, 0)
  372.  
  373. UIAspectRatioConstraint_5.Parent = Line_4
  374. UIAspectRatioConstraint_5.AspectRatio = 0.014705882407724857
  375.  
  376. JustAText_4.Name = "Just A Text"
  377. JustAText_4.Parent = TargetPlayer
  378. JustAText_4.BackgroundColor3 = Color3.new(1, 1, 1)
  379. JustAText_4.BackgroundTransparency = 1
  380. JustAText_4.BorderColor3 = Color3.new(0, 0, 0)
  381. JustAText_4.BorderSizePixel = 0
  382. JustAText_4.Position = UDim2.new(0.255172402, 0, 0, 0)
  383. JustAText_4.Size = UDim2.new(0, 72, 0, 22)
  384. JustAText_4.Font = Enum.Font.SourceSans
  385. JustAText_4.Text = "TargetPlayer:"
  386. JustAText_4.TextColor3 = Color3.new(1, 1, 1)
  387. JustAText_4.TextSize = 20
  388.  
  389. Playerrr.Name = "Player"
  390. Playerrr.Parent = TargetPlayer
  391. Playerrr.BackgroundColor3 = Color3.new(1, 1, 1)
  392. Playerrr.BackgroundTransparency = 1
  393. Playerrr.BorderColor3 = Color3.new(0, 0, 0)
  394. Playerrr.BorderSizePixel = 0
  395. Playerrr.Position = UDim2.new(0.331034482, 0, 0.411764711, 0)
  396. Playerrr.Size = UDim2.new(0, 49, 0, 24)
  397. Playerrr.Font = Enum.Font.SourceSans
  398. Playerrr.Text = "RedX_12890"
  399. Playerrr.TextColor3 = Color3.new(0.3451, 0.3961, 0.9490)
  400. Playerrr.TextSize = 20
  401.  
  402. Route.Name = "Route"
  403. Route.Parent = MainFrame
  404. Route.BackgroundColor3 = Color3.new(1, 1, 1)
  405. Route.BackgroundTransparency = 1
  406. Route.BorderColor3 = Color3.new(0, 0, 0)
  407. Route.BorderSizePixel = 0
  408. Route.Position = UDim2.new(0.626208365, 0, 0, 0)
  409. Route.Size = UDim2.new(0.155746505, 0, 1, 0)
  410.  
  411. Line_5.Name = "Line"
  412. Line_5.Parent = Route
  413. Line_5.BackgroundColor3 = Color3.new(0.3451, 0.3961, 0.9490)
  414. Line_5.BorderColor3 = Color3.new(0, 0, 0)
  415. Line_5.BorderSizePixel = 0
  416. Line_5.Position = UDim2.new(1, 0, 0, 0)
  417. Line_5.Size = UDim2.new(0.0068965517, 0, 1, 0)
  418.  
  419. UIAspectRatioConstraint_6.Parent = Line_5
  420. UIAspectRatioConstraint_6.AspectRatio = 0.014705882407724857
  421.  
  422. JustAText_5.Name = "Just A Text"
  423. JustAText_5.Parent = Route
  424. JustAText_5.BackgroundColor3 = Color3.new(1, 1, 1)
  425. JustAText_5.BackgroundTransparency = 1
  426. JustAText_5.BorderColor3 = Color3.new(0, 0, 0)
  427. JustAText_5.BorderSizePixel = 0
  428. JustAText_5.Position = UDim2.new(0.255172402, 0, 0, 0)
  429. JustAText_5.Size = UDim2.new(0, 72, 0, 22)
  430. JustAText_5.Font = Enum.Font.SourceSans
  431. JustAText_5.Text = "Route:"
  432. JustAText_5.TextColor3 = Color3.new(1, 1, 1)
  433. JustAText_5.TextSize = 20
  434.  
  435. RouteOK.Name = "RouteType"
  436. RouteOK.Parent = Route
  437. RouteOK.BackgroundColor3 = Color3.new(1, 1, 1)
  438. RouteOK.BackgroundTransparency = 1
  439. RouteOK.BorderColor3 = Color3.new(0, 0, 0)
  440. RouteOK.BorderSizePixel = 0
  441. RouteOK.Position = UDim2.new(0.331034482, 0, 0.411764711, 0)
  442. RouteOK.Size = UDim2.new(0, 49, 0, 24)
  443. RouteOK.Font = Enum.Font.SourceSans
  444. RouteOK.Text = "Slant"
  445. RouteOK.TextColor3 = Color3.new(0.3451, 0.3961, 0.9490)
  446. RouteOK.TextSize = 40
  447.  
  448. Int.Name = "Int"
  449. Int.Parent = MainFrame
  450. Int.BackgroundColor3 = Color3.new(1, 1, 1)
  451. Int.BackgroundTransparency = 1
  452. Int.BorderColor3 = Color3.new(0, 0, 0)
  453. Int.BorderSizePixel = 0
  454. Int.Position = UDim2.new(0.78302902, 0, 0, 0)
  455. Int.Size = UDim2.new(0.111707851, 0, 1, 0)
  456.  
  457. Line_6.Name = "Line"
  458. Line_6.Parent = Int
  459. Line_6.BackgroundColor3 = Color3.new(0.3451, 0.3961, 0.9490)
  460. Line_6.BorderColor3 = Color3.new(0, 0, 0)
  461. Line_6.BorderSizePixel = 0
  462. Line_6.Position = UDim2.new(1.00000226, 0, 0, 0)
  463. Line_6.Size = UDim2.new(0.0742001384, 0, 1, 0)
  464.  
  465. UIAspectRatioConstraint_7.Parent = Line_6
  466. UIAspectRatioConstraint_7.AspectRatio = 0.014705882407724857
  467.  
  468. JustAText_6.Name = "Just A Text"
  469. JustAText_6.Parent = Int
  470. JustAText_6.BackgroundColor3 = Color3.new(1, 1, 1)
  471. JustAText_6.BackgroundTransparency = 1
  472. JustAText_6.BorderColor3 = Color3.new(0, 0, 0)
  473. JustAText_6.BorderSizePixel = 0
  474. JustAText_6.Position = UDim2.new(0.207095787, 0, 0, 0)
  475. JustAText_6.Size = UDim2.new(0, 72, 0, 22)
  476. JustAText_6.Font = Enum.Font.SourceSans
  477. JustAText_6.Text = "Intable"
  478. JustAText_6.TextColor3 = Color3.new(1, 1, 1)
  479. JustAText_6.TextSize = 20
  480.  
  481. Intable.Name = "Intable"
  482. Intable.Parent = Int
  483. Intable.BackgroundColor3 = Color3.new(1, 1, 1)
  484. Intable.BackgroundTransparency = 1
  485. Intable.BorderColor3 = Color3.new(0, 0, 0)
  486. Intable.BorderSizePixel = 0
  487. Intable.Position = UDim2.new(0.311803937, 0, 0.411764711, 0)
  488. Intable.Size = UDim2.new(0, 49, 0, 24)
  489. Intable.Font = Enum.Font.SourceSans
  490. Intable.Text = "Yes"
  491. Intable.TextColor3 = Color3.new(0.3451, 0.3961, 0.9490)
  492. Intable.TextSize = 40
  493.  
  494. Catchable.Name = "Catchable"
  495. Catchable.Parent = MainFrame
  496. Catchable.BackgroundColor3 = Color3.new(1, 1, 1)
  497. Catchable.BackgroundTransparency = 1
  498. Catchable.BorderColor3 = Color3.new(0, 0, 0)
  499. Catchable.BorderSizePixel = 0
  500. Catchable.Position = UDim2.new(0.8958112, 0, 0, 0)
  501. Catchable.Size = UDim2.new(0.14188792, 0, 1, 0)
  502.  
  503. JustAText_7.Name = "Just A Text"
  504. JustAText_7.Parent = Catchable
  505. JustAText_7.BackgroundColor3 = Color3.new(1, 1, 1)
  506. JustAText_7.BackgroundTransparency = 1
  507. JustAText_7.BorderColor3 = Color3.new(0, 0, 0)
  508. JustAText_7.BorderSizePixel = 0
  509. JustAText_7.Position = UDim2.new(0.076477333, 0, 0, 0)
  510. JustAText_7.Size = UDim2.new(0, 72, 0, 22)
  511. JustAText_7.Font = Enum.Font.SourceSans
  512. JustAText_7.Text = "Catchable"
  513. JustAText_7.TextColor3 = Color3.new(1, 1, 1)
  514. JustAText_7.TextSize = 20
  515.  
  516. Intable_2.Name = "Intable"
  517. Intable_2.Parent = Catchable
  518. Intable_2.BackgroundColor3 = Color3.new(1, 1, 1)
  519. Intable_2.BackgroundTransparency = 1
  520. Intable_2.BorderColor3 = Color3.new(0, 0, 0)
  521. Intable_2.BorderSizePixel = 0
  522. Intable_2.Position = UDim2.new(0.111803937, 0, 0.411764711, 0)
  523. Intable_2.Size = UDim2.new(0, 49, 0, 24)
  524. Intable_2.Font = Enum.Font.SourceSans
  525. Intable_2.Text = "No"
  526. Intable_2.TextColor3 = Color3.new(0.3451, 0.3961, 0.9490)
  527. Intable_2.TextSize = 40
  528.  
  529. local HASH9 = game:GetService("CoreGui"):FindFirstChild("HASH9")
  530.  
  531. if HASH9 then
  532. HASH9:Destroy()
  533. end
  534.  
  535. local Library = loadstring(game:HttpGet('https://raw.githubusercontent.com/4d9Qk2a8RzY1Xw5/H9/main/UI/genesis.lua'))()
  536. local Flags = Library.Flags
  537.  
  538. local Window = Library:Window({
  539. Text = "discord.gg/hash9"
  540. })
  541.  
  542. local Tab = Window:Tab({
  543. Text = "Main"
  544. })
  545.  
  546. local TabE = Window:Tab({
  547. Text = "Extra"
  548. })
  549.  
  550.  
  551. local Tab2 = Window:Tab({
  552. Text = "Support"
  553. })
  554.  
  555. local Section = Tab:Section({
  556. Text = "QB Settings"
  557. })
  558.  
  559. local Section2 = Tab:Section({
  560. Text = "Catch Settings"
  561. })
  562.  
  563. local Section3 = Tab:Section({
  564. Text = "Defense Settings",
  565. Side = "Right"
  566. })
  567.  
  568. local Section4 = Tab:Section({
  569. Text = "Visual Settings",
  570. Side = "Right"
  571. })
  572.  
  573. local Section5 = Tab2:Section({
  574. Text = "Keybind Support"
  575. })
  576.  
  577. Section5:Label({
  578. Text = "Throw Keybind: T",
  579. })
  580.  
  581. Section5:Label({
  582. Text = "Cycle Throw Type Keybind: C",
  583. })
  584.  
  585. Section5:Label({
  586. Text = "Manual Angle Keybind: F (Decrease) R (Increase)",
  587. })
  588.  
  589. Section5:Label({
  590. Text = "Manual Power Keybind: Z (Decrease) X (Increase)",
  591. })
  592.  
  593.  
  594. Section5:Label({
  595. Text = "Player Lock Keybind: Q",
  596. })
  597.  
  598. Section5:Label({
  599. Text = "Toggle UI Keybind: RightAlt",
  600. })
  601.  
  602. local config = {
  603. FOVEnabled = true,
  604. MagsEnabled = false,
  605. AutoCatch = false,
  606. FOVCircleRadius = 145,
  607. FOVCircleThickness = 2,
  608. FOVCircleTransparency = 0.7,
  609. FOVColorDefault = Color3.new(1, 1, 1),
  610. FOVColorInRange = Color3.new(0.5098, 0.5098, 0.7059),
  611. CircleOffsetY = 35,
  612. }
  613.  
  614. local AutoAngie;
  615. local AutoPowa;
  616. local Catchy;
  617. local CatchS
  618. local magRange = 20
  619. local magRangeS = 6
  620.  
  621. Section:Check({
  622. Text = "QB Aimbot",
  623. Flag = "Aimbot",
  624. Callback = function(state)
  625. if state then
  626.  
  627. local beam = Instance.new("Beam", workspace.Terrain)
  628. local Attach0 = Instance.new("Attachment", workspace.Terrain)
  629. local Attach1 = Instance.new("Attachment", workspace.Terrain)
  630. local isLocked = false
  631.  
  632. --// Handle Locking Connection //--
  633. game:GetService("UserInputService").InputBegan:Connect(function(input, gpe)
  634. if input.KeyCode == Enum.KeyCode.Q and not gpe then
  635. isLocked = not isLocked
  636. end
  637. end)
  638.  
  639. beam.Attachment0 = Attach0
  640. beam.Attachment1 = Attach1
  641. beam.Color = ColorSequence.new({
  642. ColorSequenceKeypoint.new(0, Color3.fromRGB(88, 101, 242)),
  643. ColorSequenceKeypoint.new(1, Color3.fromRGB(0,0,0))
  644. })
  645. local VisPart = Instance.new("Part")
  646. VisPart.Size = VisPart.Size + Vector3.new(1.2, 0, 1.2)
  647. VisPart.Name = "TargetVisualPart"
  648. VisPart.Anchored = true
  649. VisPart.Parent = workspace
  650. VisPart.CanCollide = false
  651. VisPart.Material = Enum.Material.Neon
  652. VisPart.Color = Color3.fromRGB(0, 0, 0)
  653. beam.Segments = 5000
  654. local par = Instance.new("Part")
  655. par.Parent = workspace
  656. par.Size = Vector3.new(8, 8, 8)
  657. par.Name = "LandingPart"
  658. par.CanCollide = false
  659. par.Anchored = true
  660. par.Shape = Enum.PartType.Ball
  661. par.Color = Color3.fromRGB(255, 165, 0)
  662.  
  663.  
  664. local function grabMousePos()
  665. return Vector2.new(game:GetService('UserInputService'):GetMouseLocation().X, game:GetService('UserInputService'):GetMouseLocation().Y)
  666. end
  667.  
  668. local function isVisandPos(Pos)
  669. local camPos, OnScreen = workspace.CurrentCamera:WorldToViewportPoint(Pos)
  670. if OnScreen then
  671. return camPos, OnScreen
  672. end
  673. end
  674.  
  675. --// QB Aimbot Made By devtrixx. on discord //--
  676.  
  677. --// Variables & Services //--
  678. local Players = game:GetService("Players")
  679. local Player = Players.LocalPlayer
  680. local Char = Player.Character or Player.CharacterAdded:Wait()
  681. local HumanoidRootPart = Char:FindFirstChild("HumanoidRootPart")
  682. local FF2Grav = 28
  683. local mse = Player:GetMouse()
  684. local camera = workspace.CurrentCamera
  685. local ClosestPlr = nil
  686. local trace = Drawing.new("Line")
  687. trace.Transparency = 0.70
  688. trace.Thickness = 4.5
  689. trace.Color = Color3.fromRGB(88, 101, 242)
  690. local uis = game:GetService("UserInputService")
  691. -- used this shit for equations and some of my calcs are just me predicting shit
  692. -- https://openstax.org/books/university-physics-volume-1/pages/4-3-projectile-motion
  693.  
  694.  
  695.  
  696. local QBAIMtab = {
  697. OffSetBased = false
  698. }
  699.  
  700. --// Get Closest Player To Our Mouse Function //--
  701.  
  702. local Workspace = game:GetService("Workspace")
  703. local UserInputService = game:GetService("UserInputService")
  704.  
  705. local function getNearestPlayerToMouse()
  706. local MousePosition = Vector2.new(mse.X, mse.Y)
  707. local ClosestPlayer
  708. local ClosestDistance = math.huge
  709.  
  710. local function getScreenPosition(part)
  711. local ScreenPoint, onScreen = workspace.CurrentCamera:WorldToViewportPoint(part.Position)
  712. return Vector2.new(ScreenPoint.X, ScreenPoint.Y), onScreen
  713. end
  714.  
  715. for _, player in ipairs(Players:GetPlayers()) do
  716. if player ~= Players.LocalPlayer and player.Team == Players.LocalPlayer.Team then
  717. local Character = player.Character
  718. if Character then
  719. local HumanoidRootPart = Character:FindFirstChild("HumanoidRootPart")
  720. if HumanoidRootPart then
  721. local ScreenPosition, onScreen = getScreenPosition(HumanoidRootPart)
  722. local Distance = (ScreenPosition - MousePosition).Magnitude
  723. if Distance < ClosestDistance then
  724. ClosestPlayer = player
  725. ClosestDistance = Distance
  726. end
  727. end
  728. end
  729. end
  730. end
  731.  
  732.  
  733. for _, bot in ipairs(workspace:GetChildren()) do
  734. if bot.Name == "npcwr" then
  735. local stationA = bot:FindFirstChild("a")
  736. local stationB = bot:FindFirstChild("b")
  737.  
  738. if stationA and stationB then
  739. local bot1 = stationA:FindFirstChild("bot 1")
  740. local bot2 = stationB:FindFirstChild("bot 3")
  741.  
  742. if bot1 then
  743. local bot1HumanoidRootPart = bot1:FindFirstChild("HumanoidRootPart")
  744. if bot1HumanoidRootPart then
  745. local bot1ScreenPosition, onScreen = getScreenPosition(bot1HumanoidRootPart)
  746. local bot1Distance = (bot1ScreenPosition - MousePosition).Magnitude
  747. if bot1Distance < ClosestDistance then
  748. ClosestPlayer = bot1
  749. ClosestDistance = bot1Distance
  750. end
  751. end
  752. end
  753.  
  754. if bot2 then
  755. local bot2HumanoidRootPart = bot2:FindFirstChild("HumanoidRootPart")
  756. if bot2HumanoidRootPart then
  757. local bot2ScreenPosition, onScreen = getScreenPosition(bot2HumanoidRootPart)
  758. local bot2Distance = (bot2ScreenPosition - MousePosition).Magnitude
  759. if bot2Distance < ClosestDistance then
  760. ClosestPlayer = bot2
  761. ClosestDistance = bot2Distance
  762. end
  763. end
  764. end
  765. end
  766. end
  767. end
  768.  
  769. return ClosestPlayer
  770. end
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777. --// Basic moving check function //--
  778. local function isMoving(PlayerDaddy)
  779. if not string.find(PlayerDaddy.Name, "bot 1") or not string.find(PlayerDaddy.Name, "bot 3") then
  780. if PlayerDaddy.Character:FindFirstChild("Humanoid").MoveDirection.Magnitude > 0 then
  781. return true
  782. else
  783. return false
  784. end
  785. end
  786. end
  787.  
  788.  
  789. --// Bezier Curve Formula //--
  790.  
  791. local function beamProjectile(g, v0, x0, t1) --// aw hell yeah ego moose you da goat ! //--
  792. -- calculate the bezier points
  793. local c = 0.5*0.5*0.5;
  794. local p3 = 0.5*g*t1*t1 + v0*t1 + x0;
  795. local p2 = p3 - (g*t1*t1 + v0*t1)/3;
  796. local p1 = (c*g*t1*t1 + 0.5*v0*t1 + x0 - c*(x0+p3))/(3*c) - p2;
  797.  
  798. -- the curve sizes
  799. local curve0 = (p1 - x0).magnitude;
  800. local curve1 = (p2 - p3).magnitude;
  801.  
  802. -- build the world CFrames for the attachments
  803. local b = (x0 - p3).unit;
  804. local r1 = (p1 - x0).unit;
  805. local u1 = r1:Cross(b).unit;
  806. local r2 = (p2 - p3).unit;
  807. local u2 = r2:Cross(b).unit;
  808. b = u1:Cross(r1).unit;
  809.  
  810. local cf1 = CFrame.new(
  811. x0.x, x0.y, x0.z,
  812. r1.x, u1.x, b.x,
  813. r1.y, u1.y, b.y,
  814. r1.z, u1.z, b.z
  815. )
  816.  
  817. local cf2 = CFrame.new(
  818. p3.x, p3.y, p3.z,
  819. r2.x, u2.x, b.x,
  820. r2.y, u2.y, b.y,
  821. r2.z, u2.z, b.z
  822. )
  823.  
  824. return curve0, -curve1, cf1, cf2;
  825. end
  826.  
  827. local function getFieldOrientation(throwerPosition, playerPosition)
  828. if playerPosition.Z > 0 then
  829. return 1
  830. else
  831. return -1
  832. end
  833. end
  834.  
  835. local function clampnum(val, minmimum, maxValue)
  836. return math.min(math.max(val, minmimum), maxValue)
  837. end
  838.  
  839. ----------------------------------------
  840. --// CALCULATION FUNCTIONS & MATH //--
  841. ----------------------------------------
  842. local function CalculateRouteofPlayer(Playa)
  843. --[[local MovingCheck = isMoving(getNearestPlayerToMouse())--]]
  844. local RouteType;
  845. if not string.find(Playa.Name, "bot 1") and not string.find(Playa.Name, "bot 3") then
  846. local DirectionMoving = Playa.Character:FindFirstChild("Humanoid").MoveDirection
  847. local DirectionMovingLeftRight = Playa.Character:FindFirstChild("Humanoid").MoveDirection.X
  848. local DirectionMovingFoward = Playa.Character:FindFirstChild("Humanoid").MoveDirection.Z
  849. local Distance = (Playa.Character:FindFirstChild("HumanoidRootPart").Position - Player.Character:FindFirstChild("HumanoidRootPart").Position)
  850. local Direction = Distance.Unit
  851. local magdist = Distance.magnitude
  852. local X = Direction * Vector3.new(1, 0, 0)
  853. local X2 = Direction * Vector3.new(-1, 0, 0)
  854. local Z = Direction * Vector3.new(0, 0, 1)
  855. local DirectionDot = DirectionMoving:Dot(Distance)
  856. local Z2;
  857.  
  858. if getFieldOrientation(Player.Character:FindFirstChild("HumanoidRootPart"), DirectionMoving) == -1 then
  859. Z2 = Direction * Vector3.new(0, 0, -1)
  860. else
  861. Z2 = Direction * Vector3.new(0, 0, 1)
  862. end
  863.  
  864. local XZ = Direction * Vector3.new(1, 0, 1)
  865. local StreakingRoutesDotProduct = DirectionMoving:Dot(Z2) --// gets the dot product between two vectors //--
  866.  
  867. if StreakingRoutesDotProduct >= .80 or StreakingRoutesDotProduct <= -0.80 then
  868. RouteType = "Straight"
  869. elseif StreakingRoutesDotProduct >= .45 or StreakingRoutesDotProduct <= -0.45 then
  870. RouteType = "Post"
  871. elseif StreakingRoutesDotProduct >= .2 or StreakingRoutesDotProduct <= -.2 then
  872. RouteType = 'Slant'
  873. elseif StreakingRoutesDotProduct == 0 then
  874. RouteType = "Still"
  875. end
  876. if DirectionDot < 0 then
  877. RouteType = "Comeback"
  878. end
  879. else
  880. RouteType = "Straight"
  881. end
  882. return RouteType
  883. end
  884.  
  885.  
  886. local function HorizontalRangeOfProjectile(NearestPlayer)
  887. local NearestPlayerRootPart;
  888. if string.find(NearestPlayer.Name, "bot 1") or string.find(NearestPlayer.Name, "bot 3") then
  889. NearestPlayerRootPart = NearestPlayer:FindFirstChild("Head")
  890. else
  891. NearestPlayerRootPart = NearestPlayer.Character.Head
  892. end
  893. local PlayerRootPart = Player.Character.HumanoidRootPart
  894. local ProjectileRange = PlayerRootPart.Position - NearestPlayerRootPart.Position
  895. local HorizontalRange = Vector2.new(ProjectileRange.X, ProjectileRange.Z).Magnitude
  896. return HorizontalRange
  897. end
  898.  
  899. local function HighSpeedLowAngleCalcs(Grav, Speed)
  900. local RP = HorizontalRangeOfProjectile(getNearestPlayerToMouse())
  901. local toDeg = math.deg
  902. local asin = math.asin
  903. local Eq = 0.535 * asin((RP * Grav) / (Speed ^ 2))
  904. local Eq2 = toDeg(Eq)
  905. return Eq
  906. end
  907.  
  908.  
  909. local function calculateLaunchAngle(Gravvv, FootballSpeed) -- this took a shit long time to make
  910. local RangeYes = HorizontalRangeOfProjectile(getNearestPlayerToMouse())
  911. --print(RangeYes)
  912. local launchAngle = math.asin(Gravvv * RangeYes / (FootballSpeed ^ 2))
  913. return launchAngle
  914. end
  915.  
  916. local function CalculateInitalVelocityYAxis(InitalVelocity, AngleNeeded)
  917. local VelocityY = InitalVelocity * math.sin(AngleNeeded)
  918. return VelocityY
  919. end
  920.  
  921. local function calculateInitalVelocityXAxis(InitalVelocity, AngleNeeded)
  922. local VelocityX = InitalVelocity * math.cos(AngleNeeded)
  923. return VelocityX
  924. end
  925.  
  926.  
  927. local function CalculateMaxHeightOfProjectile(Initalvel, angle, gravv)
  928. local InitalVelocityY = CalculateVelocityYAxis(Initalvel, angle)
  929. local Hmax = (InitalVelocityY ^ 2) / (2 * gravv)
  930. return Hmax
  931. end
  932.  
  933. local function GetTimeOfFlightProjectile(FootballInitalVelocity, AngleNeeded, Grav)
  934. local TimeOfflightEquation = (2 * FootballInitalVelocity * math.sin(AngleNeeded)) / Grav
  935. return TimeOfflightEquation
  936. end
  937.  
  938. local function TimeOfFlight2(FootballS, A, FootballDownwardGravity)
  939. local VerticalVelocity = CalculateInitalVelocityYAxis(FootballS, A)
  940. local Tlowest = VerticalVelocity / FootballDownwardGravity --// tested this equation to see if its better or not //--
  941. return Tlowest
  942. end
  943.  
  944.  
  945.  
  946. local function OverallVelocityNeededToReachAPosition(Angie, StartPos, EndPositon, Gravity, Time)
  947. local VelocityNeeded = (EndPositon - StartPos - 0.5 * Gravity * Time * Time) / Time
  948. local Y = (EndPositon - StartPos)
  949. local Xz1 = (Y * Vector3.new(0.25, 0, 0.25))
  950. local xz2 = Vector2.new(Y.X, Y.Z).Magnitude
  951. local VelOverTime = xz2 / Time
  952. local notVector = Xz1 / Xz1.Magnitude
  953. local Equationderived = notVector * VelOverTime
  954. local EstimatedVel = Equationderived + Vector3.new(0, VelocityNeeded.Y, 0)
  955. local direction = ((StartPos + EstimatedVel) - StartPos).unit
  956. local pow = EstimatedVel.Y / direction.Y
  957. --local VelocityNeeded = (EndPositon - StartPos - 0.5 * Gravity * Time * Time) / Time --// ego moose formula but its universal for any projectile //--
  958. return EstimatedVel, direction, clampnum(math.round(pow), 0, 95)
  959. end
  960.  
  961. local function CalculateHeightOfTwoPositions(Start, End)
  962. local Dis = (Start - End)
  963. local h = Dis.Y
  964. return h
  965. end
  966.  
  967.  
  968. local function getThrowType()
  969. return tostring(ThrowType_2.Text)
  970. end
  971.  
  972. --// Handle Changing Throw Types //--
  973. game:GetService("UserInputService").InputBegan:Connect(function(input, gameProcessedEvent)
  974. local ThrowTypee = getThrowType()
  975. if input.KeyCode == Enum.KeyCode.C and ThrowTypee == "Dime" and not gameProcessedEvent then
  976. ThrowType_2.Text = "Mag"
  977. elseif input.KeyCode == Enum.KeyCode.C and ThrowTypee == "Mag" and not gameProcessedEvent then
  978. ThrowType_2.Text = "Dot"
  979. elseif input.KeyCode == Enum.KeyCode.C and ThrowTypee == "Dot" and not gameProcessedEvent then
  980. ThrowType_2.Text = "Dive"
  981. elseif input.KeyCode == Enum.KeyCode.C and ThrowTypee == "Dive" and not gameProcessedEvent then
  982. ThrowType_2.Text = "Fade"
  983. elseif input.KeyCode == Enum.KeyCode.C and ThrowTypee == "Fade" and not gameProcessedEvent then
  984. ThrowType_2.Text = "Bullet"
  985. elseif input.KeyCode == Enum.KeyCode.C and ThrowTypee == "Bullet" and not gameProcessedEvent then
  986. ThrowType_2.Text = "Jump"
  987. elseif input.KeyCode == Enum.KeyCode.C and ThrowTypee == "Jump" and not gameProcessedEvent then
  988. ThrowType_2.Text = "Dime"
  989. end
  990. end)
  991.  
  992.  
  993. local function CalculateHorizandVeri(TimeOFF, End, Beginning, GravV)
  994. local Displace = (Beginning - End)
  995. local Xaxis = (Displace.X)
  996. local ZAxis = (Displace.Z)
  997. local YAXis = CalculateHeightOfTwoPositions(Beginning, End)
  998. local XYZVector3 = Vector3.new(Xaxis, YAXis, ZAxis)
  999. local Horizontally = Vector2.new(Xaxis, Zxis).magnitude
  1000. local HorizVelNeeded = Horizontally / TimeOFF --// Using the Projectile motion Formula Horizontal Velocity: xz/t and yes shlat made this comment//--
  1001.  
  1002. local UpWardVel = (YAXis - (0.5 * -GravV * (TimeOFF ^ 2))) --// modified the velocity calculation formula so it just takes into account the y axis //--
  1003. local UpWARDVelneeded = UpWardVel / TimeOFF
  1004.  
  1005.  
  1006. return UpWardVel, HorizVelNeeded
  1007. end
  1008.  
  1009.  
  1010.  
  1011. local function CalculateHeightOfTwoPositions(Start, End)
  1012. local Dis = (Start - End)
  1013. local h = Dis.Y
  1014. return h
  1015. end
  1016.  
  1017. --// Function to check if the bot is moving //--
  1018. local function isBotMoving(SpeedOFBot)
  1019. if SpeedOFBot == Vector3.new(0,0,0) then
  1020. return false
  1021. else
  1022. return true
  1023. end
  1024. end
  1025.  
  1026.  
  1027. --// Bot Estimated Velocity Function //--
  1028. local function BotEstimatedVel(Time, Bot)
  1029. local Speed = Bot:FindFirstChild("HumanoidRootPart").Velocity
  1030. local TOFF = Time
  1031. local TypeThroww = getThrowType()
  1032. local Botequation;
  1033. local LeadNumtabBot3;
  1034. local LeadNumtabBot1;
  1035. if isBotMoving(Bot:FindFirstChild("HumanoidRootPart").Velocity) then
  1036. LeadNumtabBot3 = {
  1037. ["Dime"] = Vector3.new(-1, 1.25, -6),
  1038. ["Mag"] = Vector3.new(-2, 2, -11),
  1039. ["Dive"] = Vector3.new(-1.25, 1.5, -9),
  1040. ["Dot"] = Vector3.new(-0.09, 0.09, -4),
  1041. ["Fade"] = Vector3.new(0, 0, 0),
  1042. ["Bullet"] = Vector3.new(-5, -1, -1.25),
  1043. ["Jump"] = Vector3.new(-1, 2.25, -5)
  1044. }
  1045. LeadNumtabBot1 = {
  1046. ["Dime"] = Vector3.new(1, 1.25, 6),
  1047. ["Mag"] = Vector3.new(2, 2, 11),
  1048. ["Dive"] = Vector3.new(1.25, 1.5, 9),
  1049. ["Dot"] = Vector3.new(0.09, 0.09, 4),
  1050. ["Fade"] = Vector3.new(0, 0, 0),
  1051. ["Bullet"] = Vector3.new(5, 1, 1.25),
  1052. ["Jump"] = Vector3.new(1, 2, 5)
  1053. }
  1054. else
  1055. LeadNumtabBot3 = {
  1056. ["Dime"] = Vector3.new(0, 0, 0),
  1057. ["Mag"] = Vector3.new(0, 0, 0),
  1058. ["Dive"] = Vector3.new(0, 0, 0),
  1059. ["Dot"] = Vector3.new(0, 0, 0),
  1060. ["Fade"] = Vector3.new(0, 0, 0),
  1061. ["Bullet"] = Vector3.new(0, 0, 0),
  1062. ["Jump"] = Vector3.new(0, 4, 0)
  1063. }
  1064. LeadNumtabBot1 = {
  1065. ["Dime"] = Vector3.new(0, 0, 0),
  1066. ["Mag"] = Vector3.new(0, 0, 0),
  1067. ["Dive"] = Vector3.new(0, 0, 0),
  1068. ["Dot"] = Vector3.new(0, 0, 0),
  1069. ["Fade"] = Vector3.new(0, 0, 0),
  1070. ["Bullet"] = Vector3.new(0, 0, 0),
  1071. ["Jump"] = Vector3.new(0, 5, 0)
  1072. }
  1073. end
  1074. local TimeAccount = (Speed * Time)
  1075. if Bot.Name == "bot 3" and isBotMoving(Bot:FindFirstChild("HumanoidRootPart").Velocity) then
  1076. Botequation = Bot:FindFirstChild("HumanoidRootPart").Position + (TimeAccount) + LeadNumtabBot3[TypeThroww]
  1077. elseif Bot.Name == "bot 1" and isBotMoving(Bot:FindFirstChild("HumanoidRootPart").Velocity) then
  1078. Botequation = Bot:FindFirstChild("HumanoidRootPart").Position + (TimeAccount) + LeadNumtabBot1[TypeThroww]
  1079. elseif Bot.Name == "bot 3" and not isBotMoving(Bot:FindFirstChild("HumanoidRootPart").Velocity) then
  1080. Botequation = Bot:FindFirstChild("HumanoidRootPart").Position + LeadNumtabBot3[TypeThroww]
  1081. elseif Bot.Name == "bot 1" and not isBotMoving(Bot:FindFirstChild("HumanoidRootPart").Velocity) then
  1082. Botequation = Bot:FindFirstChild("HumanoidRootPart").Position
  1083. end
  1084.  
  1085. return Botequation
  1086. end
  1087.  
  1088. --// old calculated throw direction function //--
  1089. local function toThrowDirection(HVelocity, VVelocity, Time, Gravity, Beginning, End)
  1090. local XThroughZVelocity = HVelocity
  1091. local UPVel = VVelocity
  1092. local PositionFromTwoPoints = (Beginning - End)
  1093. local UpWardVelocityOffset = Vector3.new(0, UPVel, 0)
  1094. local FowardAndBackward = Vector3.new(0, 0, PositionFromTwoPoints.Z)
  1095.  
  1096. local toSide = Vector3.new(PositionFromTwoPoints.X, 0, 0)
  1097.  
  1098. local BothAxis = Vector3.new(1, 0, 1)
  1099.  
  1100. local DirectionMag = (PositionFromTwoPoints * BothAxis).magnitude
  1101. local DirectionUnit = (PositionFromTwoPoints * BothAxis).Unit
  1102. local DirectionNormalVec3 = (PositionFromTwoPoints * BothAxis)
  1103.  
  1104. local DivisonToCalcAverage = (DirectionNormalVec3 / DirectionMag)
  1105. local HorizontalVelocityAccountedfor = DivisonToCalcAverage * XThroughZVelocity
  1106. local VelocityOffsetAccountedFor = HorizontalVelocityAccountedfor + UpWardVelocityOffset
  1107.  
  1108. return VelocityOffsetAccountedFor
  1109. end
  1110.  
  1111.  
  1112. --/-//-/-/-/-/-/-/-//////////////////-/-//-/-/-/-/-/-/-/-
  1113.  
  1114.  
  1115. ----------------------------------------------
  1116. --// Prediciton Functions //--
  1117. ----------------------------------------------
  1118. local function getOffsetPredictionBasedOnRouteandThrowType(Route, ThrowType)
  1119. if QBAIMtab.OffSetBased then
  1120. local closestPlrtomouse = getNearestPlayerToMouse()
  1121. local CalculatedRoute = CalculateRouteofPlayer(closestPlrtomouse)
  1122.  
  1123. local LeftandRightXOf;
  1124. local LeftandRightZOf;
  1125.  
  1126. local FowardXOf;
  1127. local FowardZOf;
  1128.  
  1129. local BackwardXOf;
  1130. local BackwardZOf
  1131. if Route == 'LeftRight' and ThrowType == "Dime" then
  1132. LeftandRightXOf = 0.28
  1133. LeftandRightZOf = 0.25
  1134. elseif Route == "Foward" or "Backward" and ThrowType == "Dime" then
  1135. FowardXOf = 0.27
  1136. FowardZOf = 0.35
  1137. BackwardXOf = 0.015
  1138. BackwardZOf = 0.2
  1139. elseif Route == 'LeftRight' and ThrowType == "Dive" then
  1140. LeftandRightXOf = 0.45
  1141. LeftandRightZOf = 0.35
  1142. end
  1143. end
  1144. end
  1145.  
  1146. ----------------------------------------------------
  1147. --// Highlight Functions //--
  1148. ----------------------------------------------------
  1149.  
  1150. local Highlight = Instance.new("Highlight")
  1151. Highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
  1152.  
  1153.  
  1154. local function updateHighlight(nearest)
  1155. if nearest and nearest.Name ~= "bot 1" or nearest.Name ~= "bot 3" then
  1156. if nearest.Character and nearest.Character:FindFirstChild("HumanoidRootPart") then
  1157. Highlight.Adornee = nearest.Character
  1158. Highlight.Parent = nearest.Character.HumanoidRootPart
  1159. else
  1160. Highlight.Parent = nil
  1161. end
  1162.  
  1163.  
  1164. elseif nearest.Name == "bot 1" or nearest.Name == "bot 3" then
  1165. Highlight.Parent = nearest
  1166. Highlight.Adornee = nearest:FindFirstChild("HumanoidRootPart")
  1167. elseif not nearest then
  1168. Highlight.Parent = nil
  1169.  
  1170. end
  1171. end
  1172. ----------------------------------------------------/-/-/-/-//-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/-/////////////////-/-/-/-/-/-/-
  1173.  
  1174.  
  1175. ----------------------------------------------------
  1176. --// Interceptable Functions //--
  1177. ----------------------------------------------------
  1178.  
  1179.  
  1180. local function getPeopleGuardingClosestToMouse(WR)
  1181. local ClosestCB, MaxDistance = nil, 9e9
  1182. if game.PlaceId == 8206123457 then
  1183. for index, CB in next, Players:GetPlayers() do
  1184. if CB ~= WR and CB ~= Player then
  1185. if CB:IsA("Player") and CB.Character then
  1186. if not string.find(WR.Name, "bot 1") or not string.find(WR.Name, "bot 1") then
  1187. local dist = (CB.Character:FindFirstChild("HumanoidRootPart").Position - WR.Character:FindFirstChild("HumanoidRootPart").Position).magnitude
  1188. if dist < MaxDistance then
  1189. ClosestCB = CB
  1190. MaxDistance = dist
  1191. end
  1192. end
  1193. end
  1194. end
  1195. end
  1196. else
  1197. for index, CB in next, Players:GetPlayers() do
  1198. if CB ~= WR and CB ~= Player and CB.Team ~= Player.Team then
  1199. if CB:IsA("Player") and CB.Character then
  1200. local dist = (CB.Character:FindFirstChild("HumanoidRootPart").Position - WR.Character:FindFirstChild("HumanoidRootPart").Position).magnitude
  1201. if dist < MaxDistance then
  1202. ClosestCB = CB
  1203. MaxDistance = dist
  1204. end
  1205. end
  1206. end
  1207. end
  1208. end
  1209. return ClosestCB
  1210. end
  1211.  
  1212. local function Interceptable(Corner, LandingPos, t)
  1213. if Corner and Corner.Character then
  1214. local Dist = (Corner.Character:FindFirstChild("HumanoidRootPart").Position - LandingPos).magnitude
  1215.  
  1216. local WalksSpeedOFPlr = Corner.Character:FindFirstChild("Humanoid").WalkSpeed
  1217. local DiveingNumberAccountedFor = 0.31
  1218. local eqq = (Dist / WalksSpeedOFPlr) - DiveingNumberAccountedFor --// minus some time because people can dive //--
  1219.  
  1220. local Percent = (Dist * 0.70)
  1221. local HighestThreshHold = (Dist - Percent)
  1222. if eqq <= t then
  1223. return true
  1224. elseif Dist == 0 then
  1225. return true
  1226. else
  1227. return false
  1228. end
  1229. end
  1230. end
  1231.  
  1232.  
  1233. local function getClosestCBtoBot(BotHere)
  1234. local CbBot;
  1235. for index, CBBot in next, workspace:GetChildren() do
  1236. if game.PlaceId == 8206123457 and CBBot.Name == "npcwr" then
  1237. local A = CBBot["a"]
  1238. local B = CBBot["b"]
  1239. local ACBBot = A["bot 2"]
  1240. local BCBBot = B["bot 4"]
  1241. if BotHere.Name == "bot 1" then
  1242. CbBot = ACBBot
  1243. elseif BotHere.Name == "bot 3" then
  1244. CbBot = BCBBot
  1245. end
  1246. end
  1247. end
  1248. return CbBot
  1249. end
  1250.  
  1251. local function botInterceptable(Corna, LandingEstimatedPos, t)
  1252. if Corna:FindFirstChild("HumanoidRootPart") then
  1253. local BotDist = (Corna:FindFirstChild("HumanoidRootPart").Position - LandingEstimatedPos).magnitude
  1254. local WalksSpeedOFPlr = 20
  1255. local DiveingNumberAccountedFor = 0.31
  1256. local eqq = (BotDist / WalksSpeedOFPlr) - DiveingNumberAccountedFor --// minus some time because people can dive //--
  1257.  
  1258. local Percenty = (BotDist * 0.70)
  1259. local Highest = (BotDist - Percenty)
  1260. if eqq <= t then
  1261. return true
  1262. elseif BotDist == 0 then
  1263. return true
  1264. else
  1265. return false
  1266. end
  1267. end
  1268. end
  1269.  
  1270.  
  1271. ----------------------------------------------------------------------------------------------------------------------/////-/-/-/-/-/-/-/-/---------------------/-/-/-/-/-/-/-//-/-
  1272.  
  1273. -------------------------------
  1274. -- // Catchable Functions // --
  1275. -------------------------------
  1276.  
  1277.  
  1278. local function CatchAble(wr, LandingPos, TimeOfProjectileFlight)
  1279. if wr and wr.Character then
  1280. local Dist = (wr.Character:FindFirstChild("HumanoidRootPart").Position - LandingPos).magnitude
  1281. local WalksSpeedOFPlr = wr.Character:FindFirstChild("Humanoid").WalkSpeed
  1282. local DiveingNumberAccountedFor = 0.31
  1283. local eqq = (Dist / WalksSpeedOFPlr) - DiveingNumberAccountedFor --// minus some time because people can dive //--
  1284. local Percent = (Dist * 0.70)
  1285. local HighestThreshHold = (Dist - Percent)
  1286. local WalkSpeed = 16
  1287. if eqq <= TimeOfProjectileFlight then
  1288. return true
  1289. elseif Dist == 0 then
  1290. return true
  1291. else
  1292. return false
  1293. end
  1294. end
  1295. end
  1296.  
  1297. local function botCatchAble(Wr, LandingEstimatedPoss)
  1298. if Wr:FindFirstChild("HumanoidRootPart") then
  1299. local BotDist = (Wr:FindFirstChild("HumanoidRootPart").Position - LandingEstimatedPoss).magnitude
  1300. local Percenty = (BotDist * 0.70)
  1301. local Highest = (BotDist - Percenty)
  1302. if BotDist <= Highest then
  1303. return true
  1304. elseif BotDist == 0 then
  1305. return true
  1306. else
  1307. return false
  1308. end
  1309. end
  1310. end
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321. --// Round Number to Hundreths function //--
  1322. local function RoundNumToHundredths(number)
  1323. return math.floor(number * 100 + 0.5) / 100
  1324. end
  1325.  
  1326. local function clampnum(val, minmimum, maxValue)
  1327. return math.min(math.max(val, minmimum), maxValue)
  1328. end
  1329.  
  1330. local function GetTargetPositionForWR(Time, WideReceiver)
  1331. if WideReceiver.Character and WideReceiver.Character:FindFirstChild("HumanoidRootPart") then
  1332. local WRMovingVelocity = WideReceiver.Character:FindFirstChild("Humanoid").MoveDirection
  1333. local TypeThrow = getThrowType()
  1334.  
  1335. local LeadNumtab;
  1336.  
  1337.  
  1338. local fieldOrientation = getFieldOrientation(Player.Character:FindFirstChild("HumanoidRootPart").Position, WideReceiver.Character:FindFirstChild("Humanoid").MoveDirection)
  1339. if isMoving(WideReceiver) then
  1340. if fieldOrientation == 1 then
  1341. LeadNumtab = {
  1342. ["Dime"] = Vector3.new(1, 1.65, 9),
  1343. ["Mag"] = Vector3.new(2, 2, 11),
  1344. ["Dive"] = Vector3.new(1.25, 1.86, 9.5),
  1345. ["Dot"] = Vector3.new(1, 1.2, 7),
  1346. ["Fade"] = Vector3.new(0, 0, 0),
  1347. ["Bullet"] = Vector3.new(5, 1, 1),
  1348. ["Jump"] = Vector3.new(1, 2.25, 7.5)
  1349. }
  1350. elseif fieldOrientation == -1 then
  1351. LeadNumtab = {
  1352. ["Dime"] = Vector3.new(1, 1.65, -9),
  1353. ["Mag"] = Vector3.new(2, 2, -11),
  1354. ["Dive"] = Vector3.new(1.25, 1.86, -9.5),
  1355. ["Dot"] = Vector3.new(1, 1.2, -7),
  1356. ["Fade"] = Vector3.new(0, 0, 0),
  1357. ["Bullet"] = Vector3.new(-5, 1, -1),
  1358. ["Jump"] = Vector3.new(1, 2.25, -7.5)
  1359. }
  1360. end
  1361. else
  1362. LeadNumtab = {
  1363. ["Dime"] = Vector3.new(0, 0, 0),
  1364. ["Mag"] = Vector3.new(0, 0, 0),
  1365. ["Dive"] = Vector3.new(0, 0, 0),
  1366. ["Dot"] = Vector3.new(0, 0, 0),
  1367. ["Fade"] = Vector3.new(0, 0, 0),
  1368. ["Bullet"] = Vector3.new(0, 0, 0),
  1369. ["Jump"] = Vector3.new(0, 5, 0)
  1370. }
  1371. end
  1372. local ThrowTypeAccountability;
  1373.  
  1374. if TypeThrow == "Dot" then
  1375. ThrowTypeAccountability = (WRMovingVelocity * 17.5 * Time)
  1376. elseif TypeThrow == "Bullet" then
  1377. local XZAXIS = Vector3.new(WRMovingVelocity.X, 0, WRMovingVelocity.Z)
  1378. ThrowTypeAccountability = (XZAXIS * 20.02 * Time)
  1379. elseif TypeThrow == "Jump" then
  1380. ThrowTypeAccountability = (WRMovingVelocity * 18.5 * Time)
  1381. elseif TypeThrow == "Dime" then
  1382. ThrowTypeAccountability = (WRMovingVelocity * 18.9 * Time)
  1383. elseif TypeThrow == "Dive" then
  1384. ThrowTypeAccountability = (WRMovingVelocity * 19.3 * Time)
  1385. elseif TypeThrow == "Mag" then
  1386. ThrowTypeAccountability = (WRMovingVelocity * 19.7 * Time)
  1387. end
  1388.  
  1389. local Equation
  1390. if isMoving(WideReceiver) then
  1391. if TypeThrow == "Fade" then
  1392. Equation = WideReceiver.Character.Head.Position + LeadNumtab[TypeThrow]
  1393. elseif TypeThrow == "Bullet" then
  1394. Equation = WideReceiver.Character.Head.Position + (ThrowTypeAccountability) + LeadNumtab[TypeThrow]
  1395. else
  1396. Equation = WideReceiver.Character.Head.Position + (ThrowTypeAccountability) + LeadNumtab[TypeThrow]
  1397. end
  1398. elseif not isMoving(WideReceiver) and TypeThrow == "Jump" then --// always make it a jump throw even if not moving //--
  1399. Equation = WideReceiver.Character.Head.Position + (ThrowTypeAccountability) + Vector3.new(0, 6, 0)
  1400. else
  1401. Equation = WideReceiver.Character.Head.Position
  1402. end
  1403.  
  1404. return Equation
  1405. else
  1406. warn("Wide Receiver or HumanoidRootPart not found")
  1407. return Vector3.new(0, 0, 0)
  1408. end
  1409. end
  1410.  
  1411.  
  1412. local Data = {
  1413. Direction = Vector3.new(0, 0, 0),
  1414. NormalPower = 55,
  1415. BulletModeAngle = 5,
  1416. FadeModeAngle = 55,
  1417. LowestPower = 40,
  1418. MaxPower = 95,
  1419. Angle = 45,
  1420. MaxAngle = 55,
  1421. lowestAngle = 10
  1422. }
  1423.  
  1424.  
  1425. --// Function to predict the projectile landing position //--
  1426. local function predicitLand(Velocity, Gravity, num, start, powa, timeoflight)
  1427. local Vel = powa * Velocity
  1428. local position = start + Vel * timeoflight + 0.5 * Gravity * timeoflight * timeoflight
  1429. return position
  1430. end
  1431.  
  1432. --// Adjust Angle Manually Connection//--
  1433. game:GetService("UserInputService").InputBegan:Connect(function(input, typeing)
  1434. if not AutoAngie and not typeing then
  1435. local TT = getThrowType()
  1436. if TT == "Bullet" then
  1437. if input.KeyCode == Enum.KeyCode.R and Data.BulletModeAngle < 20 then
  1438. Data.BulletModeAngle = Data.BulletModeAngle + 5
  1439. elseif input.KeyCode == Enum.KeyCode.F and Data.BulletModeAngle > 5 then
  1440. Data.BulletModeAngle = Data.BulletModeAngle - 5
  1441. elseif input.KeyCode == Enum.KeyCode.R and Data.BulletModeAngle == 20 then
  1442. warn("Cannot Up Angle Any more, Max Angle is 20")
  1443. Data.BulletModeAngle = Data.BulletModeAngle + 0
  1444. elseif input.KeyCode == Enum.KeyCode.F and Data.BulletModeAngle == 5 then
  1445. warn("Cannot Lower Angle Any more, Lowest Angle is 5")
  1446. Data.BulletModeAngle = Data.BulletModeAngle - 0
  1447. end
  1448. elseif TT == "Fade" then
  1449. if input.KeyCode == Enum.KeyCode.R and Data.FadeModeAngle < 75 then
  1450. Data.FadeModeAngle = Data.FadeModeAngle + 5
  1451. elseif input.KeyCode == Enum.KeyCode.F and Data.FadeModeAngle > 55 then
  1452. Data.FadeModeAngle = Data.FadeModeAngle - 5
  1453. elseif input.KeyCode == Enum.KeyCode.R and Data.FadeModeAngle == 75 then
  1454. warn("Cannot Up Angle Any more, Max Angle is 75")
  1455. Data.FadeModeAngle = Data.FadeModeAngle + 0
  1456. elseif input.KeyCode == Enum.KeyCode.F and Data.FadeModeAngle == 55 then
  1457. warn("Cannot Lower Angle Any more, Lowest Angle is 55")
  1458. Data.FadeModeAngle = Data.FadeModeAngle - 0
  1459. end
  1460. else
  1461. if input.KeyCode == Enum.KeyCode.R and Data.Angle < 55 then
  1462. Data.Angle = Data.Angle + 5
  1463. elseif input.KeyCode == Enum.KeyCode.F and Data.Angle > 10 then
  1464. Data.Angle = Data.Angle - 5
  1465. elseif input.KeyCode == Enum.KeyCode.R and Data.Angle == 55 then
  1466. warn("Cannot Up Angle Any more, Max Angle is 55")
  1467. Data.Angle = Data.Angle + 0
  1468. elseif input.KeyCode == Enum.KeyCode.F and Data.Angle == 10 then
  1469. warn("Cannot Lower Angle Any more, Lowest Angle is 10")
  1470. Data.Angle = Data.Angle - 0
  1471. end
  1472. end
  1473. end
  1474. end)
  1475.  
  1476. --// Adjust Power Manually Connection//--
  1477. game:GetService("UserInputService").InputBegan:Connect(function(input, typein)
  1478. if not AutoPowa and not typein then
  1479. if input.KeyCode == Enum.KeyCode.Z and Data.NormalPower < Data.MaxPower then
  1480. Data.NormalPower = Data.NormalPower + 5
  1481. elseif input.KeyCode == Enum.KeyCode.X and Data.NormalPower > Data.LowestPower then
  1482. Data.NormalPower = Data.NormalPower - 5
  1483. elseif input.KeyCode == Enum.KeyCode.Z and Data.NormalPower == Data.MaxPower then
  1484. Data.NormalPower = Data.NormalPower + 0
  1485. warn("Max Power, Cannot Adjust Any Higher")
  1486. elseif input.KeyCode == Enum.KeyCode.X and Data.NormalPower == Data.LowestPower then
  1487. Data.NormalPower = Data.NormalPower - 0
  1488. warn("Lowest Possible Power, Cannot Adjust Any Lower")
  1489. end
  1490. end
  1491. end)
  1492. -------/------/------/---/-------/----------/-----/------/-------------/-----------/--------------/----------/---------
  1493. local function isVector3Valid(vec3)
  1494. return not (vec3.X ~= vec3.X or vec3.Y ~= vec3.Y or vec3.Z ~= vec3.Z)
  1495. end
  1496.  
  1497. local ThrowingTab = {
  1498. Direction = Vector3.new(0, 0, 0)
  1499. }
  1500. game:GetService("UserInputService").InputBegan:Connect(function(input, gameProcessedEvent)
  1501. if input.UserInputType == Enum.UserInputType.MouseButton1 and not gameProcessedEvent then
  1502. if Char then
  1503. local Football = Char:FindFirstChildOfClass("Tool")
  1504. if Football then
  1505. if state == true then
  1506. if state == false then return end
  1507. local start = Player.Character:FindFirstChild("Head").Position
  1508. if not isLocked then
  1509. local nearestPlayer = getNearestPlayerToMouse()
  1510. if nearestPlayer and nearestPlayer:IsA("Player") then
  1511. ClosestPlr = nearestPlayer
  1512. end
  1513. end
  1514.  
  1515. if isLocked and not ClosestPlr then
  1516. if getNearestPlayerToMouse() == nil then
  1517. ClosestPlr = ClosestPlr
  1518. else
  1519. ClosestPlr = getNearestPlayerToMouse()
  1520. end
  1521. end
  1522. local Initial = 95
  1523. local Throwtype = getThrowType()
  1524.  
  1525.  
  1526. local WhichOne2;
  1527. if Throwtype == "Fade" then
  1528. WhichOne2 = Data.FadeModeAngle
  1529. elseif Throwtype == "Bullet" then
  1530. WhichOne2 = Data.BulletModeAngle
  1531. else
  1532. WhichOne2 = Data.Angle
  1533. end
  1534. if AutoPowa then
  1535. if Throwtype == "Fade" then
  1536. Initial = 95
  1537. else
  1538. Initial = 95
  1539. end
  1540. else
  1541. Initial = Data.NormalPower
  1542. end
  1543. local toLaunchAnlge;
  1544. if AutoAngie then
  1545. if Throwtype == "Fade" then
  1546. toLaunchAnlge = math.rad(75)
  1547. elseif Throwtype == "Bullet" then
  1548. toLaunchAnlge = clampnum(HighSpeedLowAngleCalcs(FF2Grav, Initial), 0, 0.296706)
  1549. else
  1550. toLaunchAnlge = clampnum(calculateLaunchAngle(FF2Grav, Initial), 0, 0.975)
  1551.  
  1552. end
  1553. else
  1554. toLaunchAnlge = math.rad(WhichOne2)
  1555. end
  1556. local TOF = GetTimeOfFlightProjectile(Initial, toLaunchAnlge, FF2Grav)
  1557. local YesEnd;
  1558. if string.find(ClosestPlr.name, "bot 1") or string.find(ClosestPlr.name, "bot 3") then
  1559. YesEnd = BotEstimatedVel(TOF, ClosestPlr)
  1560. elseif not string.find(ClosestPlr.name, "bot 1") or not string.find(ClosestPlr.name, "bot 3") then
  1561. YesEnd = GetTargetPositionForWR(TOF, ClosestPlr)
  1562. end
  1563. local PowerSir;
  1564. local vel, toThrowToDirection, pow = OverallVelocityNeededToReachAPosition(toLaunchAnlge, start, YesEnd, Vector3.new(0,-FF2Grav,0), TOF)
  1565. if AutoPowa then
  1566. if Throwtype == "Fade" then
  1567. PowerSir = 95
  1568. elseif Throwtype == "Bullet" then
  1569. PowerSir = clampnum(pow, 90, 95)
  1570. else
  1571. PowerSir = pow
  1572. end
  1573. else
  1574. PowerSir = Data.NormalPower
  1575. end
  1576. local neworigin = start + (ThrowingTab.Direction * 5)
  1577. local throwingpar = Instance.new("Part")
  1578. throwingpar.Size = Vector3.new(2, 2, 2)
  1579. throwingpar.Color = Color3.fromRGB(255, 165, 0)
  1580.  
  1581. local RemoteEvent = Football.Handle:FindFirstChild("RemoteEvent")
  1582. if RemoteEvent then
  1583. local ThrowAnimation = Char.Humanoid:LoadAnimation(game:GetService("ReplicatedStorage").Animations.Throw)
  1584. ThrowAnimation.Name = "Throw"
  1585. ThrowAnimation:Play()
  1586. RemoteEvent:fireServer("Clicked", start, neworigin + ThrowingTab.Direction * 10000, (game.PlaceId == 8206123457 and PowerSir) or 95, PowerSir)
  1587. throwingpar.Parent = workspace
  1588. throwingpar.Velocity = vel
  1589. wait(TOF)
  1590. throwingpar:Destroy()
  1591.  
  1592. else
  1593. warn("RemoteEvent not found on Football's Handle")
  1594. end
  1595. else
  1596. print("Toggle not on")
  1597. end
  1598. else
  1599. print("No Tool found in character.")
  1600. end
  1601. else
  1602. print("Character not found.")
  1603. end
  1604. end
  1605. end)
  1606.  
  1607.  
  1608.  
  1609. local TargetPosition;
  1610. local PredictedRoute
  1611.  
  1612. --// Connection to make it Click to Throw //--
  1613. Char.ChildAdded:Connect(function(v)
  1614. if v.Name == "Football" and Char then
  1615. local children = v:GetChildren()
  1616. if children.Name == "Handle" then
  1617. local descendants = children:GetChildren()
  1618. if descendants.Name == "LocalScript" then
  1619. descendants:Destroy()
  1620. end
  1621. end
  1622. end
  1623. end)
  1624.  
  1625. --// One big function that holds function for if conditions //--
  1626. task.spawn(function()
  1627. game:GetService('RunService').Heartbeat:Connect(function()
  1628. task.wait()
  1629.  
  1630. if not isLocked then
  1631. ClosestPlr = getNearestPlayerToMouse()
  1632. end
  1633.  
  1634.  
  1635. local PredictedRoute;
  1636.  
  1637.  
  1638. task.wait()
  1639.  
  1640. if state and Player.Character and Player.Character:FindFirstChild("Football") and ClosestPlr then
  1641. trace.Visible = true
  1642. local Throwtype = getThrowType()
  1643.  
  1644. Highlight.Enabled = true
  1645. Highlight.OutlineTransparency = 0
  1646. Highlight.FillColor = Color3.new(0.5098, 0.5098, 0.7059)
  1647. Highlight.OutlineColor = Color3.new(0, 0, 0)
  1648. if not string.find(ClosestPlr.Name, "bot 1") and not string.find(ClosestPlr.Name, "bot 3") then
  1649. PredictedRoute = CalculateRouteofPlayer(ClosestPlr)
  1650. elseif string.find(ClosestPlr.Name, "bot 1") or string.find(ClosestPlr.Name, "bot 3") then
  1651. PredictedRoute = "Straight"
  1652. end
  1653.  
  1654.  
  1655. if not string.find(ClosestPlr.Name, "bot 1") and not string.find(ClosestPlr.Name, "bot 3") then
  1656. if ClosestPlr.Character:FindFirstChild("HumanoidRootPart") then
  1657. Highlight.Parent = ClosestPlr.Character
  1658.  
  1659. end
  1660. elseif string.find(ClosestPlr.Name, "bot 1") or string.find(ClosestPlr.Name, "bot 3") then
  1661. Highlight.Parent = ClosestPlr
  1662.  
  1663. end
  1664. ScreenGui.Enabled = true
  1665.  
  1666. local WhichOne;
  1667. if Throwtype == "Fade" then
  1668. WhichOne = Data.FadeModeAngle
  1669. elseif Throwtype == "Bullet" then
  1670. WhichOne = Data.BulletModeAngle
  1671. else
  1672. WhichOne = Data.Angle
  1673. end
  1674.  
  1675.  
  1676. local FF2Grav = 28
  1677. local Start = Player.Character:FindFirstChild("Head").Position
  1678. local Initial;
  1679. local LaunchAngle;
  1680.  
  1681. if AutoPowa then
  1682. Initial = 95
  1683. else
  1684. Initial = Data.NormalPower
  1685. end
  1686.  
  1687.  
  1688. if AutoAngie then
  1689. if Throwtype == "Fade" then
  1690. LaunchAngle = math.rad(75)
  1691. elseif Throwtype == "Bullet" then
  1692. LaunchAngle = clampnum(HighSpeedLowAngleCalcs(FF2Grav, Initial), 0, 0.296706)
  1693. else
  1694. LaunchAngle = clampnum(calculateLaunchAngle(FF2Grav, Initial), 0, 0.975)
  1695. end
  1696. else
  1697. LaunchAngle = math.rad(WhichOne)
  1698. end
  1699.  
  1700. local TOF = GetTimeOfFlightProjectile(Initial, LaunchAngle, FF2Grav)
  1701. local TargetPosition;
  1702.  
  1703. if (string.find(ClosestPlr.Name, "bot 1") or string.find(ClosestPlr.Name, "bot 3")) then
  1704. TargetPosition = BotEstimatedVel(TOF, ClosestPlr)
  1705. else
  1706. TargetPosition = GetTargetPositionForWR(TOF, ClosestPlr)
  1707. end
  1708.  
  1709. local POWAA;
  1710.  
  1711.  
  1712. local velocity, direction, power = OverallVelocityNeededToReachAPosition(LaunchAngle, Start, TargetPosition, Vector3.new(0, -FF2Grav, 0), TOF)
  1713. Initial = power
  1714. if AutoPowa then
  1715. if Throwtype == "Fade" then
  1716. POWAA = 95
  1717. elseif Throwtype == "Bullet" then
  1718. POWAA = clampnum(power, 90, 95)
  1719. else
  1720. POWAA = power
  1721. end
  1722. else
  1723. POWAA = Data.NormalPower
  1724. end
  1725. if isVector3Valid(direction) and isVector3Valid(TargetPosition) then
  1726. ThrowingTab.Direction = direction
  1727.  
  1728. local startAdjusted = Start + (ThrowingTab.Direction * 5)
  1729.  
  1730.  
  1731.  
  1732. local curve0, curve1, cf0, cf1 = beamProjectile(Vector3.new(0, -FF2Grav, 0), POWAA * direction, Start + (direction * 5), TOF)
  1733.  
  1734. beam.CurveSize0 = curve0
  1735. beam.CurveSize1 = curve1
  1736. beam.Attachment0.CFrame = beam.Attachment0.Parent.CFrame:inverse() * cf0
  1737. beam.Attachment1.CFrame = beam.Attachment1.Parent.CFrame:inverse() * cf1
  1738. beam.Width0 = 0.5
  1739. beam.Width1 = 0.5
  1740.  
  1741. ---// get beam rotation //--
  1742. local sum = (beam.Attachment1.CFrame - beam.Attachment1.Position):Inverse()
  1743. VisPart.CFrame = beam.Attachment1.CFrame * sum * CFrame.Angles(math.rad(0), 0, 0)
  1744. --trace.From = game:GetService("UserInputService"):GetMouseLocation()--
  1745. local CamPo, OnScren = isVisandPos(VisPart.Position)
  1746. local CamPo2, OnS = isVisandPos(beam.Attachment0.Position)
  1747. if OnScren and OnS then
  1748. trace.From = Vector2.new(CamPo2.X, CamPo2.Y)
  1749. trace.To = Vector2.new(CamPo.X, CamPo.Y)
  1750. end
  1751. Playerrr.Text = ClosestPlr.Name
  1752. PowerNumber.Text = tostring(POWAA)
  1753.  
  1754. if PredictedRoute then
  1755. RouteOK.Text = PredictedRoute
  1756. end
  1757.  
  1758. if not (string.find(ClosestPlr.Name, "bot 1") or string.find(ClosestPlr.Name, "bot 3")) then
  1759. local ClosestCB = getPeopleGuardingClosestToMouse(ClosestPlr)
  1760. if Interceptable(ClosestCB, VisPart.Position, TOF) then
  1761. Intable.Text = "Yes"
  1762. else
  1763. Intable.Text = "No"
  1764. end
  1765. elseif string.find(ClosestPlr.Name, "bot 1") or string.find(ClosestPlr.Name, "bot 3") then
  1766. local BotCbClosest = getClosestCBtoBot(ClosestPlr)
  1767. if botInterceptable(BotCbClosest, VisPart.Position, TOF) then
  1768. Intable.Text = "Yes"
  1769. else
  1770. Intable.Text = "No"
  1771. end
  1772. end
  1773.  
  1774.  
  1775. if not (string.find(ClosestPlr.Name, "bot 1") or string.find(ClosestPlr.Name, "bot 3")) then
  1776. local ClosestWRR = getNearestPlayerToMouse()
  1777. if CatchAble(ClosestWRR, VisPart.Position, TOF) then
  1778. Intable_2.Text = "Yes"
  1779. else
  1780. Intable_2.Text = "No"
  1781. end
  1782. elseif string.find(ClosestPlr.Name, "bot 1") or string.find(ClosestPlr.Name, "bot 3") then
  1783. local BotCbWr = getNearestPlayerToMouse()
  1784. if botCatchAble(BotCbWr, VisPart.Position, TOF) then
  1785. Intable_2.Text = "Yes"
  1786. else
  1787. Intable_2.Text = "No"
  1788. end
  1789. end
  1790.  
  1791.  
  1792.  
  1793. AirTimeTEXT.Text = tostring(RoundNumToHundredths(TOF)).."s"
  1794.  
  1795. if AutoAngie then
  1796. if Throwtype == "Fade" then
  1797. AngleNumber.Text = "75"
  1798. else
  1799. AngleNumber.Text = tostring(RoundNumToHundredths(math.deg(LaunchAngle)))
  1800. end
  1801. else
  1802. AngleNumber.Text = tostring(WhichOne)
  1803. end
  1804. end
  1805. else
  1806. ScreenGui.Enabled = false
  1807. Highlight.Enabled = false
  1808. trace.Visible = false
  1809. end
  1810. end)
  1811. end)
  1812.  
  1813. task.spawn(function()
  1814. while state == false do
  1815. task.wait()
  1816. ScreenGui.Enabled = false
  1817. beam.Width0 = 0
  1818. beam.Width1 = 0
  1819. end
  1820. end)
  1821.  
  1822. else
  1823. ScreenGui.Enabled = false
  1824. end
  1825. end
  1826. })
  1827.  
  1828. Section:Check({
  1829. Text = "Auto Angle",
  1830. Flag = "AimbotAngle",
  1831. Callback = function(bool)
  1832. AutoAngie = bool
  1833. end
  1834. })
  1835.  
  1836. Section:Check({
  1837. Text = "Auto Power",
  1838. Flag = "AimbotPower",
  1839. Callback = function(bool)
  1840. AutoPowa = bool
  1841. end
  1842. })
  1843.  
  1844. local function magBall(ball)
  1845. if ball and localPlr.Character then
  1846. local leftArm = localPlr.Character:FindFirstChild("Left Arm")
  1847. local rightArm = localPlr.Character:FindFirstChild("Right Arm")
  1848.  
  1849. if leftArm and rightArm then
  1850. local function touchBall(arm, part, toggle)
  1851. firetouchinterest(arm, part, toggle)
  1852. end
  1853.  
  1854. touchBall(leftArm, ball, 0)
  1855. touchBall(rightArm, ball, 0)
  1856. task.wait()
  1857. touchBall(leftArm, ball, 1)
  1858. touchBall(rightArm, ball, 1)
  1859. end
  1860. end
  1861. end
  1862.  
  1863. RunService.Stepped:Connect(function()
  1864. if Catchy then
  1865. for _, v in pairs(workspace:GetChildren()) do
  1866. if v.Name == "Football" and v:IsA("BasePart") then
  1867. local mag = (localPlr.Character.HumanoidRootPart.Position - v.Position).Magnitude
  1868. if mag <= magRange then -- Adjust the range as needed
  1869. magBall(v)
  1870. end
  1871. end
  1872. end
  1873. end
  1874. end)
  1875.  
  1876. local identityLevel = getidentity()
  1877.  
  1878. local Players = game:GetService("Players")
  1879. local lp = Players.LocalPlayer
  1880. local char = lp.Character or lp.CharacterAdded:Wait()
  1881. local CL = char:FindFirstChild("CatchLeft")
  1882. local hrp = char:FindFirstChild("HumanoidRootPart")
  1883. local max = magRangeS
  1884.  
  1885. local function autoCatchBalls()
  1886. while CatchS do
  1887. wait()
  1888. if CatchS then
  1889. for _, child in ipairs(workspace:GetChildren()) do
  1890. if child.Name == "Football" and child:IsA("BasePart") then
  1891. local D = (child.Position - hrp.Position).magnitude
  1892. if D < max then
  1893. child.CanCollide = false
  1894. child.CFrame = hrp.CFrame + Vector3.new(0.5, 0.3, 0.5)
  1895. end
  1896. end
  1897. end
  1898. end
  1899. end
  1900. end
  1901.  
  1902. if identityLevel == 3 then
  1903. Section2:Label({
  1904. Text = "Solara Detected: <font color=\"rgb(252, 15, 31)\">Not Supported</font>",
  1905. })
  1906.  
  1907. else
  1908. Section2:Check({
  1909. Text = "Auto Catch",
  1910. Flag = "MagsCatch",
  1911. Callback = function(bool)
  1912. config.AutoCatch = bool
  1913. end
  1914. })
  1915. Section2:Check({
  1916. Text = "Ball Mags",
  1917. Flag = "Mags",
  1918. Callback = function(bool)
  1919. Catchy = bool
  1920. end
  1921. })
  1922.  
  1923. Section2:Slider({
  1924. Text = "Mag Range",
  1925. Minimum = 1,
  1926. Default = 20,
  1927. Maximum = 20,
  1928. Postfix = " Studs",
  1929. Incrementation = 0.1,
  1930. Callback = function(state)
  1931. magRange = state
  1932. end
  1933. })
  1934. end
  1935.  
  1936. Section3:Check({
  1937. Text = "Auto Rush",
  1938. Flag = "Rush",
  1939. Callback = function(bool)
  1940. print(bool)
  1941. end
  1942. })
  1943.  
  1944. Section3:Check({
  1945. Text = "Auto Cover",
  1946. Flag = "Rush",
  1947. Callback = function(bool)
  1948. print(bool)
  1949. end
  1950. })
  1951.  
  1952. Section3:Slider({
  1953. Text = "Cover Proximity",
  1954. Minimum = 1,
  1955. Default = 4,
  1956. Maximum = 7,
  1957. Postfix = " Studs",
  1958. Incrementation = 0.1,
  1959. Callback = function(state)
  1960. magRange = state
  1961. end
  1962. })
  1963.  
  1964. Section4:Check({
  1965. Text = "Ball Hitbox",
  1966. Flag = "BallBox",
  1967. Callback = function(bool)
  1968. print(bool)
  1969. end
  1970. })
  1971.  
  1972. Section4:Check({
  1973. Text = "Ball Predicition",
  1974. Flag = "BallPred",
  1975. Callback = function(bool)
  1976. print(bool)
  1977. end
  1978. })
  1979.  
  1980. Section4:Slider({
  1981. Text = "Transparency",
  1982. Minimum = 0,
  1983. Default = 0.7,
  1984. Maximum = 1,
  1985. Incrementation = 0.1,
  1986. Callback = function(state)
  1987. end
  1988. })
  1989.  
  1990. local Section7 = TabE:Section({
  1991. Text = "Kicker Settings"
  1992. })
  1993.  
  1994. Section7:Check({
  1995. Text = "Kicker Aimbot",
  1996. Flag = "KickAim",
  1997. Callback = function(bool)
  1998. print(bool)
  1999. end
  2000. })
  2001.  
  2002. Section7:Slider({
  2003. Text = "Release 1",
  2004. Minimum = 0,
  2005. Default = 0.89,
  2006. Maximum = 1,
  2007. Incrementation = 0.01,
  2008. Callback = function(state)
  2009. end
  2010. })
  2011.  
  2012. Section7:Slider({
  2013. Text = "Release 2",
  2014. Minimum = 0,
  2015. Default = 0.03,
  2016. Maximum = 1,
  2017. Incrementation = 0.01,
  2018. Callback = function(state)
  2019. end
  2020. })
  2021.  
  2022.  
  2023. local Section8 = TabE:Section({
  2024. Text = "Misc Settings",
  2025. Side = "Right"
  2026. })
  2027.  
  2028. local RunService = game:GetService("RunService")
  2029. local Players = game:GetService("Players")
  2030. local LocalPlayer = Players.LocalPlayer
  2031.  
  2032. local function setCollision(enabled)
  2033. for _, player in pairs(Players:GetPlayers()) do
  2034. if player and player.Character and player ~= LocalPlayer then
  2035. for _, bodypart in pairs(player.Character:GetChildren()) do
  2036. if bodypart:IsA("BasePart") or bodypart:IsA("MeshPart") and bodypart.CanCollide then
  2037. bodypart.CanCollide = enabled
  2038. end
  2039. end
  2040. end
  2041. end
  2042. end
  2043.  
  2044. local connection
  2045. Section8:Check({
  2046. Text = "Anti Jam",
  2047. Flag = "AntiJ",
  2048. Callback = function(enabled)
  2049. if enabled then
  2050. connection = RunService.RenderStepped:Connect(function()
  2051. setCollision(false)
  2052. end)
  2053. else
  2054. if connection then
  2055. connection:Disconnect()
  2056. setCollision(true)
  2057. end
  2058. end
  2059. end
  2060. })
  2061.  
  2062.  
  2063. Tab:Select()
  2064.  
  2065. local NewHASH9 = game:GetService("CoreGui"):WaitForChild("HASH9")
  2066. local UserInputService = game:GetService("UserInputService")
  2067.  
  2068. local function toggleHASH9()
  2069. NewHASH9.Enabled = not NewHASH9.Enabled
  2070. end
  2071.  
  2072. UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
  2073. if input.KeyCode == Enum.KeyCode.RightAlt and not gameProcessedEvent then
  2074. toggleHASH9()
  2075. end
  2076. end)
  2077.  
  2078. NewHASH9.Main.Console:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement