Advertisement
ZV0K

Zerxal Streamable ⚫

Oct 8th, 2023 (edited)
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.42 KB | None | 0 0
  1. getgenv().Zerxal = {
  2. Intro = {
  3. ["Enabled"] = true, --//will pop up an intro
  4. ["LowerGraphics"] = false, --//basicly boost ur fps little bit and also will enable macro
  5. ["ClearRConsole"] = false, --//only krnl function but it clears console when u use print notification
  6. },
  7. VisualEffects = {
  8. ["ColorCorrection"] = false, --//basicly like shaders
  9. ["ColorCorrectionBrightness"] = 0, --//brightness
  10. ["ColorCorrectionSaturation"] = 5, --//Saturation
  11. ["ColorCorrectionContrast"] = 2 --//Contrast
  12. },
  13. Notification = { --//notificationMode will be added soon
  14. ["SilentMode"] = false, --//turns off intro, will enable clearrconsole, will turn off notificationmode and printmode and will turn off FOV
  15. ["PrintMode"] = false, --// print out loading press F9 to see
  16. ["NotificationMode"] = false --//will send a notifications of loading process
  17. },
  18. }
  19.  
  20.  
  21.  
  22. getgenv().silentaim = {
  23. Silent = {
  24. ["SilentToggle"] = "T", --//toggles silent aim to be on/off
  25. ["Enabled"] = true, --//Enbles Silent Aim
  26. ["AimPart"] = "HumanoidRootPart", --"Head", "UpperTorso", "HumanoidRootPart", "LowerTorso", "LeftHand", "RightHand", "LeftLowerArm", "RightLowerArm", "LeftUpperArm", "RightUpperArm", "LeftFoot", "LeftLowerLeg", "LeftUpperLeg", "RightLowerLeg", "RightFoot", "RightUpperLeg"
  27. ["Prediction"] = 0.1211, --//Velocity Prediction of opponent
  28. ["UseHitchance"] = false, --//Turns on Hitchance
  29. ["HitChance"] = 100, --//Value Of Hitchance but i recommend 100
  30. ["ClosestPart"] = false, --//Turns On ClosestPartToMouse
  31. ["ClosestPoint"] = false, --//Turns On ClosestPointToMouse
  32. ["Resolver"] = true, --//Turns On Resolver that doesnt break ur pred and resolves everything that legit aim can
  33. ["AntiCurve"] = false, --//When Someone will be clipping you, youre Curves Of Silentaim evidence wont be able to be seen
  34. ["AntiAimView"] = true, --//When Someone tries to catch u with Aim Viewer theyre Tracer of it gets confussion like u would use legit aim
  35. ["AntiGroundShots"] = true, --//Tries to prevent groundshots if possible
  36. ["AutoPrediction"] = true, --//Will turn on automatic auto prediction that doesnt require sets to be putten inside
  37. ["CustomAutoPrediction"] = false, --//Will turn on automatic autoprediction that will require own sets from table that is down there
  38. ["CustomAutoPredictionDelay"] = 2 --//Puts delays in automatic prediction changes
  39. },
  40. FOV = {
  41. ["Visible"] = true, --//Turns on a circle on ur screen that follows ur mouse
  42. ["Radius"] = 250, --//Size of circle
  43. ["Color1"] = Color3.new(0, 255, 255) --//Color of circle
  44. },
  45.  
  46. Camera = {
  47. ["CameraToggle"] = "Q", --//Keybind to Make ur camera follows opponent
  48. ["Enabled"] = false, --//enables camera lock
  49. ["AimPart"] = "HumanoidRootPart", --//AimPart for Camera to be focused on
  50. ["Prediction"] = 7.24, --// Prediction of Velocity on opponent 1-10
  51. ["SmoothnessValue"] = 0.14, --//Smoothness Value that makes ur camera smoothly goes on ur opponent
  52. ["Smoothness"] = true, --//Enables Smoothness that makes ur camera smooth
  53. ["CameraClosestPart"] = false, --//Makes Ur AimPart be the ClosestOneToCursor
  54. ["CameraRadius"] = false, --// FOV size to focus on who to stick
  55. ["ShowFOV"] = false, --//Turns On FOV
  56. ["Radius"] = 150, --//FOV size
  57. ["Shake"] = false, --// turns on shake that makes ur camera not be focused so much
  58. ["ShakeAgressivness"] = 10 --//agressivness of the shake 1-10
  59. },
  60.  
  61. Checks = {
  62. ["WallCheck"] = true,
  63. ["UnlockedOnDeath"] = true, --//focus on targetting other opponent when u Kill ur opponent
  64. ["GrabbedCheck"] = true, --//prevemts Grabbed player on ground to be focused by silent aim
  65. ["KnockedCheck"] = true, --//prevemts Knocked player on ground to be focused by silent aim
  66. ["CrewCheck"] = true --//Prevents silentaim focusing on ur crew members
  67. },
  68. }
  69.  
  70. local predictionValues = { --Custom autoprediction table
  71. { pingThreshold = 130, predictionValue = 0.151 },
  72. { pingThreshold = 125, predictionValue = 0.149 },
  73. { pingThreshold = 110, predictionValue = 0.146 },
  74. { pingThreshold = 105, predictionValue = 0.138 },
  75. { pingThreshold = 90, predictionValue = 0.136 },
  76. { pingThreshold = 80, predictionValue = 0.134 },
  77. { pingThreshold = 70, predictionValue = 0.131 },
  78. { pingThreshold = 60, predictionValue = 0.1229 },
  79. { pingThreshold = 50, predictionValue = 0.1225 },
  80. { pingThreshold = 40, predictionValue = 0.1256 }
  81. }
  82.  
  83.  
  84.  
  85. repeat wait() until game:IsLoaded()
  86.  
  87. if Zerxal.Notification.PrintMode == true then
  88. print("[Zerxal]: is loading..")
  89. wait(3)
  90. print("[Zerxal]: have successfully bypassed Anti Cheat..")
  91. wait(2)
  92. print("[Zerxal]: Loading Functions..")
  93. wait(3.5)
  94. print(" [Zerxal]: Has been successfully loaded, Enjoy your gameplay.")
  95. end
  96. --//bypass
  97. assert(getrawmetatable)
  98. grm = getrawmetatable(game)
  99. setreadonly(grm, false)
  100. old = grm.__namecall
  101. grm.__namecall = newcclosure(function(self, ...)
  102. local args = {...}
  103. if tostring(args[1]) == "TeleportDetect" then
  104. return
  105. elseif tostring(args[1]) == "CHECKER_1" then
  106. return
  107. elseif tostring(args[1]) == "CHECKER" then
  108. return
  109. elseif tostring(args[1]) == "GUI_CHECK" then
  110. return
  111. elseif tostring(args[1]) == "OneMoreTime" then
  112. return
  113. elseif tostring(args[1]) == "checkingSPEED" then
  114. return
  115. elseif tostring(args[1]) == "BANREMOTE" then
  116. return
  117. elseif tostring(args[1]) == "PERMAIDBAN" then
  118. return
  119. elseif tostring(args[1]) == "KICKREMOTE" then
  120. return
  121. elseif tostring(args[1]) == "BR_KICKPC" then
  122. return
  123. elseif tostring(args[1]) == "BR_KICKMOBILE" then
  124. return
  125. end
  126. return old(self, ...)
  127. end)
  128. --//bypass
  129.  
  130. local silentaim = getgenv().silentaim
  131. local Zerxal = getgenv().Zerxal
  132. if Zerxal.Notification.SilentMode == true then
  133. Zerxal.Notification.PrintMode = false
  134. Zerxal.Notification.NotificationMode = false
  135. Zerxal.Intro.ClearRConsole = true
  136. Zerxal.Intro.Enabled = false
  137. silentaim.FOV.Visible = false
  138. silentaim.Camera.ShowFOV = false
  139. end
  140.  
  141.  
  142.  
  143.  
  144. local lala = game.Players.LocalPlayer
  145. local displayName = lala.DisplayName
  146.  
  147.  
  148. if game:IsLoaded() and Zerxal.Intro.Enabled == true then
  149. local ShowIntro = true
  150.  
  151. local TweenService = game:GetService("TweenService")
  152.  
  153. local Blur = Instance.new("BlurEffect", game.Lighting)
  154.  
  155. local ScreenGui = Instance.new("ScreenGui")
  156.  
  157. local ImageLabel = Instance.new("ImageLabel")
  158.  
  159. Blur.Size = 0
  160.  
  161.  
  162.  
  163. if ShowIntro then
  164.  
  165. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  166. ImageLabel.Parent = ScreenGui
  167. ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  168. ImageLabel.BackgroundTransparency = 1.000
  169. ImageLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
  170. ImageLabel.BorderSizePixel = 0
  171. ImageLabel.Position = UDim2.new(0.327774882, 0, 0.316960156, 0)
  172. ImageLabel.Size = UDim2.new(0, 661, 0, 394)
  173. ImageLabel.Image = "http://www.roblox.com/asset/?id=14685360180"
  174. ImageLabel.ImageTransparency = 1.000
  175.  
  176. local tweenStart = TweenService:Create(Blur, TweenInfo.new(0.70), {Size = 24})
  177. local tweenStart1 = TweenService:Create(ImageLabel, TweenInfo.new(0.70), {ImageTransparency = 0})
  178.  
  179. tweenStart:Play()
  180. tweenStart1:Play()
  181.  
  182. task.wait(7)
  183.  
  184. local tweenEnd = TweenService:Create(Blur, TweenInfo.new(0.80), {Size = 0})
  185. local tweenEnd1 = TweenService:Create(ImageLabel, TweenInfo.new(0.80), {ImageTransparency = 1})
  186.  
  187. tweenEnd:Play()
  188. tweenEnd1:Play()
  189.  
  190. task.wait(1)
  191.  
  192. Blur:Remove()
  193. ScreenGui:Remove()
  194. end
  195. else
  196. end
  197.  
  198.  
  199.  
  200. if not LPH_OBFUSCATED then
  201. LPH_JIT_MAX = function(...)
  202. return (...)
  203. end
  204. LPH_NO_VIRTUALIZE = function(...)
  205. return (...)
  206. end
  207. end
  208.  
  209. LPH_JIT_MAX(
  210. function()
  211. local Players, Client, Mouse, RS, Camera, r =
  212. game:GetService("Players"),
  213. game:GetService("Players").LocalPlayer,
  214. game:GetService("Players").LocalPlayer:GetMouse(),
  215. game:GetService("RunService"),
  216. game.Workspace.CurrentCamera,
  217. math.random
  218.  
  219. local Circle = Drawing.new("Circle")
  220. Circle.Color = silentaim.FOV.Color1
  221. Circle.Transparency = 1
  222. Circle.Thickness = 0.5
  223.  
  224. local CameraCircle = Drawing.new("Circle")
  225. CameraCircle.Color = silentaim.FOV.Color1
  226. CameraCircle.Thickness = 1
  227.  
  228.  
  229. local ttarget
  230. local ttargetrey2
  231. local On
  232.  
  233. local Vec2 = function(property)
  234. return Vector2.new(property.X, property.Y + (game:GetService("GuiService"):GetGuiInset().Y))
  235. end
  236.  
  237. local UpdateSilentFOV = function()
  238. if not Circle then
  239. return Circle
  240. end
  241. Circle.Visible = getgenv().silentaim.FOV["Visible"]
  242. Circle.Radius = getgenv().silentaim.FOV["Radius"] * 3.05
  243. Circle.Position = Vec2(Mouse)
  244.  
  245. return Circle
  246. end
  247.  
  248. local UpdateCameraFOV = function()
  249. if not CameraCircle then
  250. return CameraCircle
  251. end
  252.  
  253. CameraCircle.Visible = getgenv().silentaim.Camera["ShowFOV"]
  254. CameraCircle.Radius = getgenv().silentaim.Camera["Radius"]
  255. CameraCircle.Position = Vec2(Mouse)
  256.  
  257. return CameraCircle
  258. end
  259.  
  260. game.RunService.RenderStepped:Connect(function ()
  261. UpdateCameraFOV()
  262. UpdateSilentFOV()
  263. end)
  264.  
  265.  
  266. local function WallCheck(destination, ignore)
  267. if getgenv().silentaim.Checks.WallCheck then
  268. local Origin = Camera.CFrame.p
  269. local CheckRay = Ray.new(Origin, destination - Origin)
  270. local Hit = game.workspace:FindPartOnRayWithIgnoreList(CheckRay, ignore)
  271. return Hit == nil
  272. else
  273. return true
  274. end
  275. end
  276.  
  277.  
  278. GetClosestToMouse = function()
  279. local Target, Closest = nil, 1 / 0
  280.  
  281. for _, v in pairs(Players:GetPlayers()) do
  282. if (v.Character and v ~= Client and v.Character:FindFirstChild("HumanoidRootPart")) then
  283. local Position, OnScreen = Camera:WorldToScreenPoint(v.Character.HumanoidRootPart.Position)
  284. local Distance = (Vector2.new(Position.X, Position.Y) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude
  285.  
  286. if
  287. (Circle.Radius > Distance and Distance < Closest and OnScreen and
  288. WallCheck(v.Character.HumanoidRootPart.Position, {Client, v.Character}))
  289. then
  290. Closest = Distance
  291. Target = v
  292. end
  293. end
  294. end
  295. return Target
  296. end
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304. function TargetChecks(Target)
  305. if getgenv().silentaim.Checks.UnlockedOnDeath == true and Target.Character then
  306. return Target.Character.BodyEffects["K.O"].Value and true or false
  307. end
  308. return false
  309. end
  310.  
  311. function PredictionictTargets(Target, Value)
  312. return Target.Character[getgenv().silentaim.Silent.AimPart].CFrame +
  313. (Target.Character[getgenv().silentaim.Silent.AimPart].Velocity * Value)
  314. end
  315.  
  316. local WTS = function(Object)
  317. local ObjectVector = Camera:WorldToScreenPoint(Object.Position)
  318. return Vector2.new(ObjectVector.X, ObjectVector.Y)
  319. end
  320.  
  321. local IsOnScreen = function(Object)
  322. local IsOnScreen = Camera:WorldToScreenPoint(Object.Position)
  323. return IsOnScreen
  324. end
  325.  
  326. local FilterObjs = function(Object)
  327. if string.find(Object.Name, "Gun") then
  328. return
  329. end
  330. if table.find({"Part", "MeshPart", "BasePart"}, Object.ClassName) then
  331. return true
  332. end
  333. end
  334. GetClosestBodyPart = function(character)
  335. local ClosestDistance = 1 / 0
  336. local BodyPart = nil
  337. if (character and character:GetChildren()) then
  338. for _, x in next, character:GetChildren() do
  339. if FilterObjs(x) and IsOnScreen(x) then
  340. local Distance = (WTS(x) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude
  341. if getgenv().silentaim.Camera.CameraRadius == true then
  342. if (CameraCircle.Radius > Distance and Distance < ClosestDistance) then
  343. ClosestDistance = Distance
  344. BodyPart = x
  345. end
  346. else
  347. if (Distance < ClosestDistance) then
  348. ClosestDistance = Distance
  349. BodyPart = x
  350. end
  351. end
  352. end
  353. end
  354. end
  355. return BodyPart
  356. end
  357.  
  358. Mouse.KeyDown:Connect(
  359. function(Key)
  360. if (Key == getgenv().silentaim.Camera.CameraToggle:lower()) then
  361. if getgenv().silentaim.Camera.Enabled == true then
  362. On = not On
  363. if On then
  364. ttarget2 = GetClosestToMouse()
  365. else
  366. if ttarget2 ~= nil then
  367. ttarget2 = nil
  368. end
  369. end
  370. end
  371. end
  372. if (Key == getgenv().silentaim.Silent.SilentToggle:lower()) then
  373. if getgenv().silentaim.Silent.Enabled == true then
  374. getgenv().silentaim.Silent.Enabled = false
  375. else
  376. getgenv().silentaim.Silent.Enabled = true
  377. end
  378. end
  379. end
  380. )
  381.  
  382. RS.RenderStepped:Connect(
  383. function()
  384. if ttarget then
  385. if ttarget ~= nil and getgenv().silentaim.Silent.Enabled and getgenv().silentaim.Silent.ClosestPart == true then
  386. getgenv().silentaim.Silent["AimPart"] = tostring(GetClosestBodyPart(ttarget.Character))
  387. end
  388. end
  389. if ttarget2 then
  390. if
  391. ttarget2 ~= nil and not TargetChecks(ttarget2) and getgenv().silentaim.Camera.Enabled and
  392. getgenv().silentaim.Camera.CameraClosestPart == true
  393. then
  394. getgenv().silentaim.Camera["AimPart"] = tostring(GetClosestBodyPart(ttarget2.Character))
  395. end
  396. end
  397. end
  398. )
  399.  
  400. local CameraPredictioniction = function(Target, Value)
  401. return Target.Character[getgenv().silentaim.Camera.AimPart].Position +
  402. (Target.Character[getgenv().silentaim.Camera.AimPart].Velocity / Value)
  403. end
  404.  
  405. RS.RenderStepped:Connect(
  406. function()
  407. if
  408. ttarget2 ~= nil and not TargetChecks(ttarget2) and getgenv().silentaim.Camera.Enabled and
  409. getgenv().silentaim.Camera.Smoothness == true
  410. then
  411. local Main = CFrame.new(Camera.CFrame.p, CameraPredictioniction(ttarget2, getgenv().silentaim.Camera.Prediction))
  412. Camera.CFrame =
  413. Camera.CFrame:Lerp(
  414. Main,
  415. getgenv().silentaim.Camera.SmoothnessValue,
  416. Enum.EasingStyle.Elastic,
  417. Enum.EasingDirection.InOut,
  418. Enum.EasingStyle.Sine,
  419. Enum.EasingDirection.Out
  420. )
  421. elseif ttarget2 ~= nil and getgenv().silentaim.Camera.Enabled and getgenv().silentaim.Camera.Smoothness == false then
  422. Camera.CFrame =
  423. CFrame.new(Camera.CFrame.Position, CameraPredictioniction(ttarget2, getgenv().silentaim.Camera.Prediction))
  424. end
  425. end
  426. )
  427.  
  428. local grmt = getrawmetatable(game)
  429. local index = grmt.__index
  430. local properties = {
  431. "Hit" -- Ill Add more Mouse properties soon,
  432. }
  433. setreadonly(grmt, false)
  434.  
  435. grmt.__index =
  436. newcclosure(
  437. function(self, v)
  438. if Mouse and (table.find(properties, v)) then
  439. ttarget = GetClosestToMouse()
  440. if ttarget ~= nil and getgenv().silentaim.Silent.Enabled and not TargetChecks(ttarget) then
  441. local endpoint = PredictionictTargets(ttarget, getgenv().silentaim.Silent.Prediction)
  442.  
  443. return (table.find(properties, tostring(v)) and endpoint)
  444. end
  445. end
  446. return index(self, v)
  447. end
  448. )
  449. end
  450. )()
  451.  
  452. function AntiCurve()
  453. local character = game.Players.LocalPlayer.Character
  454. if silentaim.Silent.AntiCurve and character and silentaim.Silent.Enabled and character.PrimaryPart then
  455. local characterCf = character.PrimaryPart.CFrame
  456. local target = ttarget.Character.HumanoidRootPart
  457. local targetPos = ttarget.Position
  458. local charPos = character.PrimaryPart.Position
  459. character:SetPrimaryPartCFrame(CFrame.lookAt(charPos, v3(targetPos.X, charPos.Y, targetPos.Z)))
  460. wait()
  461. character:SetPrimaryPartCFrame(characterCf)
  462. end
  463. end
  464.  
  465. local function AntiGroundShots()
  466. if self ~= nil and silentaim.Silent.AntiGroundShots and self.Character.Humanoid:GetState() == Enum.HumanoidStateType.Freefall then
  467. local currentvelocity = self.Character.HumanoidRootPart.Velocity
  468. self.Character.HumanoidRootPart.Velocity = Vector3.new(currentvelocity.X, currentvelocity.Y / 0.5, currentvelocity.Z)
  469. end
  470. end
  471.  
  472. local function getClosestPointOnPart(Part)
  473. local mouseray = Local.Mouse.UnitRay
  474. mouseray = mouseray.Origin + (mouseray.Direction * (Part.Position - mouseray.Origin).Magnitude)
  475. local point =
  476. (mouseray.Y >= (Part.Position - Part.Size / 2).Y and mouseray.Y <= (Part.Position + Part.Size / 2).Y) and
  477. (Part.Position + Vector3.new(0, -Part.Position.Y + mouseray.Y, 0)) or Part.Position
  478. local check = RaycastParams.new()
  479. check.FilterType = Enum.RaycastFilterType.Whitelist
  480. check.FilterDescendantsInstances = {Part}
  481. local ray = Services.Workspace:Raycast(mouseray, (point - mouseray), check)
  482. if ray then
  483. return ray.Position
  484. else
  485. return Local.Mouse.Hit.Position
  486. end
  487. end
  488.  
  489. local function getPingBasedPrediction()
  490. if silentaim.Silent.AutoPrediction then
  491. local ping = game:GetService("Stats").Network.ServerStatsItem["Data Ping"]:GetValue()
  492. local calculatedPrediction = (((ping - 0) / 200) * (0.2 - 0.1)) + 0.1
  493. return silentaim.Silent.Prediction + calculatedPrediction
  494. else
  495. return silentaim.Silent.Prediction
  496. end
  497. end
  498.  
  499. if Zerxal.VisualEffects.AspectRatio == true then
  500.  
  501. end
  502.  
  503. if Zerxal.VisualEffects.ColorCorrection == true then
  504.  
  505. local l = game:GetService("Lighting")
  506.  
  507. local ColorCorrection = Instance.new("ColorCorrectionEffect", l)
  508. ColorCorrection.Brightness = Zerxal.VisualEffects.ColorCorrectionBrightness
  509. ColorCorrection.Contrast = Zerxal.VisualEffects.ColorCorrectionContrast
  510. ColorCorrection.Saturation = Zerxal.VisualEffects.ColorCorrectionSaturation
  511. end
  512.  
  513.  
  514.  
  515.  
  516. local switchDelay = silentaim.Silent.CustomAutoPredictionDelay
  517.  
  518. while wait() do
  519. if silentaim.Silent.CustomAutoPrediction == true then
  520. local pingValue = game:GetService("Stats").Network.ServerStatsItem["Data Ping"]:GetValueString()
  521. local split = string.split(pingValue, '(')
  522. local ping = tonumber(split[1])
  523.  
  524. local newPrediction = silentaim.Silent.Prediction
  525. for _, predictionData in ipairs(predictionValues) do
  526. if ping < predictionData.pingThreshold then
  527. newPrediction = predictionData.predictionValue
  528. break
  529. end
  530. end
  531.  
  532. if silentaim.Silent.Prediction ~= newPrediction then
  533. silentaim.Silent.Prediction = newPrediction
  534. wait(switchDelay)
  535. end
  536. end
  537. end
  538.  
  539. if Zerxal.Intro.LowerGraphics then
  540. for _,v in pairs(workspace:GetDescendants()) do
  541. if v.ClassName == "Part"
  542. or v.ClassName == "SpawnLocation"
  543. or v.ClassName == "WedgePart"
  544. or v.ClassName == "Terrain"
  545. or v.ClassName == "MeshPart" then
  546. v.Material = "Plastic"
  547. end
  548. end
  549. else
  550. end
  551.  
  552. if silentaim.Silent.UseHitchance and silentaim.Silent.Enabled and target then
  553. local function CalculateHitchance()
  554. local targetPosition = game.Workspace:FindFirstChild(silentaim.Silent.AimPart).Position
  555. local aimingPosition = Vector3.new(0, 0, 0)
  556. local distance = (targetPosition - aimingPosition).Magnitude
  557. local maxDistance = 10
  558. local baseHitchance = 100 - (distance / maxDistance) * 10
  559. baseHitchance = math.clamp(baseHitchance, 0, 100)
  560. local hitchance = baseHitchance * (silentaim.Silent.HitChance / 100)
  561. return hitchance
  562. end
  563.  
  564. local hitchance = CalculateHitchance()
  565. end
  566. if silentaim.Silent.Resolver and ttarget and silentaim.Silent.Enabled then
  567. game:GetService("RunService").Stepped:Connect(function()
  568. if ttarget and silentaim.Silent.Resolver == true then
  569. local character = ttarget.Character.HumanoidRootPart
  570. local lastPosition = character.Position
  571. wait()
  572. local currentPosition = character.Position
  573. local velocity = (currentPosition - lastPosition) * 44
  574. lastPosition = currentPosition
  575.  
  576. character.Velocity = velocity
  577. end
  578. end)
  579. end
  580.  
  581. if Zerxal.Intro.ClearRConsole == true then
  582. rconsoleclear()
  583. end
  584.  
  585. --//anti aim view
  586. --//anti aim view
  587. if silentaim.Silent.AntiAimView == true then
  588. if ttarget then
  589. local a = math.huge
  590. local b = nil
  591.  
  592. for i, v in pairs(game.Players:GetPlayers()) do
  593. if v ~= Client and v.Character and v.Character:FindFirstChild("Head") and v.Character:FindFirstChild("HumanoidRootPart") then
  594. local c = game.Workspace.CurrentCamera:WorldToViewportPoint(v.Character.Head.Position)
  595. local d = (Vector2.new(Mouse.X, Mouse.Y) - Vector2.new(c.X, c.Y)).Magnitude
  596. if a > d then
  597. b = v
  598. a = d
  599. end
  600. end
  601. end
  602.  
  603. return b
  604. elseif ttarget == nil then
  605. wait()
  606. end
  607. end
  608.  
  609. if getgenv().silentaim.Silent.ClosestPoint and ttarget and getgenv().silentaim.Silent.Enabled then
  610. getgenv().silentaim.Silent.Aimpart = tostring(
  611. getClosestPartToCursor(ttarget, getgenv().silentaim.Silent))
  612. ac = ClosestPoint(ttarget[getgenv().silentaim.Silent.Aimpart])
  613. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement