Advertisement
jlksdfjlksdfjklds54

Purpware death free.

Jan 22nd, 2023 (edited)
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.10 KB | None | 0 0
  1. getgenv().keybind = "v"
  2. getgenv().prediction = 0.1258
  3. getgenv().ballistics = 0.35
  4. getgenv().smoothness = 11
  5. getgenv().fovradius = 60
  6. getgenv().Notifications = false
  7. getgenv().SmoothnessValue = true
  8. getgenv().PredictionState = true
  9. getgenv().CamUndergroundResolver = true
  10. getgenv().UnlockWhenTargetDies = false
  11. getgenv().UnlockWhenPlayerDies = false
  12. getgenv().TracerRadius = false
  13. getgenv().GrabbedCheck = true
  14. getgenv().KoCheck = true
  15. getgenv().loaded = false
  16. getgenv().AorinjectSettings = {
  17. SilentAim = true,
  18. Prediction = 0.1281,
  19. }
  20. Drawing = Drawing
  21. mousemoverel = mousemoverel
  22.  
  23. local Settings = {
  24. Head = "HumanoidRootPart",
  25. Humanoid = "Humanoid",
  26. NeckOffSet = Vector3.new(0, tonumber(getgenv().ballistics), 0)
  27. };
  28.  
  29. local Locking = false
  30. local Players = game:GetService("Players")
  31. local LocalPlayer = Players.LocalPlayer
  32. local Mouse = LocalPlayer:GetMouse()
  33. local Workspace = game:GetService("Workspace")
  34. local GuiService = game:GetService("GuiService")
  35. local RunService = game:GetService("RunService")
  36. local Heartbeat = RunService.Heartbeat
  37. local CurrentCamera = Workspace.CurrentCamera
  38. local Drawingnew, Color3fromRGB, Vector2new = Drawing.new
  39. local Color3fromRGB = Color3.fromRGB
  40. local Vector2new = Vector2.new
  41. local GetGuiInset = GuiService.GetGuiInset
  42. local CharacterAdded = LocalPlayer.CharacterAdded
  43. local CharacterAddedWait = CharacterAdded.Wait
  44. local WorldToViewportPoint = CurrentCamera.WorldToViewportPoint
  45. local RaycastParamsnew = RaycastParams.new
  46. local EnumRaycastFilterTypeBlacklist = Enum.RaycastFilterType.Blacklist
  47. local Raycast = Workspace.Raycast
  48. local GetPlayers = Players.GetPlayers
  49. local Instancenew = Instance.new
  50. local IsDescendantOf = Instancenew("Part").IsDescendantOf
  51. local FindFirstChildWhichIsA = Instancenew("Part").FindFirstChildWhichIsA
  52. local FindFirstChild = Instancenew("Part").FindFirstChild
  53. local UserInputService = game:GetService("UserInputService")
  54. local RunService = game:GetService("RunService")
  55. local Camera = game:GetService("Workspace").CurrentCamera
  56. local Enemy
  57. local Render_Lock = nil
  58. local FOV_Circle = Drawing.new("Circle")
  59. FOV_Circle.Filled = false
  60. FOV_Circle.Color = Color3.fromRGB(170, 255, 255)
  61. FOV_Circle.Radius = getgenv().fovradius
  62. FOV_Circle.Thickness = 1
  63. FOV_Circle.Visible = false
  64. FOV_Circle.Position = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2)
  65. local Move_Circle = nil
  66. local accomidationfactor = 0.1
  67. local aorinjectbase = function(a)
  68. rconsoleprint("@@RED@@")
  69. rconsoleprint(a)
  70. end
  71. local aori, aoricammisc, aorisilmisc = nil, nil, nil
  72. local smoothnessstatus, notifstatus, unlockwhendeadstatus, unlockwhenlocalplayerknockedstatus, tracewhentargetradiusstatus, fovcirclestatus, silentfovcirclestatus = "false", "false", "false", "false", "false", "false", "false"
  73. local smoothnessvalue, predictionvalue, silpredictionvalue = "Default", "Default", "Default"
  74. local predictionstatus, undergroundresolverstatus, silgrabbedvalue, silkodcheckstatus = "true", "true", "true", "true"
  75. local aorinjectstatus = "Not Loaded"
  76. local silpredictionstatus, silentaimstatus = "Enabled", "Enabled"
  77. local fovvalue = "60"
  78. local silentfovvalue = "40"
  79. local keybindvalue = "v"
  80.  
  81. getgenv().Aorinject = {
  82. Enabled = true,
  83. ShowFOV = false,
  84. FOV = 40,
  85. FOVSides = 25,
  86. FOVColour = Color3fromRGB(255, 255, 255),
  87. VisibleCheck = true,
  88. HitChance = 100,
  89. Selected = nil,
  90. SelectedPart = nil,
  91. TargetPart = {"Head", "UpperTorso", "HumanoidRootPart", "LowerTorso", "LeftLowerArm", "RightLowerArm", "LeftUpperArm", "RightUpperArm", "LeftLowerLeg", "LeftUpperLeg", "RightLowerLeg", "RightUpperLeg"},
  92. }
  93.  
  94. local circle = Drawingnew("Circle")
  95. circle.Transparency = 0.4
  96. circle.Thickness = 0.8
  97. circle.Color = Aorinject.FOVColour
  98. circle.Filled = false
  99. Aorinject.FOVCircle = circle
  100.  
  101. function Aorinject.UpdateFOV()
  102. if not (circle) then
  103. return
  104. end
  105. circle.Visible = Aorinject.ShowFOV
  106. circle.Radius = Aorinject.FOV
  107. circle.Position = Vector2new(Mouse.X, Mouse.Y + GetGuiInset(GuiService).Y)
  108. circle.NumSides = Aorinject.FOVSides
  109. circle.Color = Aorinject.FOVColour
  110. return circle
  111. end
  112.  
  113. function Aorinject.IsPartVisible(Part, PartDescendant)
  114. local Character = LocalPlayer.Character or CharacterAddedWait(CharacterAdded)
  115. local Origin = CurrentCamera.CFrame.Position
  116. local _, OnScreen = WorldToViewportPoint(CurrentCamera, Part.Position)
  117. if (OnScreen) then
  118. local raycastParams = RaycastParamsnew()
  119. raycastParams.FilterType = EnumRaycastFilterTypeBlacklist
  120. raycastParams.FilterDescendantsInstances = {Character, CurrentCamera}
  121. local Result = Raycast(Workspace, Origin, Part.Position - Origin, raycastParams)
  122. if (Result) then
  123. local PartHit = Result.Instance
  124. local Visible = (not PartHit or IsDescendantOf(PartHit, PartDescendant))
  125. return Visible
  126. end
  127. end
  128. return false
  129. end
  130.  
  131. function Aorinject.Raycast(Origin, Destination, UnitMultiplier)
  132. if (typeof(Origin) == "Vector3" and typeof(Destination) == "Vector3") then
  133. if (not UnitMultiplier) then UnitMultiplier = 1 end
  134. local Direction = (Destination - Origin).Unit * UnitMultiplier
  135. local Result = Raycast(Workspace, Origin, Direction)
  136. if (Result) then
  137. local Normal = Result.Normal
  138. local Material = Result.Material
  139. return Direction, Normal, Material
  140. end
  141. end
  142. return nil
  143. end
  144.  
  145. function Aorinject.Character(Player)
  146. return Player.Character
  147. end
  148.  
  149. function Aorinject.CheckHealth(Player)
  150. local Character = Aorinject.Character(Player)
  151. local Humanoid = FindFirstChildWhichIsA(Character, "Humanoid")
  152. local Health = (Humanoid and Humanoid.Health or 0)
  153. return Health > 0
  154. end
  155.  
  156. function Aorinject.Check()
  157. return (Aorinject.Enabled == true and Aorinject.Selected ~= LocalPlayer and Aorinject.SelectedPart ~= nil)
  158. end
  159. Aorinject.checkSilentAim = Aorinject.Check
  160.  
  161. function Aorinject.GetClosestTargetPartToCursor(Character)
  162. local TargetParts = Aorinject.TargetPart
  163.  
  164. local ClosestPart = nil
  165. local ClosestPartPosition = nil
  166. local ClosestPartOnScreen = false
  167. local ClosestPartMagnitudeFromMouse = nil
  168. local ShortestDistance = 1/0
  169. local function CheckTargetPart(TargetPart)
  170. if (typeof(TargetPart) == "string") then
  171. TargetPart = FindFirstChild(Character, TargetPart)
  172. end
  173. if not (TargetPart) then
  174. return
  175. end
  176. local PartPos, onScreen = WorldToViewportPoint(CurrentCamera, TargetPart.Position)
  177. local GuiInset = GetGuiInset(GuiService)
  178. local Magnitude = (Vector2new(PartPos.X, PartPos.Y - GuiInset.Y) - Vector2new(Mouse.X, Mouse.Y)).Magnitude
  179. if (Magnitude < ShortestDistance) then
  180. ClosestPart = TargetPart
  181. ClosestPartPosition = PartPos
  182. ClosestPartOnScreen = onScreen
  183. ClosestPartMagnitudeFromMouse = Magnitude
  184. ShortestDistance = Magnitude
  185. end
  186. end
  187. if (typeof(TargetParts) == "string") then
  188. if (TargetParts == "All") then
  189. for _, v in ipairs(Character:GetChildren()) do
  190. if not (v:IsA("BasePart")) then
  191. continue
  192. end
  193. CheckTargetPart(v)
  194. end
  195. else
  196. CheckTargetPart(TargetParts)
  197. end
  198. end
  199. if (typeof(TargetParts) == "table") then
  200. for _, TargetPartName in ipairs(TargetParts) do
  201. CheckTargetPart(TargetPartName)
  202. end
  203. end
  204. return ClosestPart, ClosestPartPosition, ClosestPartOnScreen, ClosestPartMagnitudeFromMouse
  205. end
  206.  
  207. function Aorinject.GetClosestPlayerToCursor()
  208. local TargetPart = nil
  209. local ClosestPlayer = nil
  210. local ShortestDistance = 1/0
  211. for _, Player in ipairs(GetPlayers(Players)) do
  212. local Character = Aorinject.Character(Player)
  213. if Character then
  214. local TargetPartTemp, _, _, Magnitude = Aorinject.GetClosestTargetPartToCursor(Character)
  215. if (TargetPartTemp and Aorinject.CheckHealth(Player)) then
  216. if (circle.Radius > Magnitude and Magnitude < ShortestDistance) then
  217. if (Aorinject.VisibleCheck and not Aorinject.IsPartVisible(TargetPartTemp, Character)) then continue end
  218. ClosestPlayer = Player
  219. ShortestDistance = Magnitude
  220. TargetPart = TargetPartTemp
  221. end
  222. end
  223. end
  224. end
  225. Aorinject.Selected = ClosestPlayer
  226. Aorinject.SelectedPart = TargetPart
  227. end
  228.  
  229. Heartbeat:Connect(function()
  230. Aorinject.UpdateFOV()
  231. Aorinject.GetClosestPlayerToCursor()
  232. if Aorinject.Selected and Aorinject.Selected ~= game.Players.LocalPlayer and Aorinject.Selected.Character:WaitForChild("BodyEffects")["K.O"].Value == false and Aorinject.Selected.Character:FindFirstChild("GRABBING_CONSTRAINT") == false then
  233. Aorinject.SelectedPart.Velocity = Vector3.new(Aorinject.SelectedPart.Velocity.X, 0, Aorinject.SelectedPart.Velocity.Z)
  234. Aorinject.SelectedPart.AssemblyLinearVelocity = Vector3.new(Aorinject.SelectedPart.Velocity.X, 0, Aorinject.SelectedPart.Velocity.Z)
  235. end
  236. end)
  237.  
  238. Move_Circle = RunService.RenderStepped:Connect(function()
  239. FOV_Circle.Position = Vector2.new(UserInputService:GetMouseLocation().X, UserInputService:GetMouseLocation().Y)
  240. end)
  241.  
  242. function InRadius()
  243. local Target = nil
  244. local Distance = 9e9
  245. local Camera = game:GetService("Workspace").CurrentCamera
  246. for _, v in pairs(Players:GetPlayers()) do
  247. if v ~= LocalPlayer and v.Character and v.Character[Settings.Head] and v.Character[Settings.Humanoid] and v.Character.BodyEffects['K.O'].Value == false and
  248. v.Character[Settings.Humanoid].Health > 0 then
  249. local Enemy = v.Character
  250. local CastingFrom = CFrame.new(Camera.CFrame.Position, Enemy[Settings.Head].CFrame.Position) *
  251. CFrame.new(0, 0, -4)
  252. local RayCast = Ray.new(CastingFrom.Position, CastingFrom.LookVector * 9000)
  253. local World, ToSpace = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(RayCast,
  254. {LocalPlayer.Character[Settings.Head]});
  255. local RootWorld = (Enemy[Settings.Head].CFrame.Position - ToSpace).magnitude
  256. if RootWorld < 4 then
  257. local RootPartPosition, Visible = Camera:WorldToViewportPoint(Enemy[Settings.Head].Position)
  258. if Visible then
  259. local Real_Magnitude = (Vector2.new(Mouse.X, Mouse.Y) -
  260. Vector2.new(RootPartPosition.X, RootPartPosition.Y)).Magnitude
  261. if Real_Magnitude < Distance and Real_Magnitude < FOV_Circle.Radius then
  262. Distance = Real_Magnitude
  263. Target = Enemy
  264. end
  265. end
  266. end
  267. end
  268. end
  269. return Target
  270. end
  271. function Aorinject.Check()
  272. if not (Aorinject.Enabled == true and Aorinject.Selected ~= LocalPlayer and Aorinject.SelectedPart ~= nil) then
  273. return false
  274. end
  275. local Character = Aorinject.Character(Aorinject.Selected)
  276. local KOd = Character:WaitForChild("BodyEffects")["K.O"].Value
  277. local Grabbed = Character:FindFirstChild("GRABBING_CONSTRAINT") ~= nil
  278. if getgenv().GrabbedCheck then
  279. if Grabbed then
  280. return false
  281. end
  282. end
  283. if getgenv().KoCheck then
  284. if KOd then
  285. return false
  286. end
  287. end
  288. return true
  289. end
  290. function Aimbot()
  291. pcall(function()
  292. if Locking then
  293. local Camera = game:GetService("Workspace").CurrentCamera
  294. local Predicted_Position = nil
  295. local GetPositionsFromVector3 = nil
  296. local Distance = 9e9
  297. if Enemy ~= nil and Enemy[Settings.Humanoid] and Enemy[Settings.Humanoid].Health > 0 and
  298. getgenv().SmoothnessValue and getgenv().PredictionState then
  299. Render_Lock = RunService.Stepped:Connect(function()
  300. pcall(function()
  301. if getgenv().TracerRadius then
  302. local RootPartPosition = Camera:WorldToViewportPoint(Enemy[Settings.Head].Position)
  303. local Real_Magnitude = (Vector2.new(Mouse.X, Mouse.Y) -
  304. Vector2.new(RootPartPosition.X, RootPartPosition.Y)).Magnitude
  305. if Real_Magnitude < Distance and Real_Magnitude < FOV_Circle.Radius then
  306. if Locking and Enemy ~= nil and Enemy[Settings.Humanoid] and
  307. Enemy[Settings.Humanoid].Health > 0 and getgenv().CamUndergroundResolver then
  308. local hrp = Enemy.HumanoidRootPart
  309. hrp.Velocity = Vector3.new(hrp.Velocity.X, 0, hrp.Velocity.Z)
  310. hrp.AssemblyLinearVelocity = Vector3.new(hrp.Velocity.X, 0, hrp.Velocity.Z)
  311. end
  312. if Locking and Enemy ~= nil and Enemy[Settings.Humanoid] and
  313. Enemy[Settings.Humanoid].Health > 0 then
  314. Predicted_Position = Enemy[Settings.Head].Position +
  315. (Enemy[Settings.Head].AssemblyLinearVelocity *
  316. getgenv().prediction + Settings.NeckOffSet)
  317. GetPositionsFromVector3 = Camera:WorldToScreenPoint(Predicted_Position)
  318. mousemoverel((GetPositionsFromVector3.X - Mouse.X) / getgenv().smoothness,
  319. (GetPositionsFromVector3.Y - Mouse.Y) / getgenv().smoothness)
  320. elseif Locking == false then
  321. Enemy = nil
  322. elseif Enemy == nil then
  323. Locking = false
  324. end
  325. end
  326. elseif getgenv().TracerRadius == false then
  327. if Locking and Enemy ~= nil and Enemy[Settings.Humanoid] and Enemy[Settings.Humanoid].Health >
  328. 0 and getgenv().CamUndergroundResolver then
  329. local hrp = Enemy.HumanoidRootPart
  330. hrp.Velocity = Vector3.new(hrp.Velocity.X, 0, hrp.Velocity.Z)
  331. hrp.AssemblyLinearVelocity = Vector3.new(hrp.Velocity.X, 0, hrp.Velocity.Z)
  332. end
  333. if Locking and Enemy ~= nil and Enemy[Settings.Humanoid] and Enemy[Settings.Humanoid].Health >
  334. 0 then
  335. Predicted_Position = Enemy[Settings.Head].Position +
  336. (Enemy[Settings.Head].AssemblyLinearVelocity *
  337. getgenv().prediction + Settings.NeckOffSet)
  338. GetPositionsFromVector3 = Camera:WorldToScreenPoint(Predicted_Position)
  339. mousemoverel((GetPositionsFromVector3.X - Mouse.X) / getgenv().smoothness,
  340. (GetPositionsFromVector3.Y - Mouse.Y) / getgenv().smoothness)
  341. elseif Locking == false then
  342. Enemy = nil
  343. elseif Enemy == nil then
  344. Locking = false
  345. end
  346. end
  347. end)
  348. end)
  349. elseif Enemy ~= nil and Enemy[Settings.Humanoid] and Enemy[Settings.Humanoid].Health > 0 and
  350. getgenv().SmoothnessValue == false and getgenv().PredictionState then
  351. Render_Lock = RunService.Stepped:Connect(function()
  352. pcall(function()
  353. if getgenv().TracerRadius then
  354. local RootPartPosition = Camera:WorldToViewportPoint(Enemy[Settings.Head].Position)
  355. local Real_Magnitude = (Vector2.new(Mouse.X, Mouse.Y) -
  356. Vector2.new(RootPartPosition.X, RootPartPosition.Y)).Magnitude
  357. if Real_Magnitude < Distance and Real_Magnitude < FOV_Circle.Radius then
  358. if Locking and Enemy ~= nil and Enemy[Settings.Humanoid] and
  359. Enemy[Settings.Humanoid].Health > 0 and getgenv().CamUndergroundResolver then
  360. local hrp = Enemy.HumanoidRootPart
  361. hrp.Velocity = Vector3.new(hrp.Velocity.X, 0, hrp.Velocity.Z)
  362. hrp.AssemblyLinearVelocity = Vector3.new(hrp.Velocity.X, 0, hrp.Velocity.Z)
  363. end
  364. if Locking and Enemy ~= nil and Enemy[Settings.Humanoid] and
  365. Enemy[Settings.Humanoid].Health > 0 then
  366. Predicted_Position = Enemy[Settings.Head].Position +
  367. (Enemy[Settings.Head].AssemblyLinearVelocity *
  368. getgenv().prediction + Settings.NeckOffSet)
  369. GetPositionsFromVector3 = Camera:WorldToScreenPoint(Predicted_Position)
  370. mousemoverel((GetPositionsFromVector3.X - Mouse.X) / 0.55,
  371. (GetPositionsFromVector3.Y - Mouse.Y) / 0.55)
  372. elseif Locking == false then
  373. Enemy = nil
  374. elseif Enemy == nil then
  375. Locking = false
  376. end
  377. end
  378. elseif getgenv().TracerRadius == false then
  379. if Locking and Enemy ~= nil and Enemy[Settings.Humanoid] and Enemy[Settings.Humanoid].Health >
  380. 0 and getgenv().CamUndergroundResolver then
  381. local hrp = Enemy.HumanoidRootPart
  382. hrp.Velocity = Vector3.new(hrp.Velocity.X, 0, hrp.Velocity.Z)
  383. hrp.AssemblyLinearVelocity = Vector3.new(hrp.Velocity.X, 0, hrp.Velocity.Z)
  384. end
  385. if Locking and Enemy ~= nil and Enemy[Settings.Humanoid] and Enemy[Settings.Humanoid].Health >
  386. 0 then
  387. Predicted_Position = Enemy[Settings.Head].Position +
  388. (Enemy[Settings.Head].AssemblyLinearVelocity *
  389. getgenv().prediction + Settings.NeckOffSet)
  390. GetPositionsFromVector3 = Camera:WorldToScreenPoint(Predicted_Position)
  391. mousemoverel((GetPositionsFromVector3.X - Mouse.X) / 0.55,
  392. (GetPositionsFromVector3.Y - Mouse.Y) / 0.55)
  393. elseif Locking == false then
  394. Enemy = nil
  395. elseif Enemy == nil then
  396. Locking = false
  397. end
  398. end
  399. end)
  400. end)
  401. elseif Enemy ~= nil and Enemy[Settings.Humanoid] and Enemy[Settings.Humanoid].Health > 0 and
  402. getgenv().SmoothnessValue and getgenv().PredictionState == false then
  403. Render_Lock = RunService.Stepped:Connect(function()
  404. pcall(function()
  405. if getgenv().TracerRadius then
  406. local RootPartPosition = Camera:WorldToViewportPoint(Enemy[Settings.Head].Position)
  407. local Real_Magnitude = (Vector2.new(Mouse.X, Mouse.Y) -
  408. Vector2.new(RootPartPosition.X, RootPartPosition.Y)).Magnitude
  409. if Real_Magnitude < Distance and Real_Magnitude < FOV_Circle.Radius then
  410. if Locking and Enemy ~= nil and Enemy[Settings.Humanoid] and
  411. Enemy[Settings.Humanoid].Health > 0 and getgenv().CamUndergroundResolver then
  412. local hrp = Enemy.HumanoidRootPart
  413. hrp.Velocity = Vector3.new(hrp.Velocity.X, 0, hrp.Velocity.Z)
  414. hrp.AssemblyLinearVelocity = Vector3.new(hrp.Velocity.X, 0, hrp.Velocity.Z)
  415. end
  416. if Locking and Enemy ~= nil and Enemy[Settings.Humanoid] and
  417. Enemy[Settings.Humanoid].Health > 0 then
  418. Predicted_Position = Enemy[Settings.Head].Position
  419. GetPositionsFromVector3 = Camera:WorldToScreenPoint(Predicted_Position)
  420. mousemoverel((GetPositionsFromVector3.X - Mouse.X) / getgenv().smoothness,
  421. (GetPositionsFromVector3.Y - Mouse.Y) / getgenv().smoothness)
  422. elseif Locking == false then
  423. Enemy = nil
  424. elseif Enemy == nil then
  425. Locking = false
  426. end
  427. end
  428. elseif getgenv().TracerRadius == false then
  429. if Locking and Enemy ~= nil and Enemy[Settings.Humanoid] and Enemy[Settings.Humanoid].Health >
  430. 0 and getgenv().CamUndergroundResolver then
  431. local hrp = Enemy.HumanoidRootPart
  432. hrp.Velocity = Vector3.new(hrp.Velocity.X, 0, hrp.Velocity.Z)
  433. hrp.AssemblyLinearVelocity = Vector3.new(hrp.Velocity.X, 0, hrp.Velocity.Z)
  434. end
  435. if Locking and Enemy ~= nil and Enemy[Settings.Humanoid] and Enemy[Settings.Humanoid].Health >
  436. 0 then
  437. Predicted_Position = Enemy[Settings.Head].Position
  438. GetPositionsFromVector3 = Camera:WorldToScreenPoint(Predicted_Position)
  439. mousemoverel((GetPositionsFromVector3.X - Mouse.X) / getgenv().smoothness,
  440. (GetPositionsFromVector3.Y - Mouse.Y) / getgenv().smoothness)
  441. elseif Locking == false then
  442. Enemy = nil
  443. elseif Enemy == nil then
  444. Locking = false
  445. end
  446. end
  447. end)
  448. end)
  449. elseif Enemy ~= nil and Enemy[Settings.Humanoid] and Enemy[Settings.Humanoid].Health > 0 and
  450. getgenv().SmoothnessValue == false and getgenv().PredictionState == false then
  451. Render_Lock = RunService.Stepped:Connect(function()
  452. pcall(function()
  453. if getgenv().TracerRadius then
  454. local RootPartPosition = Camera:WorldToViewportPoint(Enemy[Settings.Head].Position)
  455. local Real_Magnitude = (Vector2.new(Mouse.X, Mouse.Y) -
  456. Vector2.new(RootPartPosition.X, RootPartPosition.Y)).Magnitude
  457. if Real_Magnitude < Distance and Real_Magnitude < FOV_Circle.Radius then
  458. if Locking and Enemy ~= nil and Enemy[Settings.Humanoid] and
  459. Enemy[Settings.Humanoid].Health > 0 and getgenv().CamUndergroundResolver then
  460. local hrp = Enemy.HumanoidRootPart
  461. hrp.Velocity = Vector3.new(hrp.Velocity.X, 0, hrp.Velocity.Z)
  462. hrp.AssemblyLinearVelocity = Vector3.new(hrp.Velocity.X, 0, hrp.Velocity.Z)
  463. end
  464. if Locking and Enemy ~= nil and Enemy[Settings.Humanoid] and
  465. Enemy[Settings.Humanoid].Health > 0 then
  466. Predicted_Position = Enemy[Settings.Head].Position
  467. GetPositionsFromVector3 = Camera:WorldToScreenPoint(Predicted_Position)
  468. mousemoverel((GetPositionsFromVector3.X - Mouse.X) / 0.6,
  469. (GetPositionsFromVector3.Y - Mouse.Y) / 0.6)
  470. elseif Locking == false then
  471. Enemy = nil
  472. elseif Enemy == nil then
  473. Locking = false
  474. end
  475. end
  476. elseif getgenv().TracerRadius == false then
  477. if Locking and Enemy ~= nil and Enemy[Settings.Humanoid] and Enemy[Settings.Humanoid].Health >
  478. 0 and getgenv().CamUndergroundResolver then
  479. local hrp = Enemy.HumanoidRootPart
  480. hrp.Velocity = Vector3.new(hrp.Velocity.X, 0, hrp.Velocity.Z)
  481. hrp.AssemblyLinearVelocity = Vector3.new(hrp.Velocity.X, 0, hrp.Velocity.Z)
  482. end
  483. if Locking and Enemy ~= nil and Enemy[Settings.Humanoid] and Enemy[Settings.Humanoid].Health >
  484. 0 then
  485. Predicted_Position = Enemy[Settings.Head].Position
  486. GetPositionsFromVector3 = Camera:WorldToScreenPoint(Predicted_Position)
  487. mousemoverel((GetPositionsFromVector3.X - Mouse.X) / 0.6,
  488. (GetPositionsFromVector3.Y - Mouse.Y) / 0.6)
  489. elseif Locking == false then
  490. Enemy = nil
  491. elseif Enemy == nil then
  492. Locking = false
  493. end
  494. end
  495. end)
  496. end)
  497. end
  498. end
  499. end)
  500. end
  501.  
  502. RunService.Stepped:Connect(function()
  503. if getgenv().UnlockWhenTargetDies then
  504. if Locking and Enemy ~= nil and Enemy[Settings.Humanoid] then
  505. if Enemy.BodyEffects['K.O'].Value == true and Enemy[Settings.Humanoid] then
  506. Locking = false
  507. Render_Lock:Disconnect()
  508. end
  509. end
  510. end
  511. if getgenv().UnlockWhenPlayerDies then
  512. if game.Players.LocalPlayer.Character.BodyEffects['K.O'].Value == true or
  513. game.Players.LocalPlayer.Character.Humanoid.Health <= 0 then
  514. Locking = false
  515. Render_Lock:Disconnect()
  516. end
  517. end
  518. end)
  519.  
  520. rconsolename("purpware (v.DEATH)")
  521. function aorimain()
  522. aorinjectbase([[
  523.  
  524. Type 1 then press enter to load. this is a experimental script jsyk
  525. [1] Load Purpware []] ..aorinjectstatus ..[[]
  526. [2] Camlock Settings
  527. [3] Silent-Aim Settings
  528.  
  529. [X] Exit
  530. ]])
  531. aori = rconsoleinput("")
  532. aoriresponse()
  533. end
  534.  
  535. function aoricammiscs()
  536. aorinjectbase([[
  537. [Camlock Settings]
  538.  
  539.  
  540. [0] Change FOV Radius []] ..fovvalue ..[[]
  541. [1] Notifications []] ..notifstatus ..[[]
  542. [2] Smoothness []] ..smoothnessstatus ..[[]
  543. [3] Smoothness Value []] ..smoothnessvalue ..[[]
  544. [4] Prediction []] ..predictionstatus ..[[]
  545. [5] Prediction Value []] ..predictionvalue ..[[]
  546. [6] Unlock when target dies []] ..unlockwhendeadstatus ..[[]
  547. [7] Unlock when you die []] ..unlockwhenlocalplayerknockedstatus ..[[]
  548. [8] Trace only if target is in radius []] ..tracewhentargetradiusstatus ..[[]
  549. [9] Show FOV Circle []] ..fovcirclestatus ..[[]
  550. [10] Keybind []] ..keybindvalue ..[[]
  551.  
  552. [X] Go back to main menu
  553. ]])
  554. aoricammisc = rconsoleinput("")
  555. aoricammiscresponse()
  556. end
  557.  
  558. function aorisilmiscs()
  559. aorinjectbase([[
  560. [Silent-Aim Settings]
  561.  
  562.  
  563. [0] Enable / Disable Silent-Aim []] ..silentaimstatus ..[[]
  564. [1] Prediction Value []] ..silpredictionvalue ..[[]
  565. [2] Prediction []] ..silpredictionstatus ..[[]
  566. [3] Grabbed Check []] ..silgrabbedvalue ..[[]
  567. [4] K.O Check []] ..silkodcheckstatus ..[[]
  568. [5] Change FOV Radius []] ..silentfovvalue ..[[]
  569. [6] Show FOV Circle []] ..silentfovcirclestatus ..[[]
  570.  
  571. [X] Go back to main menu
  572. ]])
  573. aorisilmisc = rconsoleinput("")
  574. aorisilmiscresponse()
  575. end
  576.  
  577. function aoriresponse()
  578. if aori == "1" and getgenv().loaded == false then
  579. Mouse.KeyDown:Connect(function(KeyPressed)
  580. if KeyPressed == string.lower(getgenv().keybind) then
  581. pcall(function()
  582. if Locking == false then
  583. Locking = true
  584. Aimbot()
  585. Enemy = InRadius()
  586. if getgenv().Notifications then
  587. game.StarterGui:SetCore("SendNotification", {
  588. Title = "aorinject",
  589. Text = "Target: " .. tostring(Enemy.Humanoid.DisplayName .. ".")
  590. })
  591. end
  592. if Enemy == nil then
  593. Locking = false
  594. end
  595. elseif Locking == true then
  596. if getgenv().Notifications then
  597. game.StarterGui:SetCore("SendNotification", {
  598. Title = "Purpware",
  599. Text = "Unlocked."
  600. })
  601. end
  602. Locking = false
  603. Render_Lock:Disconnect()
  604. end
  605. end)
  606. end
  607. end)
  608. AorinjectSettings.SilentAim = true
  609. getgenv().loaded = true
  610. aorinjectstatus = "Loaded"
  611. rconsoleclear()
  612. aorimain()
  613. elseif aori == "1" and getgenv().loaded == true then
  614. rconsoleprint([[Already Loaded
  615. ]])
  616. aori = rconsoleinput("")
  617. aoriresponse()
  618. elseif aori == "X" or aori == "x" then
  619. game.Players.LocalPlayer:Kick("Purpware Overload Kick")
  620. elseif aori == "2" then
  621. rconsoleclear()
  622. aoricammiscs()
  623. elseif aori == "3" then
  624. rconsoleclear()
  625. aorisilmiscs()
  626. else
  627. rconsoleprint([[Unknown Command
  628. ]])
  629. aori = rconsoleinput("")
  630. aoriresponse()
  631. end
  632. end
  633.  
  634. function aoricammiscresponse()
  635. if aoricammisc == "1" then
  636. if getgenv().Notifications == true then
  637. getgenv().Notifications = false
  638. notifstatus = "false"
  639. elseif getgenv().Notifications == false then
  640. getgenv().Notifications = true
  641. notifstatus = "true"
  642. end
  643. rconsoleclear()
  644. aoricammiscs()
  645. elseif aoricammisc == "2" then
  646. if getgenv().SmoothnessValue == true then
  647. getgenv().SmoothnessValue = false
  648. smoothnessstatus = "false"
  649. elseif getgenv().SmoothnessValue == false then
  650. getgenv().SmoothnessValue = true
  651. smoothnessstatus = "true"
  652. end
  653. rconsoleclear()
  654. aoricammiscs()
  655. elseif aoricammisc == "3" then
  656. rconsoleprint("Smoothness: ")
  657. smoothnessvalue = rconsoleinput("")
  658. getgenv().smoothness = tonumber(smoothnessvalue)
  659. rconsoleclear()
  660. aoricammiscs()
  661. elseif aoricammisc == "4" then
  662. if getgenv().PredictionState == true then
  663. getgenv().PredictionState = false
  664. predictionstatus = "false"
  665. elseif getgenv().PredictionState == false then
  666. getgenv().PredictionState = true
  667. predictionstatus = "true"
  668. end
  669. rconsoleclear()
  670. aoricammiscs()
  671. elseif aoricammisc == "5" then
  672. rconsoleprint("Prediction: ")
  673. predictionvalue = rconsoleinput("")
  674. getgenv().prediction = tonumber(predictionvalue)
  675. rconsoleclear()
  676. aoricammiscs()
  677. elseif aoricammisc == "6" then
  678. if getgenv().UnlockWhenTargetDies == true then
  679. getgenv().UnlockWhenTargetDies = false
  680. unlockwhendeadstatus = "false"
  681. elseif getgenv().UnlockWhenTargetDies == false then
  682. getgenv().UnlockWhenTargetDies = true
  683. unlockwhendeadstatus = "true"
  684. end
  685. rconsoleclear()
  686. aoricammiscs()
  687. elseif aoricammisc == "7" then
  688. if getgenv().UnlockWhenPlayerDies == true then
  689. getgenv().UnlockWhenPlayerDies = false
  690. unlockwhenlocalplayerknockedstatus = "false"
  691. elseif getgenv().UnlockWhenPlayerDies == false then
  692. getgenv().UnlockWhenPlayerDies = true
  693. unlockwhenlocalplayerknockedstatus = "true"
  694. end
  695. rconsoleclear()
  696. aoricammiscs()
  697. elseif aoricammisc == "8" then
  698. if getgenv().TracerRadius == true then
  699. getgenv().TracerRadius = false
  700. tracewhentargetradiusstatus = "false"
  701. elseif getgenv().TracerRadius == false then
  702. getgenv().TracerRadius = true
  703. tracewhentargetradiusstatus = "true"
  704. end
  705. rconsoleclear()
  706. aoricammiscs()
  707. elseif aoricammisc == "9" then
  708. if FOV_Circle.Visible == true then
  709. FOV_Circle.Visible = false
  710. fovcirclestatus = "false"
  711. elseif FOV_Circle.Visible == false then
  712. FOV_Circle.Visible = true
  713. fovcirclestatus = "true"
  714. end
  715. rconsoleclear()
  716. aoricammiscs()
  717. elseif aoricammisc == "10" then
  718. rconsoleprint("Keybind: ")
  719. keybindvalue = rconsoleinput("")
  720. getgenv().keybind = keybindvalue
  721. rconsoleclear()
  722. aoricammiscs()
  723. elseif aoricammisc == "0" then
  724. rconsoleprint("FOV: ")
  725. fovvalue = rconsoleinput("")
  726. FOV_Circle.Radius = tonumber(fovvalue)
  727. rconsoleclear()
  728. aoricammiscs()
  729. elseif aoricammisc == "X" or aoricammisc == "x" then
  730. rconsoleclear()
  731. aorimain()
  732. else
  733. rconsoleprint([[Unknown Command
  734. ]])
  735. aoricammisc = rconsoleinput("")
  736. aoricammiscresponse()
  737. end
  738. end
  739.  
  740. function aorisilmiscresponse()
  741. if aorisilmisc == "0" then
  742. if getgenv().AorinjectSettings.SilentAim == true then
  743. getgenv().AorinjectSettings.SilentAim = false
  744. silentaimstatus = "Disabled"
  745. elseif getgenv().AorinjectSettings.SilentAim == false then
  746. getgenv().AorinjectSettings.SilentAim = true
  747. silentaimstatus = "Enabled"
  748. end
  749. rconsoleclear()
  750. aorisilmiscs()
  751. elseif aorisilmisc == "1" then
  752. rconsoleprint("Prediction: ")
  753. silpredictionvalue = rconsoleinput("")
  754. getgenv().AorinjectSettings.Prediction = tonumber(silpredictionvalue)
  755. rconsoleclear()
  756. aorisilmiscs()
  757. elseif aorisilmisc == "2" then
  758. if getgenv().AorinjectSettings.PredictionStatus == true then
  759. getgenv().AorinjectSettings.PredictionStatus = false
  760. silpredictionstatus = "Disabled"
  761. elseif getgenv().AorinjectSettings.PredictionStatus == false then
  762. getgenv().AorinjectSettings.PredictionStatus = true
  763. silpredictionstatus = "Enabled"
  764. end
  765. rconsoleclear()
  766. aorisilmiscs()
  767. elseif aorisilmisc == "3" then
  768. if getgenv().GrabbedCheck == true then
  769. getgenv().GrabbedCheck = false
  770. silgrabbedvalue = "false"
  771. elseif getgenv().GrabbedCheck == false then
  772. getgenv().GrabbedCheck = true
  773. silgrabbedvalue = "true"
  774. end
  775. rconsoleclear()
  776. aorisilmiscs()
  777. elseif aorisilmisc == "4" then
  778. if getgenv().KoCheck == true then
  779. getgenv().KoCheck = false
  780. silkodcheckstatus = "false"
  781. elseif getgenv().KoCheck == false then
  782. getgenv().KoCheck = true
  783. silkodcheckstatus = "true"
  784. end
  785. rconsoleclear()
  786. aorisilmiscs()
  787. elseif aorisilmisc == "5" then
  788. rconsoleprint("FOV: ")
  789. silentfovvalue = rconsoleinput("")
  790. getgenv().Aorinject.FOV = tonumber(silentfovvalue)
  791. rconsoleclear()
  792. aorisilmiscs()
  793. elseif aorisilmisc == "6" then
  794. if getgenv().Aorinject.ShowFOV == true then
  795. getgenv().Aorinject.ShowFOV = false
  796. silentfovcirclestatus = "false"
  797. elseif getgenv().Aorinject.ShowFOV == false then
  798. getgenv().Aorinject.ShowFOV = true
  799. silentfovcirclestatus = "true"
  800. end
  801. rconsoleclear()
  802. aorisilmiscs()()
  803. elseif aorisilmisc == "X" or aorisilmisc == "x" then
  804. rconsoleclear()
  805. aorimain()
  806. else
  807. rconsoleprint([[Unknown Command
  808. ]])
  809. aorisilmisc = rconsoleinput("")
  810. aorisilmiscresponse()
  811. end
  812. end
  813.  
  814. local __index
  815. __index = hookmetamethod(game, "__index", function(t, k)
  816. if (t:IsA("Mouse") and (k == "Hit" or k == "Target") and Aorinject.Check()) then
  817. local SelectedPart = Aorinject.SelectedPart
  818. if (getgenv().AorinjectSettings.SilentAim and (k == "Hit" or k == "Target")) then
  819. local Hit = SelectedPart.CFrame + (SelectedPart.Velocity * getgenv().AorinjectSettings.Prediction)
  820. return (k == "Hit" and Hit or SelectedPart)
  821. end
  822. end
  823. return __index(t, k)
  824. end)
  825.  
  826. rconsoleclear()
  827. aorimain()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement