Advertisement
ZV0K

Arceus Leak

Sep 2nd, 2023
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.87 KB | None | 0 0
  1. --[[
  2. arceus leaked.
  3. lextra#0001 , @blewmynet
  4. discord.gg/streamables @ https://fraud.gay
  5. xeno loves you >,<
  6. ]]
  7.  
  8. if not game:IsLoaded() then
  9. game.Loaded:Wait()
  10. end
  11.  
  12. -- // AKIRA W
  13.  
  14. getgenv().Arceus = {
  15. Silent = {
  16. ["Enabled"] = (true), -- // Use The Silent Aim Or Not
  17.  
  18. ["Part"] = ("Head"), -- // What Part It Targerts
  19. ["UseAirPart"] = (true), -- // When Target Isnt On The Ground It Uses This Part
  20. ["AirPart"] = ("LowerTorso"), -- // The Parts It Targets On When Player Isnt On The Ground
  21. ["ClosestPart"] = (true), -- // Automatically Gets The Closest Part Of The Target And Uses That
  22. ["ClosestPoint"] = (true), -- // Automatically Gets The Closest Point Of The Target Part And Uses That
  23.  
  24. ["HitChance"] = (100), -- // The Chance You Will Hit The Target
  25.  
  26. ["Humanize"] = (false), -- // Makes Soo The Silent Doesnt Hit The Same Position
  27. ["HumanizeValue"] = (2), -- // Makes How Much Power It Changes
  28.  
  29. ["TriggerBot"] = (false), -- // Shoots AutoMatically
  30. ["UseTriggerBotKeybind"] = (false), -- // Enable / Disable TriggerBot Keybind
  31. ["TriggerBotKey"] = ("MouseButton3"), -- // KeyBind To Enable / Disable TriggerBot You Can Find More At https://create.roblox.com/docs/reference/engine/enums/UserInputType
  32.  
  33. ["PredictMovement"] = (true), -- // Predicts Targets Movement
  34. ["AutoPrediction"] = (true), -- // Automatically Gets An Good Prediction
  35. ["PredictionVelocity"] = (0.138), -- // How Much It Predicts
  36.  
  37. ["AntiGroundShots"] = (true), -- // Makes So You Dont Shoot The Ground
  38. ["AntiGroundValue"] = (0.5), -- // How Much Velocity It Rmoves From Target
  39. ["WhenAntiGroundActivate"] = (-20), -- // When Its Gonna Activate
  40.  
  41. ["AntiAimViewer"] = (true), -- // Bypasses The Mouse Position For The Server
  42.  
  43. ["WallCheck"] = (true), -- // Checks If Theres A Wall
  44.  
  45. ["CheckIf_KO"] = (true), -- // Checks If Target Is Grabbed Or Knocked
  46. ["CheckIf_TargetDeath"] = (true), -- // Checks If Target Is Dead
  47.  
  48. ["UseKeybind"] = (true), -- // Use The KeyBind To Enable / Disable The Silent Aim
  49. ["Keybind"] = (";") -- // The Keybind That Enables / Disables The Silent Aim
  50. },
  51. GunFov = {
  52. ["Enabled"] = (false), -- // Gun Fov / Fov Is Automatically Changed To Specific Gun Equipped
  53.  
  54. ["Double-Barrel SG"] = {["Fov"] = 22}, -- // Db
  55. ["Revolver"] = {["Fov"] = 6.2}, -- // Rev
  56. ["SMG"] = {["Fov"] = 3}, -- // Smg
  57. ["Shotgun"] = {["Fov"] = 18}, -- // Shotgun
  58. ["Rifle"] = {["Fov"] = 3}, -- // Rifle
  59. ["TacticalShotgun"] = {["Fov"] = 20}, -- // Tactical
  60. ["Silencer"] = {["Fov"] = 2.8}, -- // Smg
  61. ["AK47"] = {["Fov"] = 2.8}, -- // Ak47
  62. ["AR"] = {["Fov"] = 2.8} -- // Rifle
  63. -- // You Can Add Custom Weapons If You Want To :p
  64. },
  65. RangeFov = {
  66. ["Enabled"] = (false), -- // Gun Fov / Fov Is Automatically Changed To Specific Distance Between Target / This Will OverWrite GunFov
  67.  
  68. ["Far_Activation"] = (math.huge), -- // Just Keep It At Math.Huge
  69. ["Medium_Activation"] = (1000), -- // Its Using Studs
  70. ["Close_Activation"] = (1000), -- // Its Uisng Studs
  71.  
  72. ["Double-Barrel SG"] = {["Far"] = 7, ["Med"] = 9, ["Close"] = 15}, -- // Db
  73. ["Revolver"] = {["Far"] = 4, ["Med"] = 6, ["Close"] = 10}, -- // Rev
  74. ["SMG"] = {["Far"] = 3, ["Med"] = 5, ["Close"] = 7}, -- // Smg
  75. ["Shotgun"] = {["Far"] = 5, ["Med"] = 7, ["Close"] = 10}, -- // Shotgun
  76. ["Rifle"] = {["Far"] = 2, ["Med"] = 4, ["Close"] = 6}, -- // Rifle
  77. -- // You Can Add Custom Weapons If You Want To :p
  78. },
  79. SilentFov = {
  80. ["Visible"] = (true), -- // If The Circle Is Showing Or Not
  81. ["Filled"] = (false), -- // If The Circle Is Filled
  82. ["Transparency"] = (1), -- // The Circle Transparency
  83. ["Color"] = (Color3.fromRGB(87, 237, 255)), -- // Circle Transparency
  84. ["Radius"] = (250) -- // How Big The Circle Is
  85. },
  86.  
  87. AimAssist = {
  88. ["Enabled"] = (false), -- // Use The Aim Assist Or Not
  89.  
  90. ["Key"] = ("c"), -- // The Key To Lock Onto A Player
  91. ["HoldMode"] = (false), -- // Enables While Only Holding The Key
  92.  
  93. ["Part"] = ("UpperTorso"), -- // The Part That Aim Assist Locks On
  94. ["ClosestPart"] = (false), -- // Automatically Gets The Closest Part Of The Target And Uses That
  95.  
  96. ["DisableTargetDeath"] = (true), -- // Disables When Target Dies
  97. ["DisableLocalDeath"] = (true), -- // Disables When You Died
  98. ["DisableOn_KO"] = (true), -- // Disables If Target Is KO Or Grabbed
  99.  
  100. ["UseCircleRadius"] = (true), -- // Only Locks On To People Inside The Circle
  101. ["DisableOutSideCircle"] = (false), -- // If Target Is OutSide The Circle It Disables The Aim Assist
  102.  
  103. ["UseShake"] = (true), -- // Shakes The Camera
  104. ["ShakeValue"] = (55), -- // How Much It Shakes
  105.  
  106. ["PredictMovement"] = (true), -- // Predicts Targets MoveMent
  107. ["PredictionVelocity"] = (0.22), -- // How Much It Predicts
  108.  
  109. ["WallCheck"] = (true), -- // Checks If Theres A Wall
  110.  
  111. ["Smoothness_X"] = (0.053251), -- // How Smooth The Aim Assist Is On X
  112. ["Smoothness_Y"] = (0.053251) -- // How Smooth The Aim Assist Is On Y
  113. },
  114. AimAssistFov = {
  115. ["Visible"] = (true), -- // If The Circle Is Showing Or Not
  116. ["Filled"] = (false), -- // If The Circle Is Filled
  117. ["Transparency"] = (0.5), -- // Circle Transparency
  118. ["Color"] = (Color3.fromRGB(255, 87, 87)), -- // Circle Transparency
  119. ["Radius"] = (70) -- // How Big The Circle Is
  120. },
  121. Both = {
  122. ["DetectDesync"] = (true), -- // Detects Velocity Changer + Actually Hits
  123. ["DesyncDetection"] = (86), -- // When It Detects
  124.  
  125. ["UsDetectDesyncKeybind"] = (false), -- // Enable / Disable Desync Detection Keybind
  126. ["DetectDesyncKey"] = ("t"), -- // KeyBind To Enable / Disable Desync Detection
  127.  
  128. ["DetectUnderGround"] = (true), -- // Detects Common UnderGround Resolver
  129. ["UnderGroundDetection"] = (-30), -- // When It Detects
  130.  
  131. ["UseUnderGroundKeybind"] = (true), -- // Enable / Disable UnderGround Resolver Keybind
  132. ["UnderGroundKey"] = ("X"), -- // KeyBind To Enable / Disable UnderGround Resolver
  133.  
  134. ["VisibleCheck"] = (true), -- // Checks If Target Is Visible
  135. ["CrewCheck"] = (false), -- // Checks If Target Is In Your Crew
  136. ["FriendCheck"] = (false), -- // Checks If Target Is Your Friend
  137. ["TeamCheck"] = (false), -- // Checks If Player Is In the Same Team
  138.  
  139. ["UseLay"] = (true), -- // Enable / Disable Lay Keybind
  140. ["LayKeybind"] = ("v"), -- // KeyBind To Lay
  141.  
  142. ["SendNotification"] = (true) -- // Sends Notification When you Enabled / Disabled Stuff
  143. },
  144. Commands = {
  145. ["Enabled"] = (false), -- // Enable / Disable Chat Command
  146.  
  147. -- // Silent Table
  148. ["Silent_Enabled"] = ("!senabled"), -- // The Command To Enable / Disable Silent (With false/true)
  149. ["Silent_Prediction"] = ("!spred"), -- // The Command To Change Silent Prediction (With Numbers)
  150. ["Silent_Fov_Size"] = ("!sfov"), -- // The Command To Change Silent Fov (With Numbers)
  151. ["Silent_Fov_Show"] = ("!sshow"), -- // The Command To Change Silent (With false/true)
  152. ["Silent_HitChance"] = ("!schance"), -- // The Command To Change Silent HitChance (With Numbers)
  153.  
  154. -- // AimAssist Table
  155. ["AimAssist_Enabled"] = ("!aenabled"), -- // The Command To Enable / Disable AimAssist (With false/true)
  156. ["AimAssist_Prediction"] = ("!apred"), -- // The Command To Change AimAssist Prediction (With Numbers)
  157. ["AimAssist_Fov_Size"] = ("!afov"), -- // The Command To Change AimAssist Fov (With Numbers)
  158. ["AimAssist_Fov_Show"] = ("!ashow"), -- // The Command To Change AimAssist (With false/true)
  159. ["AimAssist_SmoothX"] = ("!smoothx"), -- // The Command To Change AimAssist SmoothNess X Value (With Numbers)
  160. ["AimAssist_SmoothY"] = ("!smoothy"), -- // The Command To Change AimAssist SmoothNess Y Value (With Numbers)
  161. ["AimAssist_Shake"] = ("!ashake"), -- // The Command To Change AimAssist Shake Value (With Numbers)
  162.  
  163. ["CrashMode"] = (". "), -- // The Command To Crash Roblox
  164. },
  165.  
  166. Esp = {
  167. ["Enabled"] = (false), -- // Enabel / Disable Esp
  168. ["UseEspKeybind"] = (true), -- // Enable / Disable Esp Keybind
  169. ["EspKey"] = ("p"), -- // KeyBind To Enable / Disable Esp
  170. ["HoldMode"] = (true), -- // Enables While Only Holding The Key
  171.  
  172. ["Name"] = {["Enabled"] = true, ["OutLine"] = true, ["Color"] = Color3.fromRGB(255, 255, 255)}, -- // Shows Targets Name
  173. ["Box"] = {["Enabled"] = true, ["OutLine"] = true, ["Color"] = Color3.fromRGB(255, 255, 255)}, -- // Shows Box On Target
  174. ["HealthBar"] = {["Enabled"] = true, ["OutLine"] = true, ["Color"] = Color3.fromRGB(0, 255, 0)}, -- // Shows An Health Bar On Target
  175. ["HealthText"] = {["Enabled"] = true, ["OutLine"] = true, ["Color"] = Color3.fromRGB(0, 255, 0)}, -- // Shows An Text How Much Hp Target Have
  176. ["Distance"] = {["Enabled"] = true, ["OutLine"] = true, ["Color"] = Color3.fromRGB(255, 255, 255)} -- // Shows Targets Distance Between You
  177. }
  178. }
  179.  
  180. -- // If You See This Means That You Got This Or It Got Leaked. Look I Do Not Care About You Skidding Of It But If Your Just Gonna try To Make The Exact Same Replica Imma Beat Yo Mamma. AnyWays Gl
  181.  
  182. -- // Checks If Obfuscated Else Makes Luraph Macro Useless Function
  183. if not LPH_OBFUSCATED then
  184. LPH_JIT_MAX = function(...)
  185. return (...)
  186. end
  187. LPH_NO_VIRTUALIZE = function(...)
  188. return (...)
  189. end
  190. end
  191.  
  192. LPH_JIT_MAX(function()
  193. -- // Variables (Too Lazy To Make It To One Local)
  194. local Arceus = getgenv().Arceus
  195. local OldSilentAimPart = Arceus.Silent.Part
  196. local ClosestPointCF, SilentTarget, AimTarget, DetectedDesync, DetectedDesyncV2, DetectedUnderGround, DetectedUnderGroundV2, DetectedFreeFall, AntiAimViewer =
  197. CFrame.new(),
  198. nil,
  199. nil,
  200. false,
  201. false,
  202. false,
  203. false,
  204. false,
  205. true
  206. local Script = {Functions = {}, Friends = {}, Drawing = {}, EspPlayers = {}}
  207.  
  208. local Players, Client, Mouse, RS, Camera, GuiS, Uis, Ran =
  209. game:GetService("Players"),
  210. game:GetService("Players").LocalPlayer,
  211. game:GetService("Players").LocalPlayer:GetMouse(),
  212. game:GetService("RunService"),
  213. game:GetService("Workspace").CurrentCamera,
  214. game:GetService("GuiService"),
  215. game:GetService("UserInputService"),
  216. math.random
  217.  
  218. -- // Drawing For AimAssist And SilentAim
  219. Script.Drawing.SilentCircle = Drawing.new("Circle")
  220. Script.Drawing.SilentCircle.Color = Color3.new(1,1,1)
  221. Script.Drawing.SilentCircle.Thickness = 1
  222.  
  223. Script.Drawing.AimAssistCircle = Drawing.new("Circle")
  224. Script.Drawing.AimAssistCircle.Color = Color3.new(1,1,1)
  225. Script.Drawing.AimAssistCircle.Thickness = 1
  226.  
  227. -- // Chat Check
  228. Client.Chatted:Connect(function(Msg)
  229. if Msg == Arceus.Commands.CrashMode then
  230. while true do end
  231. end
  232. local Splitted = string.split(Msg, " ")
  233. if Splitted[1] and Splitted[2] and Arceus.Commands.Enabled then
  234. if Splitted[1] == Arceus.Commands.Silent_Prediction then
  235. Arceus.Silent.PredictionVelocity = Splitted[2]
  236. elseif Splitted[1] == Arceus.Commands.Silent_Fov_Size then
  237. Arceus.SilentFov.Radius = Splitted[2]
  238. elseif Splitted[1] == Arceus.Commands.Silent_Fov_Show then
  239. if Splitted[2] == "true" then
  240. Arceus.SilentFov.Visible = true
  241. else
  242. Arceus.SilentFov.Visible = false
  243. end
  244. elseif Splitted[1] == Arceus.Commands.Silent_Enabled then
  245. if Splitted[2] == "true" then
  246. Arceus.Silent.Enabled = true
  247. else
  248. Arceus.Silent.Enabled = false
  249. end
  250. elseif Splitted[1] == Arceus.Commands.Silent_HitChance then
  251. Arceus.Silent.HitChance = Splitted[2]
  252. elseif Splitted[1] == Arceus.Commands.AimAssist_Prediction then
  253. Arceus.AimAssist.PredictionVelocity = Splitted[2]
  254. elseif Splitted[1] == Arceus.Commands.AimAssist_Fov_Size then
  255. Arceus.AimAssistFov.Radius = Splitted[2]
  256. elseif Splitted[1] == Arceus.Commands.AimAssist_Fov_Show then
  257. if Splitted[2] == "true" then
  258. Arceus.AimAssistFov.Visible = true
  259. else
  260. Arceus.AimAssistFov.Visible = false
  261. end
  262. elseif Splitted[1] == Arceus.Commands.AimAssist_Enabled then
  263. if Splitted[2] == "true" then
  264. Arceus.AimAssist.Enabled = true
  265. else
  266. Arceus.AimAssist.Enabled = false
  267. end
  268. elseif Splitted[1] == Arceus.Commands.AimAssist_SmoothX then
  269. Arceus.AimAssist.Smoothness_X = Splitted[2]
  270. elseif Splitted[1] == Arceus.Commands.AimAssist_SmoothY then
  271. Arceus.AimAssist.Smoothness_Y = Splitted[2]
  272. elseif Splitted[1] == Arceus.Commands.AimAssist_Shake then
  273. Arceus.AimAssist.ShakeValue = Splitted[2]
  274. end
  275. end
  276. end)
  277.  
  278. -- // KeyDown Check
  279. Mouse.KeyDown:Connect(function(Key)
  280. local Keybind = Arceus.AimAssist.Key:lower()
  281. if Key == Keybind then
  282. if Arceus.AimAssist.Enabled then
  283. IsTargetting = not IsTargetting
  284. if IsTargetting then
  285. Script.Functions.GetClosestPlayer2()
  286. else
  287. if AimTarget ~= nil then
  288. AimTarget = nil
  289. IsTargetting = false
  290. end
  291. end
  292. end
  293. end
  294. local Keybind2 = Arceus.Silent.Keybind:lower()
  295. if Key == Keybind2 and Arceus.Silent.UseKeybind then
  296. Arceus.Silent.Enabled = not Arceus.Silent.Enabled
  297. if Arceus.Both.SendNotification then
  298. game.StarterGui:SetCore("SendNotification",{
  299. Title = "Arceus.cc",
  300. Text = "Silent Aim: " .. tostring(Arceus.Silent.Enabled),
  301. Icon = "rbxassetid://12225612888",
  302. Duration = 1
  303. })
  304. end
  305. end
  306. local Keybind3 = Arceus.Both.UnderGroundKey:lower()
  307. if Key == Keybind3 and Arceus.Both.UseUnderGroundKeybind then
  308. Arceus.Both.DetectUnderGround = not Arceus.Both.DetectUnderGround
  309. if Arceus.Both.SendNotification then
  310. game.StarterGui:SetCore("SendNotification",{
  311. Title = "Arceus.cc",
  312. Text = "UnderGround Resolver: " .. tostring(Arceus.Both.DetectUnderGround),
  313. Icon = "rbxassetid://12225612888",
  314. Duration = 1
  315. })
  316. end
  317. end
  318. local Keybind4 = Arceus.Both.DetectDesyncKey:lower()
  319. if Key == Keybind4 and Arceus.Both.UsDetectDesyncKeybind then
  320. Arceus.Both.DetectDesync = not Arceus.Both.DetectDesync
  321. if Arceus.Both.SendNotification then
  322. game.StarterGui:SetCore("SendNotification",{
  323. Title = "Arceus.cc",
  324. Text = "Desync Resolver: " .. tostring(Arceus.Both.DetectDesync),
  325. Icon = "rbxassetid://12225612888",
  326. Duration = 1
  327. })
  328. end
  329. end
  330. local Keybind5 = Arceus.Both.LayKeybind:lower()
  331. if Key == Keybind5 and Arceus.Both.UseLay then
  332. local Args = {
  333. [1] = "AnimationPack",
  334. [2] = "Lay"
  335. }
  336. game:GetService("ReplicatedStorage"):FindFirstChild("MainEvent"):FireServer(unpack(Args))
  337. end
  338. local Keybind6 = Arceus.Esp.EspKey:lower()
  339. if Key == Keybind6 and Arceus.Esp.UseEspKeybind then
  340. if Arceus.Esp.HoldMode then
  341. Arceus.Esp.Enabled = true
  342. else
  343. Arceus.Esp.Enabled = not Arceus.Esp.Enabled
  344. end
  345. end
  346. end)
  347.  
  348. -- // KeyUp Check
  349. Mouse.KeyUp:Connect(function(Key)
  350. local Keybind = Arceus.Esp.EspKey:lower()
  351. if Key == Keybind and Arceus.Esp.UseEspKeybind and Arceus.Esp.HoldMode then
  352. Arceus.Esp.Enabled = false
  353. end
  354. local Keybind2 = Arceus.AimAssist.Key:lower()
  355. if Key == Keybind2 and Arceus.AimAssist.Enabled and Arceus.AimAssist.HoldMode then
  356. IsTargetting = false
  357. AimTarget = nil
  358. end
  359. end)
  360.  
  361. -- // Disabled If AntiAimViewer Is On
  362. if Arceus.Silent.AntiAimViewer then
  363. AntiAimViewer = false
  364. else
  365. AntiAimViewer = true
  366. end
  367.  
  368. -- // Blocks Mouse Triggering
  369. game:GetService("ContextActionService"):BindActionAtPriority(
  370. "LeftMouseBlock",
  371. function()
  372. if AntiAimViewer == false and Arceus.Silent.AntiAimViewer and Client.Character and Client.Character:FindFirstChildWhichIsA("Tool") then
  373. return Enum.ContextActionResult.Sink
  374. else
  375. return Enum.ContextActionResult.Pass
  376. end
  377. end,
  378. true,
  379. Enum.ContextActionPriority.Low.Value,
  380. Enum.UserInputType.MouseButton1
  381. )
  382.  
  383. -- // Delaying The Mouse Trigger
  384. Uis.InputBegan:connect(function(input)
  385. if input.UserInputType == Enum.UserInputType[Arceus.Silent.TriggerBotKey] and Arceus.Silent.UseTriggerBotKeybind then
  386. Arceus.Silent.TriggerBot = true
  387. end
  388. if input.UserInputType == Enum.UserInputType.MouseButton1 and Arceus.Silent.AntiAimViewer and Client.Character and Client.Character:FindFirstChildWhichIsA("Tool") then
  389. if AntiAimViewer == false then
  390. AntiAimViewer = true
  391. mouse1click()
  392. RS.RenderStepped:Wait()
  393. RS.RenderStepped:Wait()
  394. mouse1press()
  395. RS.RenderStepped:Wait()
  396. RS.RenderStepped:Wait()
  397. AntiAimViewer = false
  398. end
  399. end
  400. end)
  401.  
  402. -- // Helps With Automatics
  403. Uis.InputEnded:connect(function(input)
  404. if input.UserInputType == Enum.UserInputType[Arceus.Silent.TriggerBotKey] and Arceus.Silent.UseTriggerBotKeybind then
  405. Arceus.Silent.TriggerBot = true
  406. end
  407. if input.UserInputType == Enum.UserInputType.MouseButton1 and Arceus.Silent.AntiAimViewer and Client.Character and Client.Character:FindFirstChildWhichIsA("Tool") then
  408. if AntiAimViewer == false then
  409. AntiAimViewer = true
  410. mouse1click()
  411. RS.RenderStepped:Wait()
  412. RS.RenderStepped:Wait()
  413. mouse1click()
  414. RS.RenderStepped:Wait()
  415. RS.RenderStepped:Wait()
  416. AntiAimViewer = true
  417. end
  418. end
  419. end)
  420.  
  421. -- // Checks If The Player Is Alive
  422. Script.Functions.Alive = LPH_NO_VIRTUALIZE(function(Plr)
  423. if Plr and Plr.Character and Plr.Character:FindFirstChild("HumanoidRootPart") ~= nil and Plr.Character:FindFirstChild("Humanoid") ~= nil and Plr.Character:FindFirstChild("Head") ~= nil then
  424. return true
  425. end
  426. return false
  427. end)
  428.  
  429. -- // Checks If Player Is On Your Screen
  430. Script.Functions.OnScreen = LPH_NO_VIRTUALIZE(function(Object)
  431. local _, screen = Camera:WorldToScreenPoint(Object.Position)
  432. return screen
  433. end)
  434.  
  435. -- // Gets Magnitude From Part Position And Mouse
  436. Script.Functions.GetMagnitudeFromMouse = LPH_NO_VIRTUALIZE(function(Part)
  437. local PartPos, OnScreen = Camera:WorldToScreenPoint(Part.Position)
  438. if OnScreen then
  439. local Magnitude = (Vector2.new(PartPos.X, PartPos.Y) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude
  440. return Magnitude
  441. end
  442. return math.huge
  443. end)
  444.  
  445. -- // Makes Random Number With Vector3
  446. Script.Functions.RandomVec = LPH_NO_VIRTUALIZE(function(Number, Multi)
  447. return (Vector3.new(Ran(-Number, Number), Ran(-Number, Number), Ran(-Number, Number)) * Multi or 1)
  448. end)
  449.  
  450. -- // Checks If The Player Is Behind A Wall Or Something Else
  451. Script.Functions.RayCastCheck = LPH_NO_VIRTUALIZE(function(Part, PartDescendant)
  452. local Character = Client.Character or Client.CharacterAdded.Wait(Client.CharacterAdded)
  453. local Origin = Camera.CFrame.Position
  454.  
  455. local RayCastParams = RaycastParams.new()
  456. RayCastParams.FilterType = Enum.RaycastFilterType.Blacklist
  457. RayCastParams.FilterDescendantsInstances = {Character, Camera}
  458.  
  459. local Result = Workspace.Raycast(Workspace, Origin, Part.Position - Origin, RayCastParams)
  460.  
  461. if (Result) then
  462. local PartHit = Result.Instance
  463. local Visible = (not PartHit or Instance.new("Part").IsDescendantOf(PartHit, PartDescendant))
  464.  
  465. return Visible
  466. end
  467. return false
  468. end)
  469.  
  470. -- // Gets The Part From An Object
  471. Script.Functions.GetParts = LPH_NO_VIRTUALIZE(function(Object)
  472. if string.find(Object.Name, "Gun") then
  473. return
  474. end
  475. if table.find({"Part", "MeshPart", "BasePart"}, Object.ClassName) then
  476. return true
  477. end
  478. end)
  479.  
  480. -- // Random Number To Compare
  481. Script.Functions.CalculateChance = LPH_NO_VIRTUALIZE(function(Percentage)
  482. Percentage = math.floor(Percentage)
  483. local chance = math.floor(Random.new().NextNumber(Random.new(), 0, 1) * 100) / 100
  484.  
  485. return chance < Percentage / 100
  486. end)
  487.  
  488. -- // Check If Crew Folder Is A Thing
  489. Script.Functions.FindCrew = LPH_NO_VIRTUALIZE(function(Player)
  490. if Player:FindFirstChild("DataFolder") and Player.DataFolder:FindFirstChild("Information") and Player.DataFolder.Information:FindFirstChild("Crew") and Client:FindFirstChild("DataFolder") and Client.DataFolder:FindFirstChild("Information") and Client.DataFolder.Information:FindFirstChild("Crew") then
  491. if Client.DataFolder.Information:FindFirstChild("Crew").Value ~= nil and Player.DataFolder.Information:FindFirstChild("Crew").Value ~= nil and Player.DataFolder.Information:FindFirstChild("Crew").Value ~= "" and Client.DataFolder.Information:FindFirstChild("Crew").Value ~= "" then
  492. return true
  493. end
  494. end
  495. return false
  496. end)
  497.  
  498. -- // Splits The Gun Name And Splits []
  499. Script.Functions.GetGunName = LPH_NO_VIRTUALIZE(function(Name)
  500. local split = string.split(string.split(Name, "[")[2], "]")[1]
  501. return split
  502. end)
  503.  
  504. -- // Gets Current Gun
  505. Script.Functions.GetCurrentWeaponName = LPH_NO_VIRTUALIZE(function()
  506. if Client.Character and Client.Character:FindFirstChildWhichIsA("Tool") then
  507. local Tool = Client.Character:FindFirstChildWhichIsA("Tool")
  508. if string.find(Tool.Name, "%[") and string.find(Tool.Name, "%]") and not string.find(Tool.Name, "Wallet") and not string.find(Tool.Name, "Phone") then
  509. return Script.Functions.GetGunName(Tool.Name)
  510. end
  511. end
  512. return nil
  513. end)
  514.  
  515. -- // Drawing Function With Property Attached
  516. Script.Functions.NewDrawing = LPH_NO_VIRTUALIZE(function(Type, Properties)
  517. local NewDrawing = Drawing.new(Type)
  518.  
  519. for i,v in next, Properties or {} do
  520. NewDrawing[i] = v
  521. end
  522. return NewDrawing
  523. end)
  524.  
  525. -- // Draws For The New Players Joining For Esp
  526. Script.Functions.NewPlayer = LPH_NO_VIRTUALIZE(function(Player)
  527. Script.EspPlayers[Player] = {
  528. Name = Script.Functions.NewDrawing("Text", {Color = Color3.fromRGB(255,2550, 255), Outline = true, Visible = false, Center = true, Size = 13, Font = 0}),
  529. BoxOutline = Script.Functions.NewDrawing("Square", {Color = Color3.fromRGB(0, 0, 0), Thickness = 3, Visible = false}),
  530. Box = Script.Functions.NewDrawing("Square", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1, Visible = false}),
  531. HealthBarOutline = Script.Functions.NewDrawing("Line", {Color = Color3.fromRGB(0, 0, 0), Thickness = 3, Visible = false}),
  532. HealthBar = Script.Functions.NewDrawing("Line", {Color = Color3.fromRGB(0, 255, 0), Thickness = 1, Visible = false}),
  533. HealthText = Script.Functions.NewDrawing("Text", {Color = Color3.fromRGB(0, 255, 0), Outline = true, Visible = false, Center = true, Size = 13, Font = 0}),
  534. Distance = Script.Functions.NewDrawing("Text", {Color = Color3.fromRGB(255, 255, 255), Outline = true, Visible = false, Center = true, Size = 13, Font = 0})
  535. }
  536. end)
  537.  
  538. -- // Gets The Closest Part From Cursor
  539. Script.Functions.GetClosestBodyPart = LPH_NO_VIRTUALIZE(function(Char)
  540. local Distance = math.huge
  541. local ClosestPart = nil
  542. local Filterd = {}
  543.  
  544. if not (Char and Char:IsA("Model")) then
  545. return ClosestPart
  546. end
  547.  
  548. local Parts = Char:GetChildren()
  549. for _, v in pairs(Parts) do
  550. if Script.Functions.GetParts(v) and Script.Functions.OnScreen(v) then
  551. table.insert(Filterd, v)
  552. for _, Part in pairs(Filterd) do
  553. local Magnitude = Script.Functions.GetMagnitudeFromMouse(Part)
  554. if Magnitude < Distance then
  555. ClosestPart = Part
  556. Distance = Magnitude
  557. end
  558. end
  559. end
  560. end
  561. return ClosestPart
  562. end)
  563.  
  564. -- // Gets The Closest Point From Cursor
  565. Script.Functions.GetClosestPointOfPart = LPH_NO_VIRTUALIZE(function(Part)
  566. local NearestPosition = nil
  567. if Part ~= nil then
  568. local Hit, Half = Mouse.Hit.Position, Part.Size * 0.5
  569. local Transform = Part.CFrame:PointToObjectSpace(Mouse.Hit.Position)
  570. NearestPosition = Part.CFrame * Vector3.new(math.clamp(Transform.X, -Half.X, Half.X),math.clamp(Transform.Y, -Half.Y, Half.Y),math.clamp(Transform.Z, -Half.Z, Half.Z))
  571. end
  572. return NearestPosition
  573. end)
  574.  
  575. -- // Gets The Closest Player For Cursor (Silent Aim)
  576. Script.Functions.GetClosestPlayer = LPH_NO_VIRTUALIZE(function()
  577. local Target = nil
  578. local Closest = math.huge
  579. local HitChance = Script.Functions.CalculateChance(Arceus.Silent.HitChance)
  580.  
  581. if not HitChance then
  582. return nil
  583. end
  584. for _, v in pairs(Players:GetPlayers()) do
  585. if v.Character and v ~= Client and v.Character:FindFirstChild("HumanoidRootPart") then
  586. if not Script.Functions.OnScreen(v.Character.HumanoidRootPart) then
  587. continue
  588. end
  589. if Arceus.Silent.WallCheck and not Script.Functions.RayCastCheck(v.Character.HumanoidRootPart, v.Character) then
  590. continue
  591. end
  592. if Arceus.Silent.CheckIf_KO and v.Character:FindFirstChild("BodyEffects") then
  593. local KoCheck = v.Character.BodyEffects:FindFirstChild("K.O").Value
  594. local Grabbed = v.Character:FindFirstChild("GRABBING_CONSTRAINT") ~= nil
  595. if KoCheck or Grabbed then
  596. continue
  597. end
  598. end
  599. if Arceus.Silent.CheckIf_TargetDeath and v.Character:FindFirstChild("Humanoid") then
  600. if v.Character.Humanoid.health < 4 then
  601. continue
  602. end
  603. end
  604. if Arceus.Both.VisibleCheck and v.Character:FindFirstChild("Head") then
  605. if v.Character.Head.Transparency > 0.5 then
  606. continue
  607. end
  608. end
  609. if Arceus.Both.CrewCheck and Script.Functions.FindCrew(v) and v.DataFolder.Information:FindFirstChild("Crew").Value == Client.DataFolder.Information:FindFirstChild("Crew").Value then
  610. continue
  611. end
  612. if Arceus.Both.TeamCheck then
  613. if v.Team ~= Client.Team then
  614. continue
  615. end
  616. end
  617. if Arceus.Both.FriendCheck then
  618. if not table.find(Script.Friends, v.UserId) then
  619. continue
  620. end
  621. end
  622. local Distance = Script.Functions.GetMagnitudeFromMouse(v.Character.HumanoidRootPart)
  623.  
  624. if (Distance < Closest and Script.Drawing.SilentCircle.Radius + 10 > Distance) then
  625. Closest = Distance
  626. Target = v
  627. end
  628. end
  629. end
  630.  
  631. SilentTarget = Target
  632. end)
  633.  
  634. -- // Gets Closest Player From Mouse (AimAssist)
  635. Script.Functions.GetClosestPlayer2 = LPH_NO_VIRTUALIZE(function()
  636. local Target = nil
  637. local Distance = nil
  638. local Closest = math.huge
  639.  
  640. for _, v in pairs(Players:GetPlayers()) do
  641. if v.Character and v ~= Client and v.Character:FindFirstChild("HumanoidRootPart") then
  642. if not Script.Functions.OnScreen(v.Character.HumanoidRootPart) then
  643. continue
  644. end
  645. if Arceus.AimAssist.WallCheck and not Script.Functions.RayCastCheck(v.Character.HumanoidRootPart, v.Character) then
  646. continue
  647. end
  648. local Distance = Script.Functions.GetMagnitudeFromMouse(v.Character.HumanoidRootPart)
  649.  
  650. if Distance < Closest then
  651. if (Arceus.AimAssist.UseCircleRadius and Script.Drawing.AimAssistCircle.Radius + 10 < Distance) then continue end
  652. Closest = Distance
  653. Target = v
  654. end
  655. end
  656. end
  657.  
  658. if Script.Functions.Alive(Target) then
  659. if Arceus.Both.VisibleCheck then
  660. if Target.Character.Head.Transparency > 0.5 then
  661. return nil
  662. end
  663. end
  664. if Arceus.Both.CrewCheck and Script.Functions.FindCrew(Target) and Target.DataFolder.Information:FindFirstChild("Crew").Value == Client.DataFolder.Information:FindFirstChild("Crew").Value then
  665. return nil
  666. end
  667. end
  668. if Arceus.Both.TeamCheck and Target then
  669. if Target.Team == Client.Team then
  670. return nil
  671. end
  672. end
  673. if Arceus.Both.FriendCheck then
  674. if table.find(Script.Friends, Target.UserId) then
  675. return nil
  676. end
  677. end
  678.  
  679. AimTarget = Target
  680. end)
  681.  
  682. -- // Server Side Mouse Position Changer
  683. local OldIndex = nil
  684. OldIndex = hookmetamethod(game, "__index", LPH_NO_VIRTUALIZE(function(self, Index)
  685. if not checkcaller() and Mouse and self == Mouse and Index == "Hit" and Arceus.Silent.Enabled and AntiAimViewer then
  686. if Script.Functions.Alive(SilentTarget) and Players[tostring(SilentTarget)].Character:FindFirstChild(Arceus.Silent.Part) then
  687. local EndPoint = nil
  688. local TargetCF = nil
  689. local TargetVel = Players[tostring(SilentTarget)].Character.HumanoidRootPart.Velocity
  690. local TargetMov = Players[tostring(SilentTarget)].Character.Humanoid.MoveDirection
  691.  
  692. if Arceus.Silent.ClosestPoint then
  693. TargetCF = ClosestPointCF
  694. else
  695. TargetCF = Players[tostring(SilentTarget)].Character[Arceus.Silent.Part].CFrame
  696. end
  697.  
  698. if Arceus.Both.DetectDesync then
  699. local Magnitude = TargetVel.magnitude
  700. local Magnitude2 = TargetMov.magnitude
  701. if Magnitude > Arceus.Both.DesyncDetection then
  702. DetectedDesync = true
  703. elseif Magnitude < 1 and Magnitude2 > 0.01 then
  704. DetectedDesync = true
  705. elseif Magnitude > 5 and Magnitude2 < 0.01 then
  706. DetectedDesync = true
  707. else
  708. DetectedDesync = false
  709. end
  710. else
  711. DetectedDesync = false
  712. end
  713. if Arceus.Silent.AntiGroundShots then
  714. if TargetVel.Y < Arceus.Silent.WhenAntiGroundActivate then
  715. DetectedFreeFall = true
  716. else
  717. DetectedFreeFall = false
  718. end
  719. end
  720. if Arceus.Both.DetectUnderGround then
  721. if TargetVel.Y < Arceus.Both.UnderGroundDetection then
  722. DetectedUnderGround = true
  723. else
  724. DetectedUnderGround = false
  725. end
  726. else
  727. DetectedUnderGround = false
  728. end
  729.  
  730. if TargetCF ~= nil then
  731. if DetectedDesync then
  732. local MoveDirection = TargetMov * 16
  733. EndPoint = TargetCF + (MoveDirection * Arceus.Silent.PredictionVelocity)
  734. elseif DetectedUnderGround then
  735. EndPoint = TargetCF + (Vector3.new(TargetVel.X, 0, TargetVel.Z) * Arceus.Silent.PredictionVelocity)
  736. elseif DetectedFreeFall then
  737. EndPoint = TargetCF + (Vector3.new(TargetVel.X, (TargetVel.Y * Arceus.Silent.AntiGroundValue), TargetVel.Z) * Arceus.Silent.PredictionVelocity)
  738. elseif Arceus.Silent.PredictMovement then
  739. EndPoint = TargetCF + (Vector3.new(TargetVel.X, (TargetVel.Y * 0.5), TargetVel.Z) * Arceus.Silent.PredictionVelocity)
  740. else
  741. EndPoint = TargetCF
  742. end
  743. if Arceus.Silent.Humanize then
  744. local HumanizeValue = Arceus.Silent.HumanizeValue
  745. EndPoint = (EndPoint + Script.Functions.RandomVec(HumanizeValue, 0.01))
  746. end
  747. end
  748.  
  749. if EndPoint ~= nil then
  750. return (Index == "Hit" and EndPoint)
  751. end
  752. end
  753. end
  754. return OldIndex(self, Index)
  755. end))
  756.  
  757. -- // Silent Aim Misc
  758. Script.Functions.SilentMisc = LPH_NO_VIRTUALIZE(function()
  759. if Arceus.Silent.Enabled and Script.Functions.Alive(SilentTarget) then
  760. if Arceus.Silent.UseAirPart then
  761. if SilentTarget.Character.Humanoid:GetState() == Enum.HumanoidStateType.Freefall then
  762. Arceus.Silent.Part = Arceus.Silent.AirPart
  763. else
  764. Arceus.Silent.Part = OldSilentAimPart
  765. end
  766. end
  767. if Arceus.Silent.TriggerBot then
  768. mouse1click()
  769. end
  770. end
  771. if Arceus.Silent.AutoPrediction then
  772. local ping = math.floor(game:GetService("Stats").Network.ServerStatsItem["Data Ping"]:GetValue())
  773. if ping < 10 then
  774. Arceus.Silent.PredictionVelocity = 0.07
  775. elseif ping < 20 then
  776. Arceus.Silent.PredictionVelocity = 0.155
  777. elseif ping < 30 then
  778. Arceus.Silent.PredictionVelocity = 0.132
  779. elseif ping < 40 then
  780. Arceus.Silent.PredictionVelocity = 0.136
  781. elseif ping < 50 then
  782. Arceus.Silent.PredictionVelocity = 0.130
  783. elseif ping < 60 then
  784. Arceus.Silent.PredictionVelocity = 0.136
  785. elseif ping < 70 then
  786. Arceus.Silent.PredictionVelocity = 0.138
  787. elseif ping < 80 then
  788. Arceus.Silent.PredictionVelocity = 0.138
  789. elseif ping < 90 then
  790. Arceus.Silent.PredictionVelocity = 0.146
  791. elseif ping < 100 then
  792. Arceus.Silent.PredictionVelocity = 0.14322
  793. elseif ping < 110 then
  794. Arceus.Silent.PredictionVelocity = 0.146
  795. elseif ping < 120 then
  796. Arceus.Silent.PredictionVelocity = 0.149
  797. elseif ping < 130 then
  798. Arceus.Silent.PredictionVelocity = 0.151
  799. elseif ping < 140 then
  800. Arceus.Silent.PredictionVelocity = 0.1223333
  801. elseif ping < 150 then
  802. Arceus.Silent.PredictionVelocity = 0.15
  803. elseif ping < 160 then
  804. Arceus.Silent.PredictionVelocity = 0.16
  805. elseif ping < 170 then
  806. Arceus.Silent.PredictionVelocity = 0.1923111
  807. elseif ping < 180 then
  808. Arceus.Silent.PredictionVelocity = 0.19284
  809. elseif ping > 180 then
  810. Arceus.Silent.PredictionVelocity = 0.166547
  811. end
  812. end
  813. end)
  814.  
  815. -- // The AimAssist Mouse Dragging/Check Functions
  816. Script.Functions.MouseChanger = LPH_NO_VIRTUALIZE(function()
  817. if Arceus.AimAssist.Enabled and Script.Functions.Alive(AimTarget) and Players[tostring(AimTarget)].Character:FindFirstChild(Arceus.AimAssist.Part) and Script.Functions.OnScreen(Players[tostring(AimTarget)].Character[Arceus.AimAssist.Part]) then
  818. local EndPosition = nil
  819. local TargetPos = Players[tostring(AimTarget)].Character[Arceus.AimAssist.Part].Position
  820. local TargetVel = Players[tostring(AimTarget)].Character[Arceus.AimAssist.Part].Velocity
  821. local TargetMov = Players[tostring(AimTarget)].Character.Humanoid.MoveDirection
  822.  
  823. if Arceus.Both.DetectDesync then
  824. local Magnitude = TargetVel.magnitude
  825. local Magnitude2 = TargetMov.magnitude
  826. if Magnitude > Arceus.Both.DesyncDetection then
  827. DetectedDesyncV2 = true
  828. elseif Magnitude < 1 and Magnitude2 > 0.01 then
  829. DetectedDesyncV2 = true
  830. elseif Magnitude > 5 and Magnitude2 < 0.01 then
  831. DetectedDesyncV2 = true
  832. else
  833. DetectedDesyncV2 = false
  834. end
  835. else
  836. DetectedDesyncV2 = false
  837. end
  838. if Arceus.Both.DetectUnderGround then
  839. if TargetVel.Y < Arceus.Both.UnderGroundDetection then
  840. DetectedUnderGroundV2 = true
  841. else
  842. DetectedUnderGroundV2 = false
  843. end
  844. else
  845. DetectedUnderGroundV2 = false
  846. end
  847.  
  848. if Script.Functions.Alive(Client) then
  849. if Arceus.AimAssist.DisableLocalDeath then
  850. if Client.Character.Humanoid.health < 4 then
  851. AimTarget = nil
  852. IsTargetting = false
  853. return
  854. end
  855. end
  856. if Arceus.AimAssist.DisableOutSideCircle then
  857. local Magnitude = Script.Functions.GetMagnitudeFromMouse(AimTarget.Character.HumanoidRootPart)
  858. if Script.Drawing.AimAssistCircle.Radius < Magnitude then
  859. AimTarget = nil
  860. IsTargetting = false
  861. return
  862. end
  863. end
  864. end
  865.  
  866. if Arceus.AimAssist.DisableOn_KO and AimTarget.Character:FindFirstChild("BodyEffects") then
  867. local KoCheck = AimTarget.Character.BodyEffects:FindFirstChild("K.O").Value
  868. local Grabbed = AimTarget.Character:FindFirstChild("GRABBING_CONSTRAINT") ~= nil
  869. if KoCheck or Grabbed then
  870. AimTarget = nil
  871. IsTargetting = false
  872. return
  873. end
  874. end
  875. if Arceus.AimAssist.DisableTargetDeath then
  876. if AimTarget.Character.Humanoid.health < 4 then
  877. AimTarget = nil
  878. IsTargetting = false
  879. return
  880. end
  881. end
  882.  
  883. if DetectedDesyncV2 and Arceus.AimAssist.PredictMovement then
  884. local MoveDirection = TargetMov * 16
  885. EndPosition = Camera:WorldToScreenPoint(TargetPos + (MoveDirection * Arceus.AimAssist.PredictionVelocity))
  886. elseif DetectedUnderGroundV2 and Arceus.AimAssist.PredictMovement then
  887. EndPosition = Camera:WorldToScreenPoint(TargetPos + (Vector3.new(TargetVel.X, 0, TargetVel.Z) * Arceus.AimAssist.PredictionVelocity))
  888. elseif Arceus.AimAssist.PredictMovement then
  889. if Arceus.AimAssist.UseShake and Script.Functions.Alive(Client) then
  890. local Shake = Arceus.AimAssist.ShakeValue / 100
  891. local Mag = math.ceil((TargetPos - Client.Character.HumanoidRootPart.Position).Magnitude)
  892. EndPosition = Camera:WorldToScreenPoint(TargetPos + (TargetVel * Arceus.AimAssist.PredictionVelocity) + Script.Functions.RandomVec(Mag * Shake, 0.1))
  893. else
  894. EndPosition = Camera:WorldToScreenPoint(TargetPos + (TargetVel * Arceus.AimAssist.PredictionVelocity))
  895. end
  896. else
  897. if Arceus.AimAssist.UseShake and Script.Functions.Alive(Client) then
  898. local Shake = Arceus.AimAssist.ShakeValue / 100
  899. local Mag = math.ceil((TargetPos - Client.Character.HumanoidRootPart.Position).Magnitude)
  900. EndPosition = Camera:WorldToScreenPoint(TargetPos + Script.Functions.RandomVec(Mag * Shake, 0.1))
  901. else
  902. EndPosition = Camera:WorldToScreenPoint(TargetPos)
  903. end
  904. end
  905.  
  906. if EndPosition ~= nil then
  907. local InCrementX = (EndPosition.X - Mouse.X) * Arceus.AimAssist.Smoothness_X
  908. local InCrementY = (EndPosition.Y - Mouse.Y) * Arceus.AimAssist.Smoothness_Y
  909. mousemoverel(InCrementX, InCrementY)
  910. end
  911. end
  912. end)
  913.  
  914. --// Update Size/Position Of Circle
  915. Script.Functions.UpdateFOV = LPH_NO_VIRTUALIZE(function()
  916. if (not Script.Drawing.SilentCircle and not Script.Drawing.AimAssistCircle) then
  917. return Script.Drawing.SilentCircle and Script.Drawing.AimAssistCircle
  918. end
  919.  
  920. Script.Drawing.AimAssistCircle.Visible = Arceus.AimAssistFov.Visible
  921. Script.Drawing.AimAssistCircle.Filled = Arceus.AimAssistFov.Filled
  922. Script.Drawing.AimAssistCircle.Color = Arceus.AimAssistFov.Color
  923. Script.Drawing.AimAssistCircle.Transparency = Arceus.AimAssistFov.Transparency
  924. Script.Drawing.AimAssistCircle.Position = Vector2.new(Mouse.X, Mouse.Y + GuiS:GetGuiInset().Y)
  925. Script.Drawing.AimAssistCircle.Radius = Arceus.AimAssistFov.Radius * 3
  926.  
  927. Script.Drawing.SilentCircle.Visible = Arceus.SilentFov.Visible
  928. Script.Drawing.SilentCircle.Color = Arceus.SilentFov.Color
  929. Script.Drawing.SilentCircle.Filled = Arceus.SilentFov.Filled
  930. Script.Drawing.SilentCircle.Transparency = Arceus.SilentFov.Transparency
  931. Script.Drawing.SilentCircle.Position = Vector2.new(Mouse.X, Mouse.Y + GuiS:GetGuiInset().Y)
  932. Script.Drawing.SilentCircle.Radius = Arceus.SilentFov.Radius * 3
  933.  
  934. if Arceus.RangeFov.Enabled or Arceus.GunFov.Enabled then
  935. local CurrentGun = Script.Functions.GetCurrentWeaponName()
  936. if Arceus.GunFov.Enabled then
  937. local WeaponSettings = Arceus.GunFov[CurrentGun]
  938. if WeaponSettings ~= nil then
  939. Arceus.SilentFov.Radius = WeaponSettings.Fov
  940. end
  941. end
  942. if Arceus.RangeFov.Enabled then
  943. local WeaponSettingsV2 = Arceus.RangeFov[CurrentGun]
  944. if WeaponSettingsV2 ~= nil then
  945. if Script.Functions.Alive(SilentTarget) and Script.Functions.Alive(Client) then
  946. local Magnitude = (SilentTarget.Character.HumanoidRootPart.Position - Client.Character.HumanoidRootPart.Position).Magnitude
  947. if Magnitude < Arceus.RangeFov.Close_Activation then
  948. Arceus.SilentFov.Radius = WeaponSettingsV2.Close
  949. elseif Magnitude < Arceus.RangeFov.Medium_Activation then
  950. Arceus.SilentFov.Radius = WeaponSettingsV2.Med
  951. elseif Magnitude < Arceus.RangeFov.Far_Activation then
  952. Arceus.SilentFov.Radius = WeaponSettingsV2.Far
  953. end
  954. end
  955. end
  956. end
  957. end
  958. end)
  959.  
  960. -- // Updates Esp Posistions
  961. Script.Functions.UpdateEsp = LPH_NO_VIRTUALIZE(function()
  962. for i,v in pairs(Script.EspPlayers) do
  963. if Arceus.Esp.Enabled and i ~= Client and i.Character and i.Character:FindFirstChild("Humanoid") and i.Character:FindFirstChild("HumanoidRootPart") and i.Character:FindFirstChild("Head") then
  964. local Hum = i.Character.Humanoid
  965. local Hrp = i.Character.HumanoidRootPart
  966.  
  967. local Vector, OnScreen = Camera:WorldToViewportPoint(i.Character.HumanoidRootPart.Position)
  968. local Size = (Camera:WorldToViewportPoint(Hrp.Position - Vector3.new(0, 3, 0)).Y - Camera:WorldToViewportPoint(Hrp.Position + Vector3.new(0, 2.6, 0)).Y) / 2
  969. local BoxSize = Vector2.new(math.floor(Size * 1.5), math.floor(Size * 1.9))
  970. local BoxPos = Vector2.new(math.floor(Vector.X - Size * 1.5 / 2), math.floor(Vector.Y - Size * 1.6 / 2))
  971. local BottomOffset = BoxSize.Y + BoxPos.Y + 1
  972.  
  973. if OnScreen then
  974. if Arceus.Esp.Name.Enabled then
  975. v.Name.Position = Vector2.new(BoxSize.X / 2 + BoxPos.X, BoxPos.Y - 16)
  976. v.Name.Outline = Arceus.Esp.Name.OutLine
  977. v.Name.Text = tostring(i)
  978. v.Name.Color = Arceus.Esp.Name.Color
  979. v.Name.OutlineColor = Color3.fromRGB(0, 0, 0)
  980. v.Name.Font = 0
  981. v.Name.Size = 16
  982.  
  983. v.Name.Visible = true
  984. else
  985. v.Name.Visible = false
  986. end
  987. if Arceus.Esp.Distance.Enabled and Client.Character and Client.Character:FindFirstChild("HumanoidRootPart") then
  988. v.Distance.Position = Vector2.new(BoxSize.X / 2 + BoxPos.X, BottomOffset)
  989. v.Distance.Outline = Arceus.Esp.Distance.OutLine
  990. v.Distance.Text = "[" .. math.floor((Hrp.Position - Client.Character.HumanoidRootPart.Position).Magnitude) .. "m]"
  991. v.Distance.Color = Arceus.Esp.Distance.Color
  992. v.Distance.OutlineColor = Color3.fromRGB(0, 0, 0)
  993. BottomOffset = BottomOffset + 15
  994.  
  995. v.Distance.Font = 0
  996. v.Distance.Size = 16
  997.  
  998. v.Distance.Visible = true
  999. else
  1000. v.Distance.Visible = false
  1001. end
  1002. if Arceus.Esp.Box.Enabled then
  1003. v.BoxOutline.Size = BoxSize
  1004. v.BoxOutline.Position = BoxPos
  1005. v.BoxOutline.Visible = Arceus.Esp.Box.OutLine
  1006. v.BoxOutline.Color = Color3.fromRGB(0, 0, 0)
  1007.  
  1008. v.Box.Size = BoxSize
  1009. v.Box.Position = BoxPos
  1010. v.Box.Color = Arceus.Esp.Box.Color
  1011. v.Box.Visible = true
  1012. else
  1013. v.BoxOutline.Visible = false
  1014. v.Box.Visible = false
  1015. end
  1016. if Arceus.Esp.HealthBar.Enabled then
  1017. v.HealthBar.From = Vector2.new((BoxPos.X - 5), BoxPos.Y + BoxSize.Y)
  1018. v.HealthBar.To = Vector2.new(v.HealthBar.From.X, v.HealthBar.From.Y - (Hum.Health / Hum.MaxHealth) * BoxSize.Y)
  1019. v.HealthBar.Color = Arceus.Esp.HealthBar.Color
  1020. v.HealthBar.Visible = true
  1021.  
  1022. v.HealthBarOutline.From = Vector2.new(v.HealthBar.From.X, BoxPos.Y + BoxSize.Y + 1)
  1023. v.HealthBarOutline.To = Vector2.new(v.HealthBar.From.X, (v.HealthBar.From.Y - 1 * BoxSize.Y) -1)
  1024. v.HealthBarOutline.Color = Color3.fromRGB(0, 0, 0)
  1025. v.HealthBarOutline.Visible = Arceus.Esp.HealthBar.OutLine
  1026. else
  1027. v.HealthBarOutline.Visible = false
  1028. v.healthBar.Visible = false
  1029. end
  1030. if Arceus.Esp.HealthText.Enabled then
  1031. v.HealthText.Text = tostring(math.floor((Hum.Health / Hum.MaxHealth) * 100 + 0.5))
  1032. v.HealthText.Position = Vector2.new((BoxPos.X - 20), (BoxPos.Y + BoxSize.Y - 1 * BoxSize.Y) -1)
  1033. v.HealthText.Color = Arceus.Esp.HealthText.Color
  1034. v.HealthText.OutlineColor = Color3.fromRGB(0, 0, 0)
  1035. v.HealthText.Outline = Arceus.Esp.HealthText.OutLine
  1036.  
  1037. v.HealthText.Font = 0
  1038. v.HealthText.Size = 16
  1039.  
  1040. v.HealthText.Visible = true
  1041. else
  1042. v.HealthText.Visible = false
  1043. end
  1044. else
  1045. v.Name.Visible = false
  1046. v.BoxOutline.Visible = false
  1047. v.Box.Visible = false
  1048. v.HealthBarOutline.Visible = false
  1049. v.HealthBar.Visible = false
  1050. v.HealthText.Visible = false
  1051. v.Distance.Visible = false
  1052. end
  1053. else
  1054. v.Name.Visible = false
  1055. v.BoxOutline.Visible = false
  1056. v.Box.Visible = false
  1057. v.HealthBarOutline.Visible = false
  1058. v.HealthBar.Visible = false
  1059. v.HealthText.Visible = false
  1060. v.Distance.Visible = false
  1061. end
  1062. end
  1063. end)
  1064.  
  1065. -- // Client Fps (EXECUTES PER FRAME)
  1066. RS.Heartbeat:Connect(LPH_NO_VIRTUALIZE(function()
  1067. Script.Functions.GetClosestPlayer()
  1068. Script.Functions.SilentMisc()
  1069. Script.Functions.MouseChanger()
  1070. end))
  1071.  
  1072. -- // Server Tick (EXECUTES PER TICK)
  1073. RS.RenderStepped:Connect(LPH_NO_VIRTUALIZE(function()
  1074. Script.Functions.UpdateEsp()
  1075. Script.Functions.UpdateFOV()
  1076. if Arceus.Silent.Enabled and Arceus.Silent.ClosestPoint and Script.Functions.Alive(SilentTarget) and Players[tostring(SilentTarget)].Character:FindFirstChild(Arceus.Silent.Part) then
  1077. local ClosestPoint = Script.Functions.GetClosestPointOfPart(Players[tostring(SilentTarget)].Character[Arceus.Silent.Part])
  1078. ClosestPointCF = CFrame.new(ClosestPoint.X, ClosestPoint.Y, ClosestPoint.Z)
  1079. end
  1080. if Arceus.AimAssist.Enabled and Script.Functions.Alive(AimTarget) and Arceus.Silent.ClosestPart and Script.Functions.Alive(SilentTarget) then
  1081. local currentpart = tostring(Script.Functions.GetClosestBodyPart(AimTarget.Character))
  1082. if Arceus.AimAssist.ClosestPart then
  1083. Arceus.AimAssist.Part = currentpart
  1084. end
  1085. if Arceus.Silent.ClosestPart then
  1086. Arceus.Silent.Part = currentpart
  1087. OldSilentAimPart = Arceus.Silent.Part
  1088. end
  1089. return
  1090. end
  1091. if Arceus.AimAssist.Enabled and Arceus.AimAssist.ClosestPart and Script.Functions.Alive(AimTarget) then
  1092. Arceus.AimAssist.Part = tostring(Script.Functions.GetClosestBodyPart(AimTarget.Character))
  1093. end
  1094. if Arceus.Silent.Enabled and Arceus.Silent.ClosestPart and Script.Functions.Alive(SilentTarget) then
  1095. Arceus.Silent.Part = tostring(Script.Functions.GetClosestBodyPart(SilentTarget.Character))
  1096. OldSilentAimPart = Arceus.Silent.Part
  1097. end
  1098. end))
  1099.  
  1100. -- // Checks Everyone In The Server And Puts It In A Table
  1101. for _, Player in ipairs(Players:GetPlayers()) do
  1102. if (Player ~= Client and Client:IsFriendsWith(Player.UserId)) then
  1103. table.insert(Script.Friends, Player)
  1104. end
  1105. Script.Functions.NewPlayer(Player)
  1106. end
  1107.  
  1108. -- // Checks When Players Joins And Adds Them To A Table
  1109. Players.PlayerAdded:Connect(function(Player)
  1110. if (Client:IsFriendsWith(Player.UserId)) then
  1111. table.insert(Script.Friends, Player)
  1112. end
  1113. Script.Functions.NewPlayer(Player)
  1114. end)
  1115.  
  1116. -- // Checks If A Player Left And Removes Them From The Table
  1117. Players.PlayerRemoving:Connect(function(Player)
  1118. local i = table.find(Script.Friends, Player)
  1119. if (i) then
  1120. table.remove(Script.Friends, i)
  1121. end
  1122. for i,v in pairs(Script.EspPlayers[Player]) do
  1123. v:Remove()
  1124. end
  1125. Script.EspPlayers[Player] = nil
  1126. end)
  1127.  
  1128. end)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement