1 | local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))() |
2 | |
3 | local Window = OrionLib:MakeWindow({Name = "da hood scarlet", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"}) |
4 | |
5 | local Tab = Window:MakeTab({ |
6 | Name = "credits", |
7 | Icon = "rbxassetid://4483345998", |
8 | PremiumOnly = false |
9 | }) |
10 | |
11 | local Section = Tab:AddSection({ |
12 | Name = "credits by : scarletbackup#3582" |
13 | }) |
14 | |
15 | local Section = Tab:AddSection({ |
16 | Name = "discord https://discord.gg/pTmc8uEqJr" |
17 | }) |
18 | |
19 | local Tab = Window:MakeTab({ |
20 | Name = "da hood aimlock", |
21 | Icon = "rbxassetid://4483345998", |
22 | PremiumOnly = false |
23 | }) |
24 | |
25 | local Section = Tab:AddSection({ |
26 | Name = "script" |
27 | }) |
28 | Tab:AddButton({ |
29 | Name = "w aimlock", |
30 | Callback = function() |
31 | local teamCheck = false |
32 | local fov = 100 |
33 | local smoothing = 1 |
34 | |
35 | local RunService = game:GetService("RunService") |
36 | |
37 | local FOVring = Drawing.new("Circle") |
38 | FOVring.Visible = true |
39 | FOVring.Thickness = 1.5 |
40 | FOVring.Radius = fov |
41 | FOVring.Transparency = 1 |
42 | FOVring.Color = Color3.fromRGB(255, 128, 128) |
43 | FOVring.Position = workspace.CurrentCamera.ViewportSize/2 |
44 | |
45 | local function getClosest(cframe) |
46 | local ray = Ray.new(cframe.Position, cframe.LookVector).Unit |
47 | |
48 | local target = nil |
49 | local mag = math.huge |
50 | |
51 | for i,v in pairs(game.Players:GetPlayers()) do |
52 | if v.Character and v.Character:FindFirstChild("Head") and v.Character:FindFirstChild("Humanoid") and v.Character:FindFirstChild("HumanoidRootPart") and v ~= game.Players.LocalPlayer and (v.Team ~= game.Players.LocalPlayer.Team or (not teamCheck)) then |
53 | local magBuf = (v.Character.Head.Position - ray:ClosestPoint(v.Character.Head.Position)).Magnitude |
54 | |
55 | if magBuf < mag then |
56 | mag = magBuf |
57 | target = v |
58 | end |
59 | end |
60 | end |
61 | |
62 | return target |
63 | end |
64 | |
65 | loop = RunService.RenderStepped:Connect(function() |
66 | local UserInputService = game:GetService("UserInputService") |
67 | local pressed = --[[UserInputService:IsKeyDown(Enum.KeyCode.E)]] UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) --Enum.UserInputType.MouseButton2 |
68 | local localPlay = game.Players.localPlayer.Character |
69 | local cam = workspace.CurrentCamera |
70 | local zz = workspace.CurrentCamera.ViewportSize/2 |
71 | |
72 | if pressed then |
73 | local Line = Drawing.new("Line") |
74 | local curTar = getClosest(cam.CFrame) |
75 | local ssHeadPoint = cam:WorldToScreenPoint(curTar.Character.Head.Position) |
76 | ssHeadPoint = Vector2.new(ssHeadPoint.X, ssHeadPoint.Y) |
77 | if (ssHeadPoint - zz).Magnitude < fov then |
78 | workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame:Lerp(CFrame.new(cam.CFrame.Position, curTar.Character.Head.Position), smoothing) |
79 | end |
80 | end |
81 | |
82 | if UserInputService:IsKeyDown(Enum.KeyCode.Delete) then |
83 | loop:Disconnect() |
84 | FOVring:Remove() |
85 | end |
86 | end) |
87 | print("button pressed") |
88 | end |
89 | }) |
90 | |
91 | Tab:AddButton({ |
92 | Name = "aimlock op", |
93 | Callback = function() |
94 | Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/vKhonshu/intro2/main/ui2"))() |
95 | local NotifyLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/vKhonshu/intro/main/ui"))() |
96 | NotifyLib.prompt('Sun God', 'Loading..', 5) |
97 | NotifyLib.prompt('Aimlock loaded', 'Smite them with Q', 5) |
98 | NotifyLib.prompt('Sun God', 'best lock :pray:', 5) |
99 | |
100 | |
101 | Settings = { |
102 | rewrittenmain = { |
103 | Enabled = true, |
104 | Key = "q", |
105 | DOT = true, |
106 | AIRSHOT = true, |
107 | NOTIF = true, |
108 | AUTOPRED = false, |
109 | FOV = math.huge, |
110 | RESOVLER = false |
111 | } |
112 | } |
113 | |
114 | local SelectedPart = "HumanoidRootPart" |
115 | local Prediction = true |
116 | local PredictionValue = 0.1357363 |
117 | |
118 | |
119 | local AnchorCount = 0 |
120 | local MaxAnchor = 50 |
121 | |
122 | local CC = game:GetService"Workspace".CurrentCamera |
123 | local Plr; |
124 | local enabled = false |
125 | local accomidationfactor = 0.136 |
126 | local mouse = game.Players.LocalPlayer:GetMouse() |
127 | local placemarker = Instance.new("Part", game.Workspace) |
128 | |
129 | function makemarker(Parent, Adornee, Color, Size, Size2) |
130 | local e = Instance.new("BillboardGui", Parent) |
131 | e.Name = "PP" |
132 | e.Adornee = Adornee |
133 | e.Size = UDim2.new(Size, Size2, Size, Size2) |
134 | e.AlwaysOnTop = Settings.rewrittenmain.DOT |
135 | local a = Instance.new("Frame", e) |
136 | if Settings.rewrittenmain.DOT == true then |
137 | a.Size = UDim2.new(1, 0, 1, 0) |
138 | else |
139 | a.Size = UDim2.new(0, 0, 0, 0) |
140 | end |
141 | if Settings.rewrittenmain.DOT == true then |
142 | a.Transparency = 0 |
143 | a.BackgroundTransparency = 0 |
144 | else |
145 | a.Transparency = 1 |
146 | a.BackgroundTransparency = 1 |
147 | end |
148 | a.BackgroundColor3 = Color |
149 | local g = Instance.new("UICorner", a) |
150 | if Settings.rewrittenmain.DOT == false then |
151 | g.CornerRadius = UDim.new(0, 0) |
152 | else |
153 | g.CornerRadius = UDim.new(1, 1) |
154 | end |
155 | return(e) |
156 | end |
157 | |
158 | |
159 | local data = game.Players:GetPlayers() |
160 | function noob(player) |
161 | local character |
162 | repeat wait() until player.Character |
163 | local handler = makemarker(guimain, player.Character:WaitForChild(SelectedPart), Color3.fromRGB(240, 250, 1), 0.3, 3) |
164 | handler.Name = player.Name |
165 | player.CharacterAdded:connect(function(Char) handler.Adornee = Char:WaitForChild(SelectedPart) end) |
166 | |
167 | |
168 | spawn(function() |
169 | while wait() do |
170 | if player.Character then |
171 | end |
172 | end |
173 | end) |
174 | end |
175 | |
176 | for i = 1, #data do |
177 | if data[i] ~= game.Players.LocalPlayer then |
178 | noob(data[i]) |
179 | end |
180 | end |
181 | |
182 | game.Players.PlayerAdded:connect(function(Player) |
183 | noob(Player) |
184 | end) |
185 | |
186 | spawn(function() |
187 | placemarker.Anchored = true |
188 | placemarker.CanCollide = false |
189 | if Settings.rewrittenmain.DOT == true then |
190 | placemarker.Size = Vector3.new(8, 8, 8) |
191 | else |
192 | placemarker.Size = Vector3.new(0, 0, 0) |
193 | end |
194 | placemarker.Transparency = 0.50 |
195 | if Settings.rewrittenmain.DOT then |
196 | makemarker(placemarker, placemarker, Color3.fromRGB(240, 250, 1), 0.40, 0) |
197 | end |
198 | end) |
199 | |
200 | game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(k) |
201 | if k == Settings.rewrittenmain.Key and Settings.rewrittenmain.Enabled then |
202 | if enabled == true then |
203 | enabled = false |
204 | if Settings.rewrittenmain.NOTIF == true then |
205 | Plr = getClosestPlayerToCursor() |
206 | game.StarterGui:SetCore("SendNotification", { |
207 | Title = "Sun God"; |
208 | Text = "Spared Victim", |
209 | Duration = 3 |
210 | }) |
211 | end |
212 | else |
213 | Plr = getClosestPlayerToCursor() |
214 | enabled = true |
215 | if Settings.rewrittenmain.NOTIF == true then |
216 | |
217 | game.StarterGui:SetCore("SendNotification", { |
218 | Title = "Sun God"; |
219 | Text = "Victim: "..tostring(Plr.Character.Humanoid.DisplayName), |
220 | Duration = 3 |
221 | }) |
222 | |
223 | end |
224 | end |
225 | end |
226 | end) |
227 | |
228 | |
229 | |
230 | function getClosestPlayerToCursor() |
231 | local closestPlayer |
232 | local shortestDistance = Settings.rewrittenmain.FOV |
233 | |
234 | for i, v in pairs(game.Players:GetPlayers()) do |
235 | if v ~= game.Players.LocalPlayer and v.Character and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health ~= 0 and v.Character:FindFirstChild("HumanoidRootPart") then |
236 | local pos = CC:WorldToViewportPoint(v.Character.PrimaryPart.Position) |
237 | local magnitude = (Vector2.new(pos.X, pos.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude |
238 | if magnitude < shortestDistance then |
239 | closestPlayer = v |
240 | shortestDistance = magnitude |
241 | end |
242 | end |
243 | end |
244 | return closestPlayer |
245 | end |
246 | |
247 | local pingvalue = nil; |
248 | local split = nil; |
249 | local ping = nil; |
250 | |
251 | game:GetService"RunService".Stepped:connect(function() |
252 | if enabled and Plr.Character ~= nil and Plr.Character:FindFirstChild("HumanoidRootPart") then |
253 | placemarker.CFrame = CFrame.new(Plr.Character.HumanoidRootPart.Position+(Plr.Character.HumanoidRootPart.Velocity*accomidationfactor)) |
254 | else |
255 | placemarker.CFrame = CFrame.new(0, 9999, 0) |
256 | end |
257 | if Settings.rewrittenmain.AUTOPRED == true then |
258 | pingvalue = game:GetService("Stats").Network.ServerStatsItem["Data Ping"]:GetValueString() |
259 | split = string.split(pingvalue,'(') |
260 | ping = tonumber(split[1]) |
261 | if ping < 130 then |
262 | PredictionValue = 0.151 |
263 | elseif ping < 125 then |
264 | PredictionValue = 0.149 |
265 | elseif ping < 110 then |
266 | PredictionValue = 0.146 |
267 | elseif ping < 105 then |
268 | PredictionValue = 0.138 |
269 | elseif ping < 90 then |
270 | PredictionValue = 0.136 |
271 | elseif ping < 80 then |
272 | PredictionValue = 0.134 |
273 | elseif ping < 70 then |
274 | PredictionValue = 0.131 |
275 | elseif ping < 60 then |
276 | PredictionValue = 0.1229 |
277 | elseif ping < 50 then |
278 | PredictionValue = 0.1225 |
279 | elseif ping < 40 then |
280 | PredictionValue = 0.1256 |
281 | end |
282 | end |
283 | end) |
284 | |
285 | local mt = getrawmetatable(game) |
286 | local old = mt.__namecall |
287 | setreadonly(mt, false) |
288 | mt.__namecall = newcclosure(function(...) |
289 | local args = {...} |
290 | if enabled and getnamecallmethod() == "FireServer" and args[2] == "UpdateMousePos" and Settings.rewrittenmain.Enabled and Plr.Character ~= nil then |
291 | |
292 | -- args[3] = Plr.Character.HumanoidRootPart.Position+(Plr.Character.HumanoidRootPart.Velocity*accomidationfactor) |
293 | --[[ |
294 | if Settings.rewrittenmain.AIRSHOT == true then |
295 | if game.Workspace.Players[Plr.Name].Humanoid:GetState() == Enum.HumanoidStateType.Freefall then -- Plr.Character:WaitForChild("Humanoid"):GetState() == Enum.HumanoidStateType.Freefall |
296 | |
297 | --// Airshot |
298 | args[3] = Plr.Character.LeftFoot.Position+(Plr.Character.LeftFoot.Velocity*PredictionValue) |
299 | |
300 | else |
301 | args[3] = Plr.Character.HumanoidRootPart.Position+(Plr.Character.HumanoidRootPart.Velocity*PredictionValue) |
302 | |
303 | end |
304 | else |
305 | args[3] = Plr.Character.HumanoidRootPart.Position+(Plr.Character.HumanoidRootPart.Velocity*PredictionValue) |
306 | end |
307 | ]] |
308 | if Prediction == true then |
309 | |
310 | args[3] = Plr.Character[SelectedPart].Position+(Plr.Character[SelectedPart].Velocity*PredictionValue) |
311 | |
312 | else |
313 | |
314 | args[3] = Plr.Character[SelectedPart].Position |
315 | |
316 | end |
317 | |
318 | return old(unpack(args)) |
319 | end |
320 | return old(...) |
321 | end) |
322 | |
323 | game:GetService("RunService").RenderStepped:Connect(function() |
324 | if Settings.rewrittenmain.RESOVLER == true and Plr.Character ~= nil and enabled and Settings.rewrittenmain.Enabled then |
325 | if Settings.rewrittenmain.AIRSHOT == true and enabled and Plr.Character ~= nil then |
326 | |
327 | if game.Workspace.Players[Plr.Name].Humanoid:GetState() == Enum.HumanoidStateType.Freefall then -- Plr.Character:WaitForChild("Humanoid"):GetState() == Enum.HumanoidStateType.Freefall |
328 | |
329 | --// Airshot |
330 | |
331 | --// Anchor Check |
332 | |
333 | if Plr.Character ~= nil and Plr.Character.HumanoidRootPart.Anchored == true then |
334 | AnchorCount = AnchorCount + 1 |
335 | if AnchorCount >= MaxAnchor then |
336 | Prediction = false |
337 | wait(2) |
338 | AnchorCount = 0; |
339 | end |
340 | else |
341 | Prediction = true |
342 | AnchorCount = 0; |
343 | end |
344 | |
345 | SelectedPart = "LeftFoot" |
346 | |
347 | else |
348 | --// Anchor Check |
349 | |
350 | if Plr.Character ~= nil and Plr.Character.HumanoidRootPart.Anchored == true then |
351 | AnchorCount = AnchorCount + 1 |
352 | if AnchorCount >= MaxAnchor then |
353 | Prediction = false |
354 | wait(2) |
355 | AnchorCount = 0; |
356 | end |
357 | else |
358 | Prediction = true |
359 | AnchorCount = 0; |
360 | end |
361 | |
362 | SelectedPart = "HumanoidRootPart" |
363 | |
364 | end |
365 | else |
366 | |
367 | --// Anchor Check |
368 | |
369 | if Plr.Character ~= nil and Plr.Character.HumanoidRootPart.Anchored == true then |
370 | AnchorCount = AnchorCount + 1 |
371 | if AnchorCount >= MaxAnchor then |
372 | Prediction = false |
373 | wait(2) |
374 | AnchorCount = 0; |
375 | end |
376 | else |
377 | Prediction = true |
378 | AnchorCount = 0; |
379 | end |
380 | |
381 | SelectedPart = "HumanoidRootPart" |
382 | end |
383 | |
384 | else |
385 | SelectedPart = "HumanoidRootPart" |
386 | end |
387 | end) |
388 | UICorner_3.Parent = Submit |
389 | print("button pressed") |
390 | end |
391 | }) |
392 | |
393 | Tab:AddButton({ |
394 | Name = "aimlock X", |
395 | Callback = function() |
396 | getgenv().Arctic = { |
397 | SilentAim = { |
398 | Enabled = true, |
399 | KeybindEnabled = false, |
400 | Keybind = "X", |
401 | Predict = true, |
402 | Prediction = 0.1, |
403 | AimPart = "HumanoidRootPart", |
404 | LegitMode = true, -- nearest point |
405 | }, |
406 | AimAssist = { |
407 | Enabled = false, |
408 | Keybind = "C", |
409 | Predict = true, |
410 | Prediction = 0.1267, |
411 | Smoothness = 0.4, |
412 | Aimpart = "HumanoidRootPart", |
413 | LegitMode = false, |
414 | DisableOnEnemyDeath = true, |
415 | DisableOnOwnDeath = true, |
416 | Shake = { |
417 | Enabled = true, |
418 | Strength = 100 |
419 | }, |
420 | }, |
421 | FOV = { |
422 | SilentAim = { |
423 | ShowFOV = true, |
424 | KeybindEnabled = true, |
425 | Keybind = "Z", |
426 | Filled = false, |
427 | FOV = 18, |
428 | NumSides = 100, |
429 | Color = Color3.fromRGB(255, 0, 0), |
430 | Thickness = 1, |
431 | Transparency = 0.7 |
432 | }, |
433 | AimAssist = { |
434 | Enabled = false, |
435 | ShowFOV = false, |
436 | KeybindEnabled = false, |
437 | Keybind = "M", |
438 | Filled = false, |
439 | FOV = 30, |
440 | NumSides = 100, |
441 | Color = Color3.fromRGB(0, 0, 0), |
442 | Thickness = 1, |
443 | Transparency = 0.7 |
444 | } |
445 | }, |
446 | Checks = { |
447 | KOCheck = true, |
448 | WallCheck = true, |
449 | CrewCheck = false, |
450 | FriendCheck = false, |
451 | VelocityCheck = true |
452 | }, |
453 | GunFOV = { |
454 | Enabled = false, |
455 | DoubleBarrel = 22.5, |
456 | Revolver = 27.5, |
457 | Shotgun = 35, |
458 | TacticalShotgun = 35, |
459 | Smg = 25, |
460 | Rifle = 50, |
461 | Silencer = 32.5, |
462 | SilencerAR = 32.5, |
463 | Glock = 100, |
464 | AK47 = 25, |
465 | AR = 42 |
466 | }, |
467 | Customize = { |
468 | HitChance = { |
469 | Enabled = false, |
470 | GroundHitChance = 0, |
471 | AirHitChance = 0 |
472 | }, |
473 | Prediction = { |
474 | Enabled = false, |
475 | GroundPrediction = 0, |
476 | AirPrediction = 0 |
477 | }, |
478 | Smoothness = { |
479 | Enabled = false, |
480 | GroundSmoothness = 0, |
481 | AirSmoothness = 0 |
482 | }, |
483 | Shake = { |
484 | Enabled = false, |
485 | GroundShake = 0, |
486 | AirShake = 0 |
487 | } |
488 | }, |
489 | RangeManagement = { |
490 | Enabled = false, |
491 | Type = "Both", |
492 | Close = { |
493 | CloseDetection = 5, |
494 | CloseFOV = 60, |
495 | ClosePrediction = 0.121 |
496 | }, |
497 | Mid = { |
498 | MidDetection = 15, |
499 | MidFOV = 45, |
500 | MidPrediction = 0.127 |
501 | }, |
502 | Far = { |
503 | FarDetection = 25, |
504 | FarFOV = 35, |
505 | FarPrediction = 0.131 |
506 | }, |
507 | ReallyFar = { |
508 | ReallyFarDetection = math.huge, |
509 | ReallyFarFOV = 20, |
510 | ReallyFarPrediction = 0.134 |
511 | } |
512 | }, |
513 | Resolver = { |
514 | Enabled = true, |
515 | KeybindEnabled = false, |
516 | Keybind = "K" |
517 | }, |
518 | Chat = { |
519 | Enabled = true, |
520 | FOV = ".fov", |
521 | Prediction = ".prediction", |
522 | HitChance = ".hitchance", |
523 | }, |
524 | AutoPrediction = { |
525 | ComingSoon = false, |
526 | |
527 | |
528 | }, |
529 | HitSound = { |
530 | ComingSoon = false, |
531 | |
532 | |
533 | } |
534 | } |
535 | |
536 | |
537 | |
538 | local Players = game:GetService("Players") |
539 | local Client = game:GetService("Players").LocalPlayer |
540 | local Mouse = game:GetService("Players").LocalPlayer:GetMouse() |
541 | local RunService = game:GetService("RunService") |
542 | local Camera = game:GetService("Workspace").CurrentCamera |
543 | local Ping = game:GetService("Stats").Network.ServerStatsItem["Data Ping"]:GetValue() |
544 | local SilentAimFOV = Drawing.new("Circle") |
545 | local AimAssistFOV = Drawing.new("Circle") |
546 | local SilentAimTarget |
547 | local AimAssistTarget |
548 | |
549 | SilentAimFOV.Color = getgenv().Arctic.FOV.SilentAim.Color |
550 | SilentAimFOV.Thickness = getgenv().Arctic.FOV.SilentAim.Thickness |
551 | SilentAimFOV.Filled = getgenv().Arctic.FOV.SilentAim.Filled |
552 | SilentAimFOV.Transparency = getgenv().Arctic.FOV.SilentAim.Transparency |
553 | SilentAimFOV.NumSides = getgenv().Arctic.FOV.SilentAim.NumSides |
554 | |
555 | AimAssistFOV.Color = getgenv().Arctic.FOV.AimAssist.Color |
556 | AimAssistFOV.Thickness = getgenv().Arctic.FOV.AimAssist.Thickness |
557 | AimAssistFOV.Filled = getgenv().Arctic.FOV.AimAssist.Filled |
558 | AimAssistFOV.Transparency = getgenv().Arctic.FOV.AimAssist.Transparency |
559 | AimAssistFOV.NumSides = getgenv().Arctic.FOV.AimAssist.NumSides |
560 | |
561 | local UpdateFOV = function() |
562 | if not SilentAimFOV and AimAssistFOV then |
563 | return SilentAimFOV and AimAssistFOV |
564 | end |
565 | SilentAimFOV.Visible = getgenv().Arctic.FOV.SilentAim.ShowFOV |
566 | SilentAimFOV.Radius = getgenv().Arctic.FOV.SilentAim.FOV * 5 |
567 | SilentAimFOV.Position = Vector2.new(Mouse.X, Mouse.Y + (game:GetService("GuiService"):GetGuiInset().Y)) |
568 | |
569 | AimAssistFOV.Visible = getgenv().Arctic.FOV.AimAssist.ShowFOV |
570 | AimAssistFOV.Radius = getgenv().Arctic.FOV.AimAssist.FOV * 5 |
571 | AimAssistFOV.Position = Vector2.new(Mouse.X, Mouse.Y + (game:GetService("GuiService"):GetGuiInset().Y)) |
572 | return SilentAimFOV and AimAssistFOV |
573 | end |
574 | RunService.Heartbeat:Connect(UpdateFOV) |
575 | |
576 | local grmt = getrawmetatable(game) |
577 | local backupindex = grmt.__index |
578 | setreadonly(grmt, false) |
579 | grmt.__index = newcclosure(function(self, v) |
580 | if (getgenv().Arctic.SilentAim.Enabled and Mouse and tostring(v) == "Hit") then |
581 | if SilentAimTarget and SilentAimTarget.Character then |
582 | if getgenv().Arctic.SilentAim.Predict then |
583 | local endpoint = game.Players[tostring(SilentAimTarget)].Character[getgenv().Arctic.SilentAim.AimPart] |
584 | .CFrame + |
585 | (game.Players[tostring(SilentAimTarget)].Character[getgenv().Arctic.SilentAim.AimPart] |
586 | .Velocity * getgenv().Arctic.SilentAim.Prediction) |
587 | return (tostring(v) == "Hit" and endpoint) |
588 | else |
589 | local endpoint = game.Players[tostring(SilentAimTarget)].Character[getgenv().Arctic.SilentAim.AimPart] |
590 | .CFrame |
591 | return (tostring(v) == "Hit" and endpoint) |
592 | end |
593 | end |
594 | end |
595 | return backupindex(self, v) |
596 | end) |
597 | |
598 | local WorldToScreenPoint = function(Object) |
599 | local ObjectVector = Camera:WorldToScreenPoint(Object.Position) |
600 | return Vector2.new(ObjectVector.X, ObjectVector.Y) |
601 | end |
602 | local IsOnScreen = function(Object) |
603 | local IsOnScreen = Camera:WorldToScreenPoint(Object.Position) |
604 | return IsOnScreen |
605 | end |
606 | local NoMeshPart = function(Object) |
607 | if string.find(Object.Name, "Gun") then |
608 | return |
609 | end |
610 | if table.find({"Part", "MeshPart", "BasePart"}, Object.ClassName) then |
611 | return true |
612 | end |
613 | end |
614 | local WallCheck = function(destination, ignore) |
615 | local Origin = Camera.CFrame.p |
616 | local CheckRay = Ray.new(Origin, destination - Origin) |
617 | local Hit = game.workspace:FindPartOnRayWithIgnoreList(CheckRay, ignore) |
618 | return Hit == nil |
619 | end |
620 | local PlayerMouseFunction = function() |
621 | local Target, Closest = nil, 1 / 0 |
622 | for _, v in pairs(Players:GetPlayers()) do |
623 | if getgenv().Arctic.Checks.WallCheck then |
624 | if (v.Character and v ~= Client and v.Character:FindFirstChild("HumanoidRootPart")) then |
625 | local Position, OnScreen = Camera:WorldToScreenPoint(v.Character.HumanoidRootPart.Position) |
626 | local Distance = (Vector2.new(Position.X, Position.Y) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude |
627 | |
628 | if (SilentAimFOV.Radius > Distance and Distance < Closest and OnScreen) and |
629 | WallCheck(v.Character.HumanoidRootPart.Position, {Client, v.Character}) then |
630 | Closest = Distance |
631 | Target = v |
632 | end |
633 | end |
634 | else |
635 | if (v.Character and v ~= Client and v.Character:FindFirstChild("HumanoidRootPart")) then |
636 | local Position, OnScreen = Camera:WorldToScreenPoint(v.Character.HumanoidRootPart.Position) |
637 | local Distance = (Vector2.new(Position.X, Position.Y) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude |
638 | |
639 | if (SilentAimFOV.Radius > Distance and Distance < Closest and OnScreen) then |
640 | Closest = Distance |
641 | Target = v |
642 | end |
643 | end |
644 | end |
645 | end |
646 | return Target |
647 | end |
648 | local PlayerMouseFunction2 = function() |
649 | local Target, Closest = nil, AimAssistFOV.Radius * 1.27 |
650 | for _, v in pairs(Players:GetPlayers()) do |
651 | if (v.Character and v ~= Client and v.Character:FindFirstChild("HumanoidRootPart")) then |
652 | if getgenv().Arctic.Checks.WallCheck then |
653 | local Position, OnScreen = Camera:WorldToScreenPoint(v.Character.HumanoidRootPart.Position) |
654 | local Distance = (Vector2.new(Position.X, Position.Y) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude |
655 | if (Distance < Closest and OnScreen) and |
656 | WallCheck(v.Character.HumanoidRootPart.Position, {Client, v.Character}) then |
657 | Closest = Distance |
658 | Target = v |
659 | end |
660 | else |
661 | local Position, OnScreen = Camera:WorldToScreenPoint(v.Character.HumanoidRootPart.Position) |
662 | local Distance = (Vector2.new(Position.X, Position.Y) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude |
663 | if (Distance < Closest and OnScreen) then |
664 | Closest = Distance |
665 | Target = v |
666 | end |
667 | end |
668 | end |
669 | end |
670 | return Target |
671 | end |
672 | local BodyPartFunction = function(character) |
673 | local ClosestDistance = 1 / 0 |
674 | local BodyPart = nil |
675 | if (character and character:GetChildren()) then |
676 | for _, x in next, character:GetChildren() do |
677 | if NoMeshPart(x) and IsOnScreen(x) then |
678 | local Distance = (WorldToScreenPoint(x) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude |
679 | if (SilentAimFOV.Radius > Distance and Distance < ClosestDistance) then |
680 | ClosestDistance = Distance |
681 | BodyPart = x |
682 | end |
683 | end |
684 | end |
685 | end |
686 | return BodyPart |
687 | end |
688 | local BodyPartFunction2 = function(character) |
689 | local ClosestDistance = 1 / 0 |
690 | local BodyPart = nil |
691 | |
692 | if (character and character:GetChildren()) then |
693 | for _, x in next, character:GetChildren() do |
694 | if NoMeshPart(x) and IsOnScreen(x) then |
695 | local Distance = (WorldToScreenPoint(x) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude |
696 | if (Distance < ClosestDistance) then |
697 | ClosestDistance = Distance |
698 | BodyPart = x |
699 | end |
700 | end |
701 | end |
702 | end |
703 | return BodyPart |
704 | end |
705 | task.spawn(function() |
706 | while task.wait() do |
707 | if getgenv().Arctic.SilentAim.Enabled then |
708 | SilentAimTarget = PlayerMouseFunction() |
709 | end |
710 | if AimAssistTarget then |
711 | if getgenv().Arctic.AimAssist.Enabled and (AimAssistTarget.Character) and |
712 | getgenv().Arctic.AimAssist.LegitMode then |
713 | getgenv().Arctic.AimAssist.Aimpart = tostring(BodyPartFunction2(AimAssistTarget.Character)) |
714 | end |
715 | end |
716 | if SilentAimTarget then |
717 | if getgenv().Arctic.SilentAim.Enabled and (SilentAimTarget.Character) and |
718 | getgenv().Arctic.SilentAim.LegitMode then |
719 | getgenv().Arctic.SilentAim.AimPart = tostring(BodyPartFunction(SilentAimTarget.Character)) |
720 | end |
721 | end |
722 | end |
723 | end) |
724 | Mouse.KeyDown:Connect(function(Key) |
725 | if getgenv().Arctic.FOV.SilentAim.KeybindEnabled then |
726 | if (Key == getgenv().Arctic.FOV.SilentAim.Keybind:lower()) then |
727 | if getgenv().Arctic.FOV.SilentAim.ShowFOV == true then |
728 | getgenv().Arctic.FOV.SilentAim.ShowFOV = false |
729 | else |
730 | getgenv().Arctic.FOV.SilentAim.ShowFOV = true |
731 | end |
732 | if getgenv().Arctic.FOV.AimAssist.KeybindEnabled then |
733 | if (Key == getgenv().Arctic.FOV.AimAssist.Keybind:lower()) then |
734 | if getgenv().Arctic.FOV.AimAssist.ShowFOV == true then |
735 | getgenv().Arctic.FOV.AimAssist.ShowFOV = false |
736 | else |
737 | getgenv().Arctic.FOV.AimAssist.ShowFOV = true |
738 | end |
739 | end |
740 | if getgenv().Arctic.SilentAim.KeybindEnabled then |
741 | if (Key == getgenv().Arctic.SilentAim.Keybind:lower()) then |
742 | if getgenv().Arctic.SilentAim.Enabled == true then |
743 | getgenv().Arctic.SilentAim.Enabled = false |
744 | else |
745 | getgenv().Arctic.SilentAim.Enabled = true |
746 | end |
747 | end |
748 | end |
749 | end |
750 | end |
751 | if (Key == getgenv().Arctic.AimAssist.Keybind:lower()) then |
752 | if getgenv().Arctic.AimAssist.Enabled == true then |
753 | IsTargetting = not IsTargetting |
754 | if IsTargetting then |
755 | AimAssistTarget = PlayerMouseFunction2() |
756 | else |
757 | if AimAssistTarget ~= nil then |
758 | AimAssistTarget = nil |
759 | IsTargetting = false |
760 | end |
761 | end |
762 | end |
763 | end |
764 | end |
765 | if getgenv().Arctic.Resolver.KeybindEnabled then |
766 | if (Key == getgenv().Arctic.Resolver.Keybind:lower()) then |
767 | if getgenv().Arctic.Resolver.Enabled == true then |
768 | getgenv().Arctic.Resolver.Enabled = false |
769 | else |
770 | getgenv().Arctic.Resolver.Enabled = true |
771 | end |
772 | end |
773 | end |
774 | end) |
775 | if getgenv().Arctic.Checks.CrewCheck then |
776 | while true do |
777 | local newPlayer = game.Players.PlayerAdded:wait() |
778 | if player:IsInGroup(newPlayer.Group) then |
779 | table.insert(Ignored.Players, newPlayer) |
780 | end |
781 | end |
782 | end |
783 | if getgenv().Arctic.Checks.FriendCheck then |
784 | game.Players.PlayerAdded:Connect(function(SilentAimTarget) |
785 | if Client:IsFriendsWith(SilentAimTarget) then |
786 | local newPlayer = game.Players.PlayerAdded:wait() |
787 | table.insert(Ignored.Players, newPlayer) |
788 | end |
789 | end) |
790 | end |
791 | |
792 | RunService.Heartbeat:Connect(function() |
793 | if getgenv().Arctic.SilentAim.Enabled then |
794 | if SilentAimTarget and SilentAimTarget.Character and SilentAimTarget.Character:WaitForChild(getgenv().Arctic.SilentAim.AimPart) then |
795 | if getgenv().Arctic.Resolver.Enabled == true and |
796 | SilentAimTarget.Character:WaitForChild("HumanoidRootPart").Velocity.magnitude > 50 then |
797 | pcall(function() |
798 | local TargetVel = SilentAimTarget.Character[getgenv().Arctic.SilentAim.AimPart] |
799 | TargetVel.Velocity = Vector3.new(0, 0, 0) |
800 | TargetVel.AssemblyLinearVelocity = Vector3.new(0, 0, 0) |
801 | end) |
802 | end |
803 | if getgenv().Arctic.Checks.VelocityCheck == true and SilentAimTarget.Character:FindFirstChild("Humanoid") == |
804 | Enum.HumanoidStateType.Freefall then |
805 | pcall(function() |
806 | local TargetVelv5 = SilentAimTarget.Character[getgenv().Arctic.SilentAim.AimPart] |
807 | TargetVelv5.Velocity = Vector3.new(TargetVelv5.Velocity.X, (TargetVelv5.Velocity.Y * 0.5), |
808 | TargetVelv5.Velocity.Z) |
809 | TargetVelv5.AssemblyLinearVelocity = Vector3.new(TargetVelv5.Velocity.X, |
810 | (TargetVelv5.Velocity.Y * 0.5), TargetVelv5.Velocity.Z) |
811 | end) |
812 | end |
813 | if getgenv().Arctic.Resolver.Enabled == true then |
814 | pcall(function() |
815 | local TargetVelv2 = SilentAimTarget.Character[getgenv().Arctic.SilentAim.AimPart] |
816 | TargetVelv2.Velocity = Vector3.new(TargetVelv2.Velocity.X, 0, TargetVelv2.Velocity.Z) |
817 | TargetVelv2.AssemblyLinearVelocity = Vector3.new(TargetVelv2.Velocity.X, 0, TargetVelv2.Velocity.Z) |
818 | end) |
819 | end |
820 | end |
821 | end |
822 | end) |
823 | getgenv().Extra = { |
824 | ["Enabled"] = (getgenv().Arctic.GunFOV.Enabled), |
825 | ["Double-Barrel SG"] = { |
826 | ["FOV"] = (getgenv().Arctic.GunFOV.DoubleBarrel) |
827 | }, |
828 | ["DoubleBarrel"] = { |
829 | ["FOV"] = (getgenv().Arctic.GunFOV.DoubleBarrel) |
830 | }, |
831 | ["Revolver"] = { |
832 | ["FOV"] = (getgenv().Arctic.GunFOV.Revolver) |
833 | }, |
834 | ["SMG"] = { |
835 | ["FOV"] = (getgenv().Arctic.GunFOV.Smg) |
836 | }, |
837 | ["Shotgun"] = { |
838 | ["FOV"] = (getgenv().Arctic.GunFOV.Shotgun) |
839 | }, |
840 | ["TacticalShotgun"] = { |
841 | ["FOV"] = (getgenv().Arctic.GunFOV.TacticalShotgun) |
842 | }, |
843 | ["Rifle"] = { |
844 | ["FOV"] = (getgenv().Arctic.GunFOV.Rifle) |
845 | }, |
846 | ["Silencer"] = { |
847 | ["FOV"] = (getgenv().Arctic.GunFOV.Silencer) |
848 | }, |
849 | ["SilencerAR"] = { |
850 | ["FOV"] = (getgenv().Arctic.GunFOV.SilencerAR) |
851 | }, |
852 | ["Glock"] = { |
853 | ["FOV"] = (getgenv().Arctic.GunFOV.Glock) |
854 | }, |
855 | ["AK47"] = { |
856 | ["FOV"] = (getgenv().Arctic.GunFOV.AK47) |
857 | }, |
858 | ["AR"] = { |
859 | ["FOV"] = (getgenv().Arctic.GunFOV.AR) |
860 | } |
861 | } |
862 | |
863 | local Script = { |
864 | Functions = {} |
865 | } |
866 | Script.Functions.getToolName = function(name) |
867 | local split = string.split(string.split(name, "[")[2], "]")[1] |
868 | return split |
869 | end |
870 | Script.Functions.getEquippedWeaponName = function() |
871 | if (Client.Character) and Client.Character:FindFirstChildWhichIsA("Tool") then |
872 | local Tool = Client.Character:FindFirstChildWhichIsA("Tool") |
873 | if string.find(Tool.Name, "%[") and string.find(Tool.Name, "%]") and not string.find(Tool.Name, "Wallet") and |
874 | not string.find(Tool.Name, "Phone") then |
875 | return Script.Functions.getToolName(Tool.Name) |
876 | end |
877 | end |
878 | return nil |
879 | end |
880 | RunService.RenderStepped:Connect(function() |
881 | if getgenv().Arctic.SilentAim.Enabled then |
882 | if getgenv().Arctic.Checks.KOCheck == true and SilentAimTarget and SilentAimTarget.Character then |
883 | local KOd = SilentAimTarget.Character:WaitForChild("BodyEffects")["K.O"].Value |
884 | local Grabbed = SilentAimTarget.Character:FindFirstChild("GRABBING_CONSTRAINT") ~= nil |
885 | if KOd or Grabbed then |
886 | SilentAimTarget = nil |
887 | end |
888 | end |
889 | end |
890 | if getgenv().Arctic.AimAssist.Enabled == true then |
891 | if getgenv().Arctic.Checks.KOCheck == true and AimAssistTarget and AimAssistTarget.Character then |
892 | local KOd = AimAssistTarget.Character:WaitForChild("BodyEffects")["K.O"].Value |
893 | local Grabbed = AimAssistTarget.Character:FindFirstChild("GRABBING_CONSTRAINT") ~= nil |
894 | if KOd or Grabbed then |
895 | AimAssistTarget = nil |
896 | IsTargetting = false |
897 | end |
898 | end |
899 | end |
900 | if getgenv().Arctic.AimAssist.DisableOnEnemyDeath == true and AimAssistTarget and |
901 | AimAssistTarget.Character:FindFirstChild("Humanoid") then |
902 | if AimAssistTarget.Character.Humanoid.health < 2 then |
903 | AimAssistTarget = nil |
904 | IsTargetting = false |
905 | end |
906 | end |
907 | if getgenv().Arctic.AimAssist.DisableOnOwnDeath == true and AimAssistTarget and |
908 | AimAssistTarget.Character:FindFirstChild("Humanoid") then |
909 | if Client.Character.Humanoid.health < 2 then |
910 | AimAssistTarget = nil |
911 | IsTargetting = false |
912 | end |
913 | end |
914 | if getgenv().Arctic.FOV.AimAssist.Enabled == true and AimAssistTarget and AimAssistTarget.Character and |
915 | AimAssistTarget.Character:WaitForChild("HumanoidRootPart") then |
916 | if AimAssistFOV.Radius < (Vector2.new(Camera:WorldToScreenPoint(AimAssistTarget.Character.HumanoidRootPart.Position).X, |
917 | Camera:WorldToScreenPoint(AimAssistTarget.Character.HumanoidRootPart.Position).Y) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude then |
918 | AimAssistTarget = nil |
919 | IsTargetting = false |
920 | end |
921 | end |
922 | if getgenv().Arctic.AimAssist.Predict and AimAssistTarget and AimAssistTarget.Character and |
923 | AimAssistTarget.Character:FindFirstChild(getgenv().Arctic.AimAssist.Aimpart) then |
924 | if getgenv().Arctic.AimAssist.Shake.Enabled then |
925 | local Main = CFrame.new(Camera.CFrame.p, |
926 | AimAssistTarget.Character[getgenv().Arctic.AimAssist.Aimpart].Position + |
927 | AimAssistTarget.Character[getgenv().Arctic.AimAssist.Aimpart].Velocity * |
928 | getgenv().Arctic.AimAssist.Prediction + |
929 | Vector3.new(math.random(-getgenv().Arctic.AimAssist.Shake.Strength, |
930 | getgenv().Arctic.AimAssist.Shake.Strength), math.random( |
931 | -getgenv().Arctic.AimAssist.Shake.Strength, |
932 | getgenv().Arctic.AimAssist.Shake.Strength), math.random( |
933 | -getgenv().Arctic.AimAssist.Shake.Strength, |
934 | getgenv().Arctic.AimAssist.Shake.Strength)) * 0.1) |
935 | Camera.CFrame = Camera.CFrame:Lerp(Main, getgenv().Arctic.AimAssist.Smoothness / 2, |
936 | Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, Enum.EasingStyle.Sine, Enum.EasingDirection.Out) |
937 | else |
938 | local Main = CFrame.new(Camera.CFrame.p, |
939 | AimAssistTarget.Character[getgenv().Arctic.AimAssist.Aimpart].Position + |
940 | AimAssistTarget.Character[getgenv().Arctic.AimAssist.Aimpart].Velocity * |
941 | getgenv().Arctic.AimAssist.Prediction) |
942 | Camera.CFrame = Camera.CFrame:Lerp(Main, getgenv().Arctic.AimAssist.Smoothness / 2, |
943 | Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, Enum.EasingStyle.Sine, Enum.EasingDirection.Out) |
944 | end |
945 | elseif getgenv().Arctic.AimAssist.Predict == false and AimAssistTarget and AimAssistTarget.Character and |
946 | AimAssistTarget.Character:FindFirstChild(getgenv().Arctic.AimAssist.Aimpart) then |
947 | if getgenv().Arctic.AimAssist.Shake.Enabled then |
948 | local Main = CFrame.new(Camera.CFrame.p, |
949 | AimAssistTarget.Character[getgenv().Arctic.AimAssist.Aimpart].Position + |
950 | Vector3.new(math.random(-getgenv().Arctic.AimAssist.Shake.Strength, |
951 | getgenv().Arctic.AimAssist.Shake.Strength), math.random( |
952 | -getgenv().Arctic.AimAssist.Shake.Strength, |
953 | getgenv().Arctic.AimAssist.Shake.Strength), math.random( |
954 | -getgenv().Arctic.AimAssist.Shake.Strength, |
955 | getgenv().Arctic.AimAssist.Shake.Strength)) * 0.1) |
956 | Camera.CFrame = Camera.CFrame:Lerp(Main, getgenv().Arctic.AimAssist.Smoothness / 2, |
957 | Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, Enum.EasingStyle.Sine, Enum.EasingDirection.Out) |
958 | else |
959 | local Main = |
960 | CFrame.new(Camera.CFrame.p, AimAssistTarget.Character[getgenv().Arctic.AimAssist.Aimpart].Position) |
961 | Camera.CFrame = Camera.CFrame:Lerp(Main, getgenv().Arctic.AimAssist.Smoothness / 2, |
962 | Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, Enum.EasingStyle.Sine, Enum.EasingDirection.Out) |
963 | end |
964 | end |
965 | if Script.Functions.getEquippedWeaponName() ~= nil then |
966 | local WeaponSettings = getgenv().Extra[Script.Functions.getEquippedWeaponName()] |
967 | if WeaponSettings ~= nil and getgenv().Arctic.GunFOV.Enabled == true then |
968 | getgenv().Arctic.FOV.SilentAim.FOV = WeaponSettings.FOV |
969 | else |
970 | getgenv().Arctic.FOV.SilentAim.FOV = getgenv().Arctic.FOV.SilentAim.FOV |
971 | end |
972 | end |
973 | if getgenv().Arctic.RangeManagement.Enabled and getgenv().Arctic.RangeManagement.Type == "Both" and Client ~= nil and |
974 | (Client.Character) and SilentAimTarget and SilentAimTarget.Character then |
975 | if (Client.Character.HumanoidRootPart.Position - SilentAimTarget.Character.HumanoidRootPart.Position).Magnitude < |
976 | getgenv().Arctic.RangeManagement.Close.CloseDetection then |
977 | getgenv().Arctic.FOV.SilentAim.FOV = getgenv().Arctic.RangeManagement.Close.CloseFOV |
978 | getgenv().Arctic.SilentAim.Prediction = getgenv().Arctic.RangeManagement.Close.ClosePrediction |
979 | |
980 | elseif (Client.Character.HumanoidRootPart.Position - SilentAimTarget.Character.HumanoidRootPart.Position).Magnitude < |
981 | getgenv().Arctic.RangeManagement.Mid.MidDetection then |
982 | getgenv().Arctic.FOV.SilentAim.FOV = getgenv().Arctic.RangeManagement.Mid.MidFOV |
983 | getgenv().Arctic.SilentAim.Prediction = getgenv().Arctic.RangeManagement.Mid.MidPrediction |
984 | |
985 | elseif (Client.Character.HumanoidRootPart.Position - SilentAimTarget.Character.HumanoidRootPart.Position).Magnitude < |
986 | getgenv().Arctic.RangeManagement.Far.FarDetection then |
987 | getgenv().Arctic.FOV.SilentAim.FOV = getgenv().Arctic.RangeManagement.Far.FarFOV |
988 | getgenv().Arctic.SilentAim.Prediction = getgenv().Arctic.RangeManagement.Far.FarPrediction |
989 | |
990 | elseif (Client.Character.HumanoidRootPart.Position - SilentAimTarget.Character.HumanoidRootPart.Position).Magnitude < |
991 | getgenv().Arctic.RangeManagement.ReallyFar.ReallyFarDetection then |
992 | getgenv().Arctic.FOV.SilentAim.FOV = getgenv().Arctic.RangeManagement.ReallyFar.ReallyFarFOV |
993 | getgenv().Arctic.SilentAim.Prediction = getgenv().Arctic.RangeManagement.ReallyFar.ReallyFarPrediction |
994 | |
995 | end |
996 | end |
997 | if getgenv().Arctic.RangeManagement.Enabled and getgenv().Arctic.RangeManagement.Type == "Prediction" and Client ~= nil and |
998 | (Client.Character) and SilentAimTarget and SilentAimTarget.Character then |
999 | if (Client.Character.HumanoidRootPart.Position - SilentAimTarget.Character.HumanoidRootPart.Position).Magnitude < |
1000 | getgenv().Arctic.RangeManagement.Close.CloseDetection then |
1001 | getgenv().Arctic.SilentAim.Prediction = getgenv().Arctic.RangeManagement.Close.ClosePrediction |
1002 | |
1003 | elseif (Client.Character.HumanoidRootPart.Position - SilentAimTarget.Character.HumanoidRootPart.Position).Magnitude < |
1004 | getgenv().Arctic.RangeManagement.Mid.MidDetection then |
1005 | getgenv().Arctic.SilentAim.Prediction = getgenv().Arctic.RangeManagement.Mid.MidPrediction |
1006 | |
1007 | elseif (Client.Character.HumanoidRootPart.Position - SilentAimTarget.Character.HumanoidRootPart.Position).Magnitude < |
1008 | getgenv().Arctic.RangeManagement.Far.FarDetection then |
1009 | getgenv().Arctic.SilentAim.Prediction = getgenv().Arctic.RangeManagement.Far.FarPrediction |
1010 | |
1011 | elseif (Client.Character.HumanoidRootPart.Position - SilentAimTarget.Character.HumanoidRootPart.Position).Magnitude < |
1012 | getgenv().Arctic.RangeManagement.ReallyFar.ReallyFarDetection then |
1013 | getgenv().Arctic.SilentAim.Prediction = getgenv().Arctic.RangeManagement.ReallyFar.ReallyFarPrediction |
1014 | |
1015 | end |
1016 | end |
1017 | if getgenv().Arctic.RangeManagement.Enabled and getgenv().Arctic.RangeManagement.Type == "FOV" and Client ~= nil and |
1018 | (Client.Character) and SilentAimTarget and SilentAimTarget.Character then |
1019 | if (Client.Character.HumanoidRootPart.Position - SilentAimTarget.Character.HumanoidRootPart.Position).Magnitude < |
1020 | getgenv().Arctic.RangeManagement.Close.CloseDetection then |
1021 | getgenv().Arctic.FOV.SilentAim.FOV = getgenv().Arctic.RangeManagement.Close.CloseFOV |
1022 | |
1023 | elseif (Client.Character.HumanoidRootPart.Position - SilentAimTarget.Character.HumanoidRootPart.Position).Magnitude < |
1024 | getgenv().Arctic.RangeManagement.Mid.MidDetection then |
1025 | getgenv().Arctic.FOV.SilentAim.FOV = getgenv().Arctic.RangeManagement.Mid.MidFOV |
1026 | |
1027 | elseif (Client.Character.HumanoidRootPart.Position - SilentAimTarget.Character.HumanoidRootPart.Position).Magnitude < |
1028 | getgenv().Arctic.RangeManagement.Far.FarDetection then |
1029 | getgenv().Arctic.FOV.SilentAim.FOV = getgenv().Arctic.RangeManagement.Far.FarFOV |
1030 | |
1031 | elseif (Client.Character.HumanoidRootPart.Position - SilentAimTarget.Character.HumanoidRootPart.Position).Magnitude < |
1032 | getgenv().Arctic.RangeManagement.ReallyFar.ReallyFarDetection then |
1033 | getgenv().Arctic.FOV.SilentAim.FOV = getgenv().Arctic.RangeManagement.ReallyFar.ReallyFarFOV |
1034 | |
1035 | end |
1036 | end |
1037 | end) |
1038 | if getgenv().Arctic.Customize.HitChance.Enabled then |
1039 | if SilentAimTarget.Character.Humanoid.FloorMaterial == Enum.Material.Air then |
1040 | getgenv().Arctic.SilentAim.HitChance = getgenv().Arctic.Customize.HitChance.AirHitChance |
1041 | else |
1042 | getgenv().Arctic.SilentAim.HitChance = getgenv().Arctic.Customize.HitChance.GroundHitChance |
1043 | end |
1044 | end |
1045 | if getgenv().Arctic.Customize.Prediction.Enabled then |
1046 | if SilentAimTarget.Character.Humanoid.FloorMaterial == Enum.Material.Air then |
1047 | getgenv().Arctic.SilentAim.Prediction = getgenv().Arctic.Customize.Prediction.AirPrediction |
1048 | else |
1049 | getgenv().Arctic.SilentAim.Prediction = getgenv().Arctic.Customize.Prediction.GroundPrediction |
1050 | end |
1051 | end |
1052 | if getgenv().Arctic.Customize.Smoothness.Enabled then |
1053 | if AimAssistTarget.Character.Humanoid.FloorMaterial == Enum.Material.Air then |
1054 | getgenv().Arctic.AimAssist.Smoothness = getgenv().Arctic.Customize.Smoothness.AirSmoothness |
1055 | else |
1056 | getgenv().Arctic.AimAssist.Smoothness = getgenv().Arctic.Customize.Smoothness.GroundSmoothness |
1057 | end |
1058 | end |
1059 | if getgenv().Arctic.Customize.Shake.Enabled then |
1060 | if AimAssistTarget.Character.Humanoid.FloorMaterial == Enum.Material.Air then |
1061 | getgenv().Arctic.AimAssist.Shake.Strength = getgenv().Arctic.Customize.Shake.AirShake |
1062 | else |
1063 | getgenv().Arctic.AimAssist.Shake.Strength = getgenv().Arctic.Customize.Shake.GroundShake |
1064 | end |
1065 | end |
1066 | Client.Chatted:Connect(function(message) |
1067 | if getgenv().Arctic.Chat.Enabled then |
1068 | local args = string.split(message, " ") |
1069 | if args[1] == getgenv().Arctic.Chat.FOV and args[2] ~= nil then |
1070 | getgenv().Arctic.FOV.SilentAim.FOV = tonumber(args[2]) |
1071 | end |
1072 | end |
1073 | if getgenv().Arctic.Chat.Enabled then |
1074 | local args = string.split(message, " ") |
1075 | if args[1] == getgenv().Arctic.Chat.Prediction and args[2] ~= nil then |
1076 | getgenv().Arctic.SilentAim.Prediction = tonumber(args[2]) |
1077 | end |
1078 | end |
1079 | if getgenv().Arctic.Chat.Enabled then |
1080 | local args = string.split(message, " ") |
1081 | if args[1] == getgenv().Arctic.Chat.HitChance and args[2] ~= nil then |
1082 | getgenv().Arctic.SilentAim.HitChance = tonumber(args[2]) |
1083 | end |
1084 | end |
1085 | end) |
1086 | print("button pressed") |
1087 | end |
1088 | }) |
1089 | |
1090 | Tab:AddButton({ |
1091 | Name = "aim lock 1.0", |
1092 | Callback = function() |
1093 | getgenv().user_settings = { |
1094 | silent_enabled = true, |
1095 | hitbox = 'HumanoidRootPart', |
1096 | |
1097 | aimbot_enabled = true, |
1098 | aimbot_keybind = 'E', |
1099 | aimbot_smoothing = 0.5, -- 0, 1 scale |
1100 | |
1101 | fov_radius = 200, |
1102 | prediction = 0.1377, |
1103 | auto_prediction = true, |
1104 | visible_check = true |
1105 | } |
1106 | |
1107 | loadstring(syn.request({Url = 'https://femboy.rip/scripts/dahood.lua'}).Body)() |
1108 | print("button pressed") |
1109 | end |
1110 | }) |
1111 | local Tab = Window:MakeTab({ |
1112 | Name = "script da hood", |
1113 | Icon = "rbxassetid://4483345998", |
1114 | PremiumOnly = false |
1115 | }) |
1116 | |
1117 | local Section = Tab:AddSection({ |
1118 | Name = "script" |
1119 | }) |
1120 | Tab:AddButton({ |
1121 | Name = "auto farm script da hood", |
1122 | Callback = function() |
1123 | _G.AutoFarm = true |
1124 | |
1125 | -- // Variables |
1126 | local Jogador = game:GetService("Players").LocalPlayer |
1127 | local Drop = game:GetService("Workspace").Ignored.Drop |
1128 | local Cashiers = game:GetService("Workspace").Cashiers |
1129 | local opens = Cashiers:GetDescendants() |
1130 | local num_opens = #opens |
1131 | |
1132 | -- // Functions |
1133 | function Farmando() |
1134 | while _G.AutoFarm do |
1135 | for _,f in pairs(Jogador:FindFirstChildOfClass("Backpack"):GetChildren()) do |
1136 | if f:IsA("Tool") or f:IsA("HopperBin") then |
1137 | if f.Name == "Combat" then |
1138 | f.Parent = Jogador.Character |
1139 | end |
1140 | end |
1141 | end |
1142 | wait() |
1143 | end |
1144 | end |
1145 | |
1146 | function FarmandoLoop() |
1147 | while _G.AutoFarm do |
1148 | for _,obj in pairs(Drop:GetDescendants()) do |
1149 | if obj:IsA("ClickDetector") then |
1150 | local pos1 = obj.Parent.Position |
1151 | local pos2 = Jogador.Character.HumanoidRootPart.Position |
1152 | local distance = (pos1 - pos2).Magnitude |
1153 | if distance <= 20 then |
1154 | fireclickdetector(obj) |
1155 | end |
1156 | end |
1157 | end |
1158 | mouse1click() |
1159 | wait() |
1160 | end |
1161 | end |
1162 | |
1163 | function OpensLoop() |
1164 | while _G.AutoFarm do |
1165 | for i = 1, num_opens do |
1166 | if opens[i].Name == "Open" then |
1167 | Jogador.Character.HumanoidRootPart.CFrame = opens[i].CFrame |
1168 | wait(12) |
1169 | end |
1170 | end |
1171 | i = 1 |
1172 | wait(10) |
1173 | end |
1174 | end |
1175 | |
1176 | -- // Main |
1177 | coroutine.wrap(Farmando)() |
1178 | coroutine.wrap(FarmandoLoop)() |
1179 | coroutine.wrap(OpensLoop)() |
1180 | |
1181 | print("button pressed") |
1182 | end |
1183 | }) |
1184 | |
1185 | Tab:AddButton({ |
1186 | Name = "keyboard script", |
1187 | Callback = function() |
1188 | |
1189 | loadstring(game:HttpGet(('https://raw.githubusercontent.com/advxzivhsjjdhxhsidifvsh/mobkeyboard/main/mob.txt'),true))() |
1190 | local KeyboardguiWarriorRoberrVersion = Instance.new("ScreenGui") |
1191 | local Drag = Instance.new("Frame") |
1192 | local Close = Instance.new("TextButton") |
1193 | |
1194 | --Properties: |
1195 | |
1196 | KeyboardguiWarriorRoberrVersion.Name = "Keyboard gui WarriorRoberr Version" |
1197 | KeyboardguiWarriorRoberrVersion.Parent = game.CoreGui |
1198 | KeyboardguiWarriorRoberrVersion.ZIndexBehavior = Enum.ZIndexBehavior.Sibling |
1199 | |
1200 | Drag.Name = "Drag" |
1201 | Drag.Parent = KeyboardguiWarriorRoberrVersion |
1202 | Drag.BackgroundColor3 = Color3.fromRGB(0, 0, 0) |
1203 | Drag.BorderSizePixel = 0 |
1204 | Drag.Position = UDim2.new(0.147916675, 0, 0.0593749993, 0) |
1205 | Drag.Size = UDim2.new(0, 270, 0, 30) |
1206 | Drag.Active = true |
1207 | Drag.Draggable = true |
1208 | |
1209 | Close.Name = "Close" |
1210 | Close.Parent = Drag |
1211 | Close.BackgroundColor3 = Color3.fromRGB(0, 0, 0) |
1212 | Close.BorderSizePixel = 0 |
1213 | Close.Position = UDim2.new(0.999839723, 0, -0.00729167089, 0) |
1214 | Close.Size = UDim2.new(0, 30, 0, 30) |
1215 | Close.Font = Enum.Font.SourceSans |
1216 | Close.Text = "X" |
1217 | Close.TextColor3 = Color3.fromRGB(255, 255, 255) |
1218 | Close.TextSize = 35.000 |
1219 | Close.MouseButton1Click:Connect(function() |
1220 | KeyboardguiWarriorRoberrVersion:Destroy() |
1221 | end) |
1222 | game.CoreGui["BUNB0yBUN BOARD"].KeyBoard.Parent = Drag |
1223 | game.CoreGui["BUNB0yBUN BOARD"]:Destroy() |
1224 | game.CoreGui["Keyboard gui WarriorRoberr Version"].Drag.KeyBoard.Bunb0ybun.Text = "BETTER VERSION " |
1225 | game.CoreGui["Keyboard gui WarriorRoberr Version"].Drag.KeyBoard.Position = UDim2.new(0, 0, 0, 35) |
1226 | game.CoreGui["Keyboard gui WarriorRoberr Version"].Drag.KeyBoard.Bunb0ybun.TextSize = 10 |
1227 | |
1228 | print("button pressed") |
1229 | end |
1230 | }) |
1231 | Tab:AddButton({ |
1232 | Name = "da hood scarlet 3.0", |
1233 | Callback = function() |
1234 | |
1235 | loadstring(game:HttpGet("https://pastecode.dev/raw/BsHgCgNLgo/da%20hood%20scarlet%203.0"))() |
1236 | print("button pressed") |
1237 | end |
1238 | }) |