CookiesKush420

Untitled

Feb 24th, 2023
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 244.44 KB | None | 0 0
  1. --* Script Info *--
  2. local script_version_number = "v6.5"
  3. local last_updated = "25/01/2023"
  4.  
  5. --* Setup Script *--
  6. repeat wait() until game:IsLoaded()
  7.  
  8.  
  9. local success, response = nil, nil
  10.  
  11. -- Main veriables
  12. local plrs = game["Players"]
  13. local ws = game["Workspace"]
  14. local Workspace = game["Workspace"]
  15. local uis = game["UserInputService"]
  16. local rs = game["RunService"]
  17. local hs = game["HttpService"]
  18. local cgui = game["CoreGui"]
  19. local lighting = game["Lighting"]
  20. local GuiService = game["GuiService"]
  21. local repStorage = game["ReplicatedStorage"]
  22. local tweenService = game["TweenService"]
  23.  
  24. local Terrain = ws:FindFirstChildOfClass("Terrain")
  25. local plr = plrs.LocalPlayer
  26. local mouse = plr:GetMouse()
  27. local Camera = ws.CurrentCamera
  28. local FPSModule = require(repStorage.Modules.FPS)
  29. local ReplicatedPlayers = repStorage:FindFirstChild("Players")
  30. local worldToViewportPoint = Camera.worldToViewportPoint
  31.  
  32. local Distance_Type_ = "Studs"
  33. local Environment = {}
  34.  
  35. -- Script Settings
  36. Environment.Settings = {
  37. HighlightTarget = nil,
  38. SaveSettings = false, -- Re-execute upon changing
  39. ReloadOnTeleport = true,
  40. Enabled = false,
  41. TargetLock = false, -- Script will relock to the closet person if locked if false
  42. SilentAimEnabled = false,
  43. TimeToTarget = 0,
  44. SilentAimMisschance = 0,
  45. AliveCheck = true,
  46. WallCheck = false, -- Laggy
  47. Sensitivity = 0, -- Animation length (in seconds) before fully locking onto target
  48. ThirdPerson = false, -- Uses mousemoverel instead of CFrame to support locking in third person (could be choppy)
  49. ThirdPersonSensitivity = 3, -- Boundary: 0.1 - 5
  50. TriggerKey = "MouseButton2",
  51. SnapLines = false,
  52. SnapLineColor = "255, 0, 0",
  53. Prediction = false,
  54. PredictionMultiplier = 20,
  55. MaxDistance = 1000,
  56. AiAimbotEnabled = false,
  57. WallBang = false,
  58. WallType = "Wood",
  59. WallTypes = {"Wood", "WoodPlanks", "Fabric", "CorrodedMetal", "Plastic"},
  60. Toggle = false,
  61. LockPart = "Head", -- Body part to lock on
  62. AILocked = false
  63. }
  64. Environment.FOVSettings = {
  65. Enabled = false,
  66. Visible = true,
  67. Amount = 90,
  68. Color = "255, 255, 255",
  69. LockedColor = "255, 0, 0",
  70. Transparency = 0.7,
  71. Sides = 60,
  72. Thickness = 1,
  73. Filled = false
  74. }
  75. Environment.FOVCircle = Drawing.new("Circle")
  76. Environment.FOVCircleOutline1 = Drawing.new("Circle")
  77. Environment.FOVCircleOutline2 = Drawing.new("Circle")
  78. Environment.SnapLine = Drawing.new("Line")
  79. Environment.Locked = nil
  80.  
  81.  
  82. UIS = game:GetService("UserInputService")
  83.  
  84. Functions = {}
  85. AimbotHitPart = nil
  86.  
  87. dwSkeleton = {}
  88. dwBody = {}
  89. dwBox = {}
  90. dwName = nil
  91. dwDistance = nil
  92. dwHealthBar = nil
  93. dwHealthText = nil
  94. dwTool = nil
  95.  
  96. ScreenGui = Instance.new("ScreenGui")
  97. Frame = Instance.new("Frame")
  98. ImageLabel = Instance.new("ImageLabel")
  99. Box = Instance.new("Folder")
  100. Frame_2 = Instance.new("Frame")
  101. Frame_3 = Instance.new("Frame")
  102. Frame_4 = Instance.new("Frame")
  103. Frame_5 = Instance.new("Frame")
  104. Frame_6 = Instance.new("Frame")
  105. Head = Instance.new("ImageButton")
  106. LeftArm = Instance.new("ImageButton")
  107. LeftLeg = Instance.new("ImageButton")
  108. RightArm = Instance.new("ImageButton")
  109. RightLeg = Instance.new("ImageButton")
  110. Torso = Instance.new("ImageButton")
  111. Skeleton = Instance.new("Folder")
  112. Frame_7 = Instance.new("Frame")
  113. Frame_8 = Instance.new("Frame")
  114. Frame_9 = Instance.new("Frame")
  115. Frame_10 = Instance.new("Frame")
  116. Frame_11 = Instance.new("Frame")
  117. Frame_12 = Instance.new("Frame")
  118. Frame_13 = Instance.new("Frame")
  119. Frame_14 = Instance.new("Frame")
  120. Frame_15 = Instance.new("Frame")
  121. Frame_16 = Instance.new("Frame")
  122. Body = Instance.new("Folder")
  123. TextBox = Instance.new("TextBox")
  124. TextBox_2 = Instance.new("TextBox")
  125. HitPart = Instance.new("TextBox")
  126. TextBox_3 = Instance.new("TextBox")
  127. TextBox_4 = Instance.new("TextBox")
  128.  
  129. --Properties:
  130.  
  131. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  132. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  133.  
  134. Frame.Parent = ScreenGui
  135. Frame.BackgroundColor3 = Color3.fromRGB(93, 93, 93)
  136. Frame.Position = UDim2.new(0.419147223, 0, 0.302469134, 0)
  137. Frame.Size = UDim2.new(0, 300, 0, 300)
  138.  
  139. ImageLabel.Parent = Frame
  140. ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  141. ImageLabel.BackgroundTransparency = 1.000
  142. ImageLabel.BorderSizePixel = 0
  143. ImageLabel.Position = UDim2.new(0.106882216, 0, 0.0568893862, 0)
  144. ImageLabel.Size = UDim2.new(0, 238, 0, 257)
  145. ImageLabel.Image = "rbxassetid://12194422580"
  146.  
  147. Box.Name = "Box"
  148. Box.Parent = ImageLabel
  149.  
  150. Frame_2.Parent = Box
  151. Frame_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  152. Frame_2.Position = UDim2.new(0.165382713, 0, 0.138771385, 0)
  153. Frame_2.Size = UDim2.new(0, 1, 0, 182)
  154. table.insert(dwBox, Frame_2)
  155.  
  156.  
  157. Frame_3.Parent = Box
  158. Frame_3.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  159. Frame_3.Position = UDim2.new(0.841853321, 0, 0.138771385, 0)
  160. Frame_3.Size = UDim2.new(0, 1, 0, 182)
  161. table.insert(dwBox, Frame_3)
  162.  
  163. Frame_4.Parent = Box
  164. Frame_4.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  165. Frame_4.Position = UDim2.new(0.501517177, 0, 0.54344064, 0)
  166. Frame_4.Rotation = 90.000
  167. Frame_4.Size = UDim2.new(0, 1, 0, 160)
  168. table.insert(dwBox, Frame_4)
  169.  
  170. Frame_5.Parent = Box
  171. Frame_5.BackgroundColor3 = Color3.fromRGB(58, 208, 63)
  172. Frame_5.Position = UDim2.new(0.135970935, 0, 0.138771385, 0)
  173. Frame_5.Size = UDim2.new(0, 1, 0, 182)
  174. dwHealthBar = Frame_5
  175.  
  176. Frame_6.Parent = Box
  177. Frame_6.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  178. Frame_6.Position = UDim2.new(0.501517177, 0, -0.17251265, 0)
  179. Frame_6.Rotation = 90.000
  180. Frame_6.Size = UDim2.new(0, 1, 0, 160)
  181. table.insert(dwBox, Frame_6)
  182.  
  183. Head.Name = "Head"
  184. Head.Parent = Box
  185. Head.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  186. Head.ImageColor3 = Color3.fromRGB(255, 255, 255)
  187. Head.BackgroundTransparency = 1.000
  188. Head.Position = UDim2.new(0.427938521, 0, 0.166008741, 0)
  189. Head.Size = UDim2.new(0, 37, 0, 37)
  190. Head.Image = "rbxassetid://12191706075"
  191. table.insert(dwBody, Head)
  192.  
  193. LeftArm.Name = "LeftArm"
  194. LeftArm.Parent = Box
  195. LeftArm.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  196. LeftArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  197. LeftArm.BackgroundTransparency = 1.000
  198. LeftArm.Position = UDim2.new(0.229496052, 0, 0.314066499, 0)
  199. LeftArm.Size = UDim2.new(0, 29, 0, 60)
  200. LeftArm.Image = "rbxassetid://12191647995"
  201. table.insert(dwBody, LeftArm)
  202.  
  203. LeftLeg.Name = "LeftLeg"
  204. LeftLeg.Parent = Box
  205. LeftLeg.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  206. LeftLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  207. LeftLeg.BackgroundTransparency = 1.000
  208. LeftLeg.Position = UDim2.new(0.368655682, 0, 0.551947067, 0)
  209. LeftLeg.Size = UDim2.new(0, 29, 0, 60)
  210. LeftLeg.Image = "rbxassetid://12191647995"
  211. table.insert(dwBody, LeftLeg)
  212.  
  213. RightArm.Name = "RightArm"
  214. RightArm.Parent = Box
  215. RightArm.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  216. RightArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  217. RightArm.BackgroundTransparency = 1.000
  218. RightArm.Position = UDim2.new(0.650985062, 0, 0.314066499, 0)
  219. RightArm.Size = UDim2.new(0, 29, 0, 60)
  220. RightArm.Image = "rbxassetid://12191647995"
  221. table.insert(dwBody, RightArm)
  222.  
  223. RightLeg.Name = "RightLeg"
  224. RightLeg.Parent = Box
  225. RightLeg.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  226. RightLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  227. RightLeg.BackgroundTransparency = 1.000
  228. RightLeg.Position = UDim2.new(0.512180388, 0, 0.553620219, 0)
  229. RightLeg.Size = UDim2.new(0, 29, 0, 60)
  230. RightLeg.Image = "rbxassetid://12191647995"
  231. table.insert(dwBody, RightLeg)
  232.  
  233. Torso.Name = "Torso"
  234. Torso.Parent = Box
  235. Torso.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  236. Torso.ImageColor3 = Color3.fromRGB(255, 255, 255)
  237. Torso.BackgroundTransparency = 1.000
  238. Torso.Position = UDim2.new(0.372857094, 0, 0.311355293, 0)
  239. Torso.Size = UDim2.new(0, 62, 0, 60)
  240. Torso.Image = "rbxassetid://12191647995"
  241. table.insert(dwBody, Torso)
  242.  
  243. Skeleton.Name = "Skeleton"
  244. Skeleton.Parent = ImageLabel
  245.  
  246. Frame_7.Parent = Skeleton
  247. Frame_7.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  248. Frame_7.Position = UDim2.new(0.289999992, 0, 0.354999989, 0)
  249. Frame_7.Size = UDim2.new(0, 0, 0, 43)
  250. table.insert(dwSkeleton, Frame_7)
  251.  
  252. Frame_8.Parent = Skeleton
  253. Frame_8.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  254. Frame_8.Position = UDim2.new(0.504626632, 0, 0.363791853, 0)
  255. Frame_8.Size = UDim2.new(0, 0, 0, 43)
  256. table.insert(dwSkeleton, Frame_8)
  257.  
  258. Frame_9.Parent = Skeleton
  259. Frame_9.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  260. Frame_9.Position = UDim2.new(0.435000002, 0, 0.601000011, 0)
  261. Frame_9.Size = UDim2.new(0, 0, 0, 43)
  262. table.insert(dwSkeleton, Frame_9)
  263.  
  264. Frame_10.Parent = Skeleton
  265. Frame_10.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  266. Frame_10.Position = UDim2.new(0.574999988, 0, 0.601000011, 0)
  267. Frame_10.Size = UDim2.new(0, 0, 0, 42)
  268. table.insert(dwSkeleton, Frame_10)
  269.  
  270. Frame_11.Parent = Skeleton
  271. Frame_11.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  272. Frame_11.Position = UDim2.new(0.467739344, 0, 0.530568421, 0)
  273. Frame_11.Rotation = 45.000
  274. Frame_11.Size = UDim2.new(0, 0, 0, 21)
  275. table.insert(dwSkeleton, Frame_11)
  276.  
  277. Frame_12.Parent = Skeleton
  278. Frame_12.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  279. Frame_12.Position = UDim2.new(0.541513622, 0, 0.530568421, 0)
  280. Frame_12.Rotation = -45.000
  281. Frame_12.Size = UDim2.new(0, 0, 0, 21)
  282. table.insert(dwSkeleton, Frame_12)
  283.  
  284. Frame_13.Parent = Skeleton
  285. Frame_13.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  286. Frame_13.Position = UDim2.new(0.400578082, 0, 0.253633499, 0)
  287. Frame_13.Rotation = 90.000
  288. Frame_13.Size = UDim2.new(0, 0, 0, 52)
  289. table.insert(dwSkeleton, Frame_13)
  290.  
  291. Frame_14.Parent = Skeleton
  292. Frame_14.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  293. Frame_14.Position = UDim2.new(0.610993981, 0, 0.249742448, 0)
  294. Frame_14.Rotation = 90.000
  295. Frame_14.Size = UDim2.new(0, 0, 0, 54)
  296. table.insert(dwSkeleton, Frame_14)
  297.  
  298. Frame_15.Parent = Skeleton
  299. Frame_15.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  300. Frame_15.Position = UDim2.new(0.504626632, 0, 0.243829742, 0)
  301. Frame_15.Size = UDim2.new(0, 0, 0, 43)
  302. table.insert(dwSkeleton, Frame_15)
  303.  
  304. Frame_16.Parent = Skeleton
  305. Frame_16.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  306. Frame_16.Position = UDim2.new(0.726974785, 0, 0.354999989, 0)
  307. Frame_16.Size = UDim2.new(0, 0, 0, 43)
  308. table.insert(dwSkeleton, Frame_16)
  309.  
  310. Body.Name = "Body"
  311. Body.Parent = ImageLabel
  312.  
  313. TextBox.Parent = ImageLabel
  314. TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  315. TextBox.BackgroundTransparency = 1.000
  316. TextBox.Position = UDim2.new(0.846054971, 0, 0.138771385, 0)
  317. TextBox.Size = UDim2.new(0, 36, 0, 21)
  318. TextBox.Font = Enum.Font.SourceSans
  319. TextBox.Text = "Tool"
  320. TextBox.TextColor3 = Color3.fromRGB(0, 0, 0)
  321. TextBox.TextSize = 14.000
  322. dwTool = TextBox
  323.  
  324. TextBox_2.Parent = ImageLabel
  325. TextBox_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  326. TextBox_2.BackgroundTransparency = 1
  327. TextBox_2.Position = UDim2.new(0.169584394, 0, 0.016942604, 0)
  328. TextBox_2.Size = UDim2.new(0, 160, 0, 28)
  329. TextBox_2.Font = Enum.Font.SourceSans
  330. TextBox_2.Text = "Player Name"
  331. TextBox_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  332. TextBox_2.TextSize = 14.000
  333. dwName = TextBox_2
  334.  
  335. HitPart.Parent = ImageLabel
  336. HitPart.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  337. HitPart.BackgroundTransparency = 1
  338. HitPart.Position = UDim2.new(0.189584394, 0, 0.99542604, 0)
  339. HitPart.Size = UDim2.new(0, 160, 0, 28)
  340. HitPart.Font = Enum.Font.SourceSans
  341. HitPart.Text = "Hit Part: None"
  342. HitPart.TextColor3 = Color3.fromRGB(255, 255, 255)
  343. HitPart.TextSize = 14.000
  344.  
  345. TextBox_3.Parent = ImageLabel
  346. TextBox_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  347. TextBox_3.BackgroundTransparency = 1
  348. TextBox_3.Position = UDim2.new(0, 0, 0.138771385, 0)
  349. TextBox_3.Size = UDim2.new(0, 32, 0, 21)
  350. TextBox_3.Font = Enum.Font.SourceSans
  351. TextBox_3.Text = "100"
  352. TextBox_3.TextColor3 = Color3.fromRGB(0, 0, 0)
  353. TextBox_3.TextSize = 14.000
  354. dwHealthText = TextBox_3
  355.  
  356. TextBox_4.Parent = ImageLabel
  357. TextBox_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  358. TextBox_4.BackgroundTransparency = 1.000
  359. TextBox_4.Position = UDim2.new(0.169584394, 0, 0.846942604, 0)
  360. TextBox_4.Size = UDim2.new(0, 160, 0, 28)
  361. TextBox_4.Font = Enum.Font.SourceSans
  362. TextBox_4.Text = "[300m]"
  363. TextBox_4.TextColor3 = Color3.fromRGB(0, 0, 0)
  364. TextBox_4.TextSize = 14.000
  365. dwDistance = TextBox_4
  366.  
  367.  
  368. local ScreenX = Camera.ViewportSize.X
  369. local ScreenY = Camera.ViewportSize.Y
  370. -- Place frame in the top right corner of the screen
  371. Frame.Position = UDim2.new(1, -ScreenX / 2 + 629, 0, 0)
  372.  
  373. Head.MouseButton1Click:Connect(function()
  374. if Head.ImageColor3 == Color3.fromRGB(235, 0, 0) then
  375. Head.ImageColor3 = Color3.fromRGB(255, 255, 255)
  376. Torso.ImageColor3 = Color3.fromRGB(255, 255, 255)
  377. LeftArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  378. RightArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  379. LeftLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  380. RightLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  381. HitPart.Text = "Hit Part: None"
  382. else
  383. HitPart.Text = "Hit Part: Head"
  384. Environment.Settings.LockPart = "Head"
  385. Head.ImageColor3 = Color3.fromRGB(235, 0, 0)
  386. Torso.ImageColor3 = Color3.fromRGB(255, 255, 255)
  387. LeftArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  388. RightArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  389. LeftLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  390. RightLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  391. end
  392. end)
  393.  
  394. Torso.MouseButton1Click:Connect(function()
  395. if Torso.ImageColor3 == Color3.fromRGB(235, 0, 0) then
  396. Head.ImageColor3 = Color3.fromRGB(255, 255, 255)
  397. Torso.ImageColor3 = Color3.fromRGB(255, 255, 255)
  398. LeftArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  399. RightArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  400. LeftLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  401. RightLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  402. HitPart.Text = "Hit Part: None"
  403. else
  404. HitPart.Text = "Hit Part: Torso"
  405. Environment.Settings.LockPart = "UpperTorso"
  406. Head.ImageColor3 = Color3.fromRGB(255, 255, 255)
  407. Torso.ImageColor3 = Color3.fromRGB(235, 0, 0)
  408. LeftArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  409. RightArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  410. LeftLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  411. RightLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  412. end
  413. end)
  414.  
  415. LeftArm.MouseButton1Click:Connect(function()
  416. if LeftArm.ImageColor3 == Color3.fromRGB(235, 0, 0) then
  417. Head.ImageColor3 = Color3.fromRGB(255, 255, 255)
  418. Torso.ImageColor3 = Color3.fromRGB(255, 255, 255)
  419. LeftArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  420. RightArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  421. LeftLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  422. RightLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  423. HitPart.Text = "Hit Part: None"
  424. else
  425. HitPart.Text = "Hit Part: Left Arm"
  426. Environment.Settings.LockPart = "LeftUpperArm"
  427. Head.ImageColor3 = Color3.fromRGB(255, 255, 255)
  428. Torso.ImageColor3 = Color3.fromRGB(255, 255, 255)
  429. LeftArm.ImageColor3 = Color3.fromRGB(235, 0, 0)
  430. RightArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  431. LeftLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  432. RightLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  433. end
  434. end)
  435.  
  436. RightArm.MouseButton1Click:Connect(function()
  437. if RightArm.ImageColor3 == Color3.fromRGB(235, 0, 0) then
  438. Head.ImageColor3 = Color3.fromRGB(255, 255, 255)
  439. Torso.ImageColor3 = Color3.fromRGB(255, 255, 255)
  440. LeftArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  441. RightArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  442. LeftLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  443. RightLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  444. HitPart.Text = "Hit Part: None"
  445. else
  446. HitPart.Text = "Hit Part: Right Arm"
  447. Environment.Settings.LockPart = "RightUpperArm"
  448. Head.ImageColor3 = Color3.fromRGB(255, 255, 255)
  449. Torso.ImageColor3 = Color3.fromRGB(255, 255, 255)
  450. LeftArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  451. RightArm.ImageColor3 = Color3.fromRGB(235, 0, 0)
  452. LeftLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  453. RightLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  454. end
  455. end)
  456.  
  457. LeftLeg.MouseButton1Click:Connect(function()
  458. if LeftLeg.ImageColor3 == Color3.fromRGB(235, 0, 0) then
  459. Head.ImageColor3 = Color3.fromRGB(255, 255, 255)
  460. Torso.ImageColor3 = Color3.fromRGB(255, 255, 255)
  461. LeftArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  462. RightArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  463. LeftLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  464. RightLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  465. HitPart.Text = "Hit Part: None"
  466. else
  467. HitPart.Text = "Hit Part: Left Leg"
  468. Environment.Settings.LockPart = "LeftUpperLeg"
  469. Head.ImageColor3 = Color3.fromRGB(255, 255, 255)
  470. Torso.ImageColor3 = Color3.fromRGB(255, 255, 255)
  471. LeftArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  472. RightArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  473. LeftLeg.ImageColor3 = Color3.fromRGB(235, 0, 0)
  474. RightLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  475. end
  476. end)
  477.  
  478. RightLeg.MouseButton1Click:Connect(function()
  479. if RightLeg.ImageColor3 == Color3.fromRGB(235, 0, 0) then
  480. Head.ImageColor3 = Color3.fromRGB(255, 255, 255)
  481. Torso.ImageColor3 = Color3.fromRGB(255, 255, 255)
  482. LeftArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  483. RightArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  484. LeftLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  485. RightLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  486. HitPart.Text = "Hit Part: None"
  487. else
  488. HitPart.Text = "Hit Part: Right Leg"
  489. Environment.Settings.LockPart = "RightUpperLeg"
  490. Head.ImageColor3 = Color3.fromRGB(255, 255, 255)
  491. Torso.ImageColor3 = Color3.fromRGB(255, 255, 255)
  492. LeftArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  493. RightArm.ImageColor3 = Color3.fromRGB(255, 255, 255)
  494. LeftLeg.ImageColor3 = Color3.fromRGB(255, 255, 255)
  495. RightLeg.ImageColor3 = Color3.fromRGB(235, 0, 0)
  496. end
  497. end)
  498.  
  499.  
  500. function ShowSkeleton()
  501. for i,v in pairs(dwSkeleton) do
  502. v.Transparency = 0
  503. end
  504. end
  505.  
  506. function HideSkeleton()
  507. for i,v in pairs(dwSkeleton) do
  508. v.Transparency = 1
  509. end
  510. end
  511.  
  512. function ShowBox()
  513. for i,v in pairs(dwBox) do
  514. v.Transparency = 0
  515. end
  516. end
  517.  
  518. function HideBox()
  519. for i,v in pairs(dwBox) do
  520. v.Transparency = 1
  521. end
  522. end
  523.  
  524. function ShowHealthBar()
  525. dwHealthBar.Transparency = 0
  526. end
  527.  
  528. function HideHealthBar()
  529. dwHealthBar.Transparency = 1
  530. end
  531.  
  532. function ShowHealthText()
  533. dwHealthText.Transparency = 0
  534. dwHealthText.BackgroundTransparency = 1
  535. end
  536.  
  537. function HideHealthText()
  538. dwHealthText.Transparency = 1
  539. dwHealthText.BackgroundTransparency = 1
  540. end
  541.  
  542. function ShowName()
  543. dwName.Transparency = 0
  544. dwName.BackgroundTransparency = 1
  545. end
  546.  
  547. function HideName()
  548. dwName.Transparency = 1
  549. dwName.BackgroundTransparency = 1
  550. end
  551.  
  552. function ShowDistance()
  553. dwDistance.Transparency = 0
  554. dwDistance.BackgroundTransparency = 1
  555. end
  556.  
  557. function HideDistance()
  558. dwDistance.Transparency = 1
  559. dwDistance.BackgroundTransparency = 1
  560. end
  561.  
  562. function ShowTool()
  563. dwTool.Transparency = 0
  564. dwTool.BackgroundTransparency = 1
  565. end
  566.  
  567. function HideTool()
  568. dwTool.Transparency = 1
  569. dwTool.BackgroundTransparency = 1
  570. end
  571.  
  572. function HideESPPreview()
  573. Frame.Visible = false
  574. end
  575.  
  576. function ShowESPPreview()
  577. Frame.Visible = true
  578. end
  579.  
  580. HideSkeleton()
  581. HideBox()
  582. HideHealthBar()
  583. HideHealthText()
  584. HideName()
  585. HideTool()
  586. HideDistance()
  587.  
  588. -- Aimbot
  589. local updateTick = 0
  590. local PlayersEstimatedVelocity
  591. ThirdPersonKeybindToggled = false
  592. UniversalTables = require(repStorage.Modules:WaitForChild("UniversalTables"))
  593.  
  594. repeat wait() until ReplicatedPlayers
  595.  
  596. Library = loadstring(game:HttpGet("https://pastebin.com/raw/iY5SipTz"))({
  597. cheatname = 'Notification Library',
  598. gamename = 'Notification Library',
  599. fileext = '.json'
  600. })
  601. Utility = Library.utility
  602. Library:init()
  603.  
  604. UpdateScript = loadstring(game:HttpGet("https://cdn.sourceb.in/bins/QT5qKHcA8t/0"))()
  605. KeybindUI = loadstring(game:HttpGet("https://cdn.sourceb.in/bins/jfzb1ADr4F/0"))()
  606. PlrDetectorUI = loadstring(game:HttpGet("https://cdn.sourceb.in/bins/xkyZg6MiOw/0"))()
  607.  
  608. Anti_Predicition = loadstring(game:HttpGet("https://cdn.sourceb.in/bins/rsv3W9yeOr/0"))()
  609. Anti_Aim = loadstring(game:HttpGet("https://cdn.sourceb.in/bins/Jann9b3MVM/0"))()
  610.  
  611. library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Callumgm/Roblox-Scripts/main/ui_new.lua"))()
  612. watermark = library:Watermark("1NF1N17Y | 60 fps | 60ms | " .. script_version_number .. " | Private")
  613. ESP, ESP_RenderStepped, Framework = loadstring(game:HttpGet("https://raw.githubusercontent.com/Callumgm/INFINITY/main/assets/esp2"))()
  614.  
  615. headSound = Framework:Instance("Sound", {Volume = 10, Parent = cgui})
  616. bodySound = Framework:Instance("Sound", {Volume = 10, Parent = cgui})
  617.  
  618. function IsPartVisible(part, partancestor)
  619. local character = plr.Character or plr.CharacterAdded:Wait()
  620. local campos = Camera.CFrame.Position
  621.  
  622. local vector, onscreen = Camera:WorldToViewportPoint(part.Position)
  623.  
  624. if onscreen then
  625. local rayparams = RaycastParams.new()
  626. rayparams.FilterType = Enum.RaycastFilterType.Blacklist
  627. rayparams.FilterDescendantsInstances = {Camera, character}
  628.  
  629. local result = workspace:Raycast(campos, part.Position - campos, rayparams)
  630.  
  631. if result then
  632. local hit = result.Instance
  633. return not hit or hit:IsDescendantOf(partancestor)
  634. end
  635. end
  636.  
  637. return false
  638. end
  639.  
  640. function IsPartVisible2(hrp)
  641. local ray = Ray.new(Camera.CFrame.Position, (hrp.Position - Camera.CFrame.Position).Unit * library.flags["espMaxDistance"])
  642. local part, _ = workspace:FindPartOnRayWithIgnoreList(ray, {plr.Character, Camera})
  643. if part and part.Parent and part.Parent:FindFirstChild("Humanoid") then
  644. return true
  645. else
  646. return false
  647. end
  648. end
  649.  
  650. local AllGunsTable = {
  651. Melee = {
  652. GoldenDV2 = "GoldenDV2",
  653. DV2 = "DV2",
  654. AnarchyTomahawk = "AnarchyTomahawk",
  655. PlasmaNinjato = "PlasmaNinjato",
  656. },
  657.  
  658. Snipers = {
  659. Mosin = "Mosin",
  660. SVD = "SVD",
  661. },
  662.  
  663. Rilfes = {
  664. AsVal = "AsVal",
  665. AKMN = "AKMN",
  666. M4 = "M4",
  667. AKM = "AKM",
  668. },
  669.  
  670. SMGs = {
  671. PPSH41 = "PPSH41",
  672. MP5SD = "MP5SD",
  673. VZ61 = "VZ61",
  674. },
  675.  
  676. Pistols = {
  677. Makarov = "Makarov",
  678. TFZ0 = "TFZ0",
  679. MP443 = "MP443",
  680. TT33 = "TT33",
  681. },
  682.  
  683. Shotguns = {
  684. IZh81 = "IZh81",
  685. },
  686.  
  687. -- Others
  688.  
  689. Specials = {
  690. FlareGun = "FlareGun",
  691. Lighter = "Lighter",
  692. },
  693.  
  694. Keys = {
  695. FuelingStationKey = "FuelingStationKey",
  696. LighthouseKey = "LighthouseKey",
  697. VillageKey = "VillageKey",
  698. CraneKey = "CraneKey",
  699. FactoryGarageKey = "FactoryGarageKey",
  700. },
  701.  
  702. Meds = {
  703. AA2 = "AA2",
  704. Rags = "Rags",
  705. AI2 = "AI2",
  706. Bandage = "Bandage",
  707. },
  708.  
  709. Grenades = {
  710. F1 = "F1",
  711. RGO = "RGO",
  712. RGD5 = "RGD5",
  713. M84 = "M84",
  714. },
  715.  
  716. Consuables = {
  717. ResKola = "ResKola",
  718. CatfrogSoda = "CatfrogSoda",
  719. BloxyCola = "BloxyCola",
  720. Beans = "Beans",
  721. MaxEnergy = "MaxEnergy",
  722. },
  723. }
  724. local ItemScannerTable = {
  725. "Mosin",
  726. "SVD",
  727. "AsVal",
  728. "AKMN",
  729. "M4",
  730. "AKM",
  731. "PPSH41",
  732. "MP5SD",
  733. "FlareGun",
  734.  
  735. "Altyn",
  736. "Attack5",
  737. "JPC",
  738. "FastMT",
  739. "FlareGun",
  740. }
  741.  
  742. local Sky = lighting:FindFirstChildOfClass("Sky")
  743. if not Sky then
  744. Sky = Framework:Instance("Sky", {Parent = lighting})
  745. end
  746. local SkyBoxes = {
  747. ["Standard"] = {
  748. ["SkyboxBk"] = Sky.SkyboxBk,
  749. ["SkyboxDn"] = Sky.SkyboxDn,
  750. ["SkyboxFt"] = Sky.SkyboxFt,
  751. ["SkyboxLf"] = Sky.SkyboxLf,
  752. ["SkyboxRt"] = Sky.SkyboxRt,
  753. ["SkyboxUp"] = Sky.SkyboxUp,
  754. },
  755. ["Among Us"] = {
  756. ["SkyboxBk"] = "rbxassetid://5752463190",
  757. ["SkyboxDn"] = "rbxassetid://5752463190",
  758. ["SkyboxFt"] = "rbxassetid://5752463190",
  759. ["SkyboxLf"] = "rbxassetid://5752463190",
  760. ["SkyboxRt"] = "rbxassetid://5752463190",
  761. ["SkyboxUp"] = "rbxassetid://5752463190"
  762. },
  763. ["Neptune"] = {
  764. ["SkyboxBk"] = "rbxassetid://218955819",
  765. ["SkyboxDn"] = "rbxassetid://218953419",
  766. ["SkyboxFt"] = "rbxassetid://218954524",
  767. ["SkyboxLf"] = "rbxassetid://218958493",
  768. ["SkyboxRt"] = "rbxassetid://218957134",
  769. ["SkyboxUp"] = "rbxassetid://218950090"
  770. },
  771. ["Aesthetic Night"] = {
  772. ["SkyboxBk"] = "rbxassetid://1045964490",
  773. ["SkyboxDn"] = "rbxassetid://1045964368",
  774. ["SkyboxFt"] = "rbxassetid://1045964655",
  775. ["SkyboxLf"] = "rbxassetid://1045964655",
  776. ["SkyboxRt"] = "rbxassetid://1045964655",
  777. ["SkyboxUp"] = "rbxassetid://1045962969"
  778. },
  779. ["Redshift"] = {
  780. ["SkyboxBk"] = "rbxassetid://401664839",
  781. ["SkyboxDn"] = "rbxassetid://401664862",
  782. ["SkyboxFt"] = "rbxassetid://401664960",
  783. ["SkyboxLf"] = "rbxassetid://401664881",
  784. ["SkyboxRt"] = "rbxassetid://401664901",
  785. ["SkyboxUp"] = "rbxassetid://401664936"
  786. },
  787. ["Galaxy"] = {
  788. ["SkyboxBk"] = "rbxassetid://10623658813",
  789. ["SkyboxDn"] = "rbxassetid://10623658813",
  790. ["SkyboxFt"] = "rbxassetid://10623658813",
  791. ["SkyboxLf"] = "rbxassetid://10623658813",
  792. ["SkyboxRt"] = "rbxassetid://10623658813",
  793. ["SkyboxUp"] = "rbxassetid://10623658813"
  794. },
  795. ["Dark Clouds"] = {
  796. ["SkyboxBk"] = "rbxassetid://48020371",
  797. ["SkyboxDn"] = "rbxassetid://48020144",
  798. ["SkyboxFt"] = "rbxassetid://48020234",
  799. ["SkyboxLf"] = "rbxassetid://48020211",
  800. ["SkyboxRt"] = "rbxassetid://48020254",
  801. ["SkyboxUp"] = "rbxassetid://48020383"
  802. },
  803. ["Space"] = {
  804. ["SkyboxBk"] = "rbxassetid://166509999",
  805. ["SkyboxDn"] = "rbxassetid://166510057",
  806. ["SkyboxFt"] = "rbxassetid://166510116",
  807. ["SkyboxLf"] = "rbxassetid://166510092",
  808. ["SkyboxRt"] = "rbxassetid://166510131",
  809. ["SkyboxUp"] = "rbxassetid://166510114"
  810. },
  811. }
  812.  
  813. --[Main Variables]
  814.  
  815. --* Aimbot *--
  816. -- Variables
  817. local RequiredDistance, Typing, Loaded, Running, Animation = math.huge, false, false, true, nil
  818. local ServiceConnections = {
  819. ESPPlayerAddedConnection = nil,
  820. CameraConnection = nil,
  821. ServerInfo2Connection = nil,
  822. LightingConnection = nil,
  823. VehiclesUAZAddedConnection = nil,
  824. VehiclesUAZRemovedConnection = nil,
  825. LockedDoorsAddedConnection = nil,
  826. LockedDoorsRemovedConnection = nil,
  827. ExitLocationsAddedConnection = nil,
  828. ExitLocationsRemovedConnection = nil,
  829. ContainersAddedConnection = nil,
  830. ContainersRemovedConnection = nil,
  831. DroppedItemsAddedConnection = nil,
  832. DroppedItemsRemovedConnection = nil,
  833. AiZonesRemovedConnection = nil,
  834. AiZonesAddedConnection = nil,
  835. VisorConnection = nil,
  836. RenderSteppedConnection = nil,
  837. InputBeganConnection = nil,
  838. InputEndedConnection = nil,
  839. TypingStartedConnection = nil,
  840. TypingEndedConnection = nil,
  841. MouseMoveConnection = nil ,
  842. ServerLabelConnection = nil
  843. }
  844. ServiceConnections.TypingStartedConnection = uis.TextBoxFocused:Connect(function()
  845. Typing = true
  846. end)
  847. ServiceConnections.TypingEndedConnection = uis.TextBoxFocusReleased:Connect(function()
  848. Typing = false
  849. end)
  850.  
  851.  
  852. AutoLootSettings = {
  853. Backpack = {
  854. Size = 60,
  855. },
  856. Container = {
  857. Size = 20,
  858. },
  859. Chestrig = {
  860. Size = 6,
  861. },
  862. Shirt = {
  863. Size = 6,
  864. },
  865. Pants = {
  866. Size = 6,
  867. },
  868. }
  869. local MuzzleVelocityValue = 0
  870.  
  871. local Monuments = {
  872. Factory = {
  873. Vector = Vector3.new(2692.241455078125, 42.4687385559082, -661.0178833007812),
  874. Text = Drawing.new("Text"),
  875. Name = "Factory"
  876. },
  877. Crane = {
  878. Vector = Vector3.new(2006.1868896484375, 42.42124938964844, -1276.12451171875),
  879. Text = Drawing.new("Text"),
  880. Name = "Crane"
  881. },
  882. Lighthouse = {
  883. Vector = Vector3.new(2658.75390625, 165.3370361328125, -1952.0677490234375),
  884. Text = Drawing.new("Text"),
  885. Name = "Lighthouse"
  886. },
  887. Castle = {
  888. Vector = Vector3.new(1366.834716796875, 44.9999885559082, -2470.385498046875),
  889. Text = Drawing.new("Text"),
  890. Name = "Castle"
  891. },
  892. Powerplant = {
  893. Vector = Vector3.new(-200.30404663085938, 53.4531135559082, -1177.74658203125),
  894. Text = Drawing.new("Text"),
  895. Name = "Powerplant"
  896. },
  897. Village = {
  898. Vector = Vector3.new(-596.4548950195312, 55.193458557128906, -2147.983642578125),
  899. Text = Drawing.new("Text"),
  900. Name = "Village"
  901. },
  902. Sawmil = {
  903. Vector = Vector3.new(-2448.877685546875, 38.13755798339844, -3444.984375),
  904. Text = Drawing.new("Text"),
  905. Name = "Sawmil"
  906. },
  907. GasStation = {
  908. Vector = Vector3.new(-2060.00244140625, 35.1249885559082, -1688.3397216796875),
  909. Text = Drawing.new("Text"),
  910. Name = "Gas Station"
  911. }
  912. }
  913.  
  914. for _, Place in pairs(Monuments) do
  915. local Vector, OnScreen = Camera:WorldToViewportPoint(Place.Vector)
  916.  
  917. Place.Text.Text = tostring(Place.Name)
  918. Place.Text.Size = 18
  919. Place.Text.Outline = true
  920. Place.Text.Color = Color3.fromRGB(255, 255, 255)
  921. Place.Text.Position = Vector2.new(Vector.X, Vector.Y)
  922. end
  923.  
  924. local Hit_Found, PlayerKilled, Hit_Target = false, false, nil
  925.  
  926.  
  927.  
  928.  
  929. ThirdPersonKeyBind = false
  930. Old_Gravity = workspace.Gravity
  931. Old_Decoration = gethiddenproperty(Terrain, "Decoration")
  932. Default_Walkspeed = plr.Character.Humanoid.WalkSpeed
  933. Default_JumpHeight = plr.Character.Humanoid.JumpHeight
  934. Old_FOV = Camera.FieldOfView
  935. Old_Lighting = {
  936. Ambient = lighting.Ambient,
  937. Brightness = lighting.Brightness,
  938. ColorShift_Bottom = lighting.ColorShift_Bottom,
  939. ColorShift_Top = lighting.ColorShift_Top,
  940. EnvironmentDiffuseScale = lighting.EnvironmentDiffuseScale,
  941. EnvironmentSpecularScale = lighting.EnvironmentSpecularScale,
  942. GlobalShadows = lighting.GlobalShadows,
  943. OutdoorAmbient = lighting.OutdoorAmbient,
  944. ClockTime = lighting.ClockTime,
  945. TimeOfDay = lighting.TimeOfDay,
  946. ExposureCompensation = lighting.ExposureCompensation
  947. }
  948.  
  949. --* Core Functions *--
  950. function GetColor(Color)
  951. local R = tonumber(string.match(Color, "([%d]+)[%s]*,[%s]*[%d]+[%s]*,[%s]*[%d]+"))
  952. local G = tonumber(string.match(Color, "[%d]+[%s]*,[%s]*([%d]+)[%s]*,[%s]*[%d]+"))
  953. local B = tonumber(string.match(Color, "[%d]+[%s]*,[%s]*[%d]+[%s]*,[%s]*([%d]+)"))
  954.  
  955. return Color3.fromRGB(R, G, B)
  956. end
  957.  
  958. function IsDown(EnumItem)
  959. return (EnumItem.EnumType == Enum.KeyCode and uis:IsKeyDown(EnumItem)) or (EnumItem.EnumType == Enum.UserInputType and uis:IsMouseButtonPressed(EnumItem))
  960. end
  961.  
  962. function rotateVector2(v2, r)
  963. local c = math.cos(r);
  964. local s = math.sin(r);
  965. return Vector2.new(c * v2.X - s*v2.Y, s*v2.X + c*v2.Y)
  966. end
  967.  
  968. local function Alive(Player)
  969. if Player and Player.Character and Player.Character:FindFirstChild("HumanoidRootPart") ~= nil and Player.Character:FindFirstChild("Humanoid") ~= nil and Player.Character:FindFirstChild("Head") ~= nil then
  970. return true
  971. end
  972. return false
  973. end
  974.  
  975. GetClosestPlayer = function()
  976. if Alive(plr) then
  977. local ClosestPlayer = nil
  978. local RequiredDistanceFOV = nil
  979. local RequiredDistancePlayer = Environment.Settings.MaxDistance
  980. local WallBangPossible = false
  981.  
  982. Environment.Settings.HighlightTarget = nil
  983. Environment.Settings.AILocked = false
  984.  
  985. if Environment.FOVSettings.Enabled then
  986. RequiredDistanceFOV = Environment.FOVSettings.Amount
  987. else
  988. RequiredDistanceFOV = Camera.ViewportSize.X / 2
  989. end
  990.  
  991. if Environment.Settings.AiAimbotEnabled then
  992. local AiZones = Workspace:FindFirstChild("AiZones")
  993. for _, Zone in pairs(AiZones:GetChildren()) do
  994. for _, Item in pairs(Zone:GetChildren()) do
  995. if Item:FindFirstChild("HumanoidRootPart") then
  996. if Environment.Settings.AliveCheck and Item.Humanoid.Health <= 0 then continue end
  997. if Environment.Settings.WallCheck and not IsPartVisible(Item[Environment.Settings.LockPart], Item) then continue end
  998.  
  999. local Vector, OnScreen = Camera:WorldToViewportPoint(Item.HumanoidRootPart.Position)
  1000. local DistanceFromMouse = (Vector2.new(uis:GetMouseLocation().X, uis:GetMouseLocation().Y) - Vector2.new(Vector.X, Vector.Y)).Magnitude
  1001. local DistanceFromPlayer = (plr.Character.HumanoidRootPart.Position - Item.HumanoidRootPart.Position).Magnitude
  1002. DistanceFromPlayer = Framework:Distance_Type_Change(Distance_Type_, DistanceFromPlayer)
  1003. if OnScreen then
  1004. if DistanceFromMouse <= RequiredDistanceFOV then
  1005. if DistanceFromPlayer <= RequiredDistancePlayer then
  1006. RequiredDistancePlayer = DistanceFromPlayer
  1007. ClosestPlayer = Item
  1008. Environment.Settings.AILocked = true
  1009. end
  1010. end
  1011. end
  1012. end
  1013. end
  1014. end
  1015. end
  1016.  
  1017. for _, v in next, plrs:GetPlayers() do
  1018. if v ~= plr then
  1019. if library.flags["aimbotfriendcheckEnabled"] then
  1020. if plr:GetFriendStatus(v) ~= Enum.FriendStatus.Friend then
  1021. local HumanoidRootPart = v.Character and v.Character:FindFirstChild("HumanoidRootPart")
  1022. if v.Character and HumanoidRootPart then
  1023. local PlayerYPos = math.floor(HumanoidRootPart.Position.Y)
  1024. if PlayerYPos ~= -362 then
  1025. local dwHumanoid = v.Character:FindFirstChild("Humanoid")
  1026. if Environment.Settings.AliveCheck and dwHumanoid and v.Character.Humanoid.Health <= 0 then continue end
  1027. if Environment.Settings.WallCheck and not IsPartVisible(v.Character[Environment.Settings.LockPart], v.Character) then continue end
  1028.  
  1029. local Vector, OnScreen = Camera:WorldToViewportPoint(v.Character[Environment.Settings.LockPart].Position)
  1030. local DistanceFromMouse = (Vector2.new(uis:GetMouseLocation().X, uis:GetMouseLocation().Y) - Vector2.new(Vector.X, Vector.Y)).Magnitude
  1031. local DistanceFromPlayer = (plr.Character.HumanoidRootPart.Position - v.Character.HumanoidRootPart.Position).Magnitude
  1032. DistanceFromPlayer = Framework:Distance_Type_Change(Distance_Type_, DistanceFromPlayer)
  1033. if OnScreen then
  1034. if DistanceFromMouse <= RequiredDistanceFOV then
  1035. if DistanceFromPlayer <= RequiredDistancePlayer then
  1036. RequiredDistancePlayer = DistanceFromPlayer
  1037. ClosestPlayer = v
  1038. Environment.Settings.AILocked = false
  1039. end
  1040. end
  1041. end
  1042. end
  1043. end
  1044. end
  1045. else
  1046. local HumanoidRootPart = v.Character and v.Character:FindFirstChild("HumanoidRootPart")
  1047. if v.Character and HumanoidRootPart then
  1048. local PlayerYPos = math.floor(HumanoidRootPart.Position.Y)
  1049. if PlayerYPos ~= -362 then
  1050. local dwHumanoid = v.Character:FindFirstChild("Humanoid")
  1051. if Environment.Settings.AliveCheck and dwHumanoid and v.Character.Humanoid.Health <= 0 then continue end
  1052. if Environment.Settings.WallCheck and not IsPartVisible(v.Character[Environment.Settings.LockPart], v.Character) then continue end
  1053.  
  1054. local Vector, OnScreen = Camera:WorldToViewportPoint(v.Character[Environment.Settings.LockPart].Position)
  1055. local DistanceFromMouse = (Vector2.new(uis:GetMouseLocation().X, uis:GetMouseLocation().Y) - Vector2.new(Vector.X, Vector.Y)).Magnitude
  1056. local DistanceFromPlayer = (plr.Character.HumanoidRootPart.Position - v.Character.HumanoidRootPart.Position).Magnitude
  1057. DistanceFromPlayer = Framework:Distance_Type_Change(Distance_Type_, DistanceFromPlayer)
  1058. if OnScreen then
  1059. if DistanceFromMouse <= RequiredDistanceFOV then
  1060. if DistanceFromPlayer <= RequiredDistancePlayer then
  1061. RequiredDistancePlayer = DistanceFromPlayer
  1062. ClosestPlayer = v
  1063. Environment.Settings.AILocked = false
  1064. end
  1065. end
  1066. end
  1067. end
  1068. end
  1069. end
  1070. end
  1071. end
  1072.  
  1073. Environment.Settings.HighlightTarget = ClosestPlayer
  1074. Environment.Locked = ClosestPlayer
  1075. end
  1076. end
  1077.  
  1078. GetClosestPlayer2 = function()
  1079. if Alive(plr) then
  1080. local ClosestPlayer = nil
  1081. local RequiredDistancePlayer = math.huge
  1082.  
  1083. for _, v in next, plrs:GetPlayers() do
  1084. if v ~= plr then
  1085. local HumanoidRootPart = v.Character:FindFirstChild("HumanoidRootPart")
  1086. if v.Character and HumanoidRootPart then
  1087. local PlayerYPos = math.floor(HumanoidRootPart.Position.Y)
  1088. if PlayerYPos ~= -362 then
  1089. local dwHumanoid = v.Character:FindFirstChild("Humanoid")
  1090. if Environment.Settings.AliveCheck and dwHumanoid and dwHumanoid.Health <= 0 then continue end
  1091. if Environment.Settings.WallCheck and not IsPartVisible2(HumanoidRootPart) then continue end
  1092.  
  1093. local DistanceFromPlayer = (plr.Character.HumanoidRootPart.Position - v.Character.HumanoidRootPart.Position).Magnitude
  1094. DistanceFromPlayer = Framework:Distance_Type_Change(Distance_Type_, DistanceFromPlayer)
  1095.  
  1096. if DistanceFromPlayer <= RequiredDistancePlayer then
  1097. RequiredDistancePlayer = DistanceFromPlayer
  1098. ClosestPlayer = v
  1099. end
  1100. end
  1101. end
  1102. end
  1103. end
  1104.  
  1105. return ClosestPlayer
  1106. end
  1107. end
  1108.  
  1109. HitChamsFolder = Framework:Instance("Folder", {Parent = Camera})
  1110.  
  1111. __newindex = hookmetamethod(game, "__newindex", function(i, v, n_v)
  1112. if not Running then return __newindex(i, v, n_v) end
  1113.  
  1114. if i == Camera and v == "CFrame" then
  1115. LastCameraCFrame = n_v
  1116. if library.flags["thirdpersonEnabled"] and ThirdPersonKeybindToggled then
  1117. return __newindex(i, v, n_v + Camera.CFrame.LookVector * - library.flags["thirdpersonValue"])
  1118. end
  1119. if library.flags["nocamerabobEnabled"] then
  1120. local Script = getcallingscript()
  1121. if tostring(Script) == "CharacterController" then
  1122. return __newindex(i, v, Camera.CFrame)
  1123. end
  1124. end
  1125. end
  1126.  
  1127. return __newindex(i, v, n_v)
  1128. end)
  1129. --local Salo = {{stepAmount = 43, dropTiming = 0.0005}}
  1130. __namecall = hookmetamethod(game, "__namecall", function(self, ...)
  1131. if not Running then return __namecall(self, ...) end
  1132. local args = {...}
  1133.  
  1134. if getnamecallmethod() == "FireServer" and tostring(self) == "Drowning" then
  1135. if library.flags["antidrownEnabled"] then
  1136. return
  1137. end
  1138. end
  1139.  
  1140. if tostring(self) == "ProjectileInflict" then
  1141.  
  1142. if args[2] then
  1143.  
  1144. if library.flags["hitsoundsEnabled"] then
  1145. Hit_Found = true
  1146. Hit_Target = args[2]
  1147. end
  1148.  
  1149. if library.flags["hitmarkersEnabled"] then
  1150. task.spawn(function()
  1151. local HitPos = args[2].Position
  1152. local Vector, onScreen = Camera:WorldToViewportPoint(HitPos)
  1153.  
  1154.  
  1155. local Finished = false
  1156.  
  1157. -- draw a hitmarker using 4 lines with a circle in the middle
  1158. local Line1 = Drawing.new("Line")
  1159. local Line2 = Drawing.new("Line")
  1160. local Line3 = Drawing.new("Line")
  1161. local Line4 = Drawing.new("Line")
  1162.  
  1163. Line1.Visible = onScreen
  1164. Line2.Visible = onScreen
  1165. Line3.Visible = onScreen
  1166. Line4.Visible = onScreen
  1167.  
  1168. Line1.Thickness = 2
  1169. Line2.Thickness = 2
  1170. Line3.Thickness = 2
  1171. Line4.Thickness = 2
  1172.  
  1173. Line1.Color = library.flags["hitmarkersColor"]
  1174. Line2.Color = library.flags["hitmarkersColor"]
  1175. Line3.Color = library.flags["hitmarkersColor"]
  1176. Line4.Color = library.flags["hitmarkersColor"]
  1177.  
  1178. Line1.Transparency = 1
  1179. Line2.Transparency = 1
  1180. Line3.Transparency = 1
  1181. Line4.Transparency = 1
  1182.  
  1183. Line1.From = Vector2.new(Vector.X - 10, Vector.Y - 10)
  1184. Line1.To = Vector2.new(Vector.X - 5, Vector.Y - 5)
  1185.  
  1186. Line2.From = Vector2.new(Vector.X + 10, Vector.Y - 10)
  1187. Line2.To = Vector2.new(Vector.X + 5, Vector.Y - 5)
  1188.  
  1189. Line3.From = Vector2.new(Vector.X - 10, Vector.Y + 10)
  1190. Line3.To = Vector2.new(Vector.X - 5, Vector.Y + 5)
  1191.  
  1192. Line4.From = Vector2.new(Vector.X + 10, Vector.Y + 10)
  1193. Line4.To = Vector2.new(Vector.X + 5, Vector.Y + 5)
  1194.  
  1195. local c; c = rs.RenderStepped:Connect(function()
  1196. if Running and Alive(plr) then
  1197. if not Finished then
  1198. local Vector, onScreen = Camera:WorldToViewportPoint(HitPos)
  1199.  
  1200. Line1.Visible = onScreen
  1201. Line2.Visible = onScreen
  1202. Line3.Visible = onScreen
  1203. Line4.Visible = onScreen
  1204.  
  1205. Line1.From = Vector2.new(Vector.X - 10, Vector.Y - 10)
  1206. Line1.To = Vector2.new(Vector.X - 5, Vector.Y - 5)
  1207.  
  1208. Line2.From = Vector2.new(Vector.X + 10, Vector.Y - 10)
  1209. Line2.To = Vector2.new(Vector.X + 5, Vector.Y - 5)
  1210.  
  1211. Line3.From = Vector2.new(Vector.X - 10, Vector.Y + 10)
  1212. Line3.To = Vector2.new(Vector.X - 5, Vector.Y + 5)
  1213.  
  1214. Line4.From = Vector2.new(Vector.X + 10, Vector.Y + 10)
  1215. Line4.To = Vector2.new(Vector.X + 5, Vector.Y + 5)
  1216. else
  1217. c:Disconnect()
  1218. end
  1219. end
  1220. end)
  1221.  
  1222. wait(library.flags["hitmarkersDuration"])
  1223. while Line1.Transparency > 0 do
  1224. Line1.Transparency = Line1.Transparency - 0.05
  1225. Line2.Transparency = Line2.Transparency - 0.05
  1226. Line3.Transparency = Line3.Transparency - 0.05
  1227. Line4.Transparency = Line4.Transparency - 0.05
  1228. wait(0.03)
  1229. end
  1230.  
  1231. Finished = true
  1232. Line1:Remove()
  1233. Line2:Remove()
  1234. Line3:Remove()
  1235. Line4:Remove()
  1236. end)
  1237. end
  1238.  
  1239. if library.flags["hitnotificationsEnabled"] then
  1240. local Hit = args[2]
  1241. local HitDistance = (plr.Character.HumanoidRootPart.Position - Hit.Position).Magnitude
  1242. HitDistance = Framework:Distance_Type_Change(Distance_Type_, HitDistance)
  1243.  
  1244. Library:SendNotification(("Hit Registration | Player: %s, Hit: %s, Distance: (%s studs)"):format(Hit.Parent.Name, Hit.Name, HitDistance), tonumber(library.flags["hitnotificationsDuration"]), library.flags["hitnotificationsColor"])
  1245. end
  1246.  
  1247. if library.flags["bulletlineEnabled"] then
  1248. task.spawn(function()
  1249. local HitPos = args[2].Position
  1250. local Vector, onScreen = Camera:WorldToViewportPoint(HitPos)
  1251. local Finished = false
  1252.  
  1253. local Part = Instance.new("Part")
  1254. Part.CanCollide = false
  1255. Part.Anchored = true
  1256. Part.Parent = ws
  1257.  
  1258. local Attachment = Instance.new("Attachment")
  1259. Attachment.Position = plr.Character.Head.Position
  1260. Attachment.Parent = Part
  1261. Attachment.Visible = false
  1262.  
  1263. local Attachment2 = Instance.new("Attachment")
  1264. Attachment2.Position = HitPos
  1265. Attachment2.Parent = Part
  1266. Attachment2.Visible = false
  1267.  
  1268. local BulletLine = Instance.new("Beam")
  1269. BulletLine.Enabled = onScreen
  1270. BulletLine.Brightness = 10
  1271. BulletLine.LightInfluence = 0.75
  1272. BulletLine.LightEmission = 0.1
  1273. BulletLine.Attachment0 = Attachment
  1274. BulletLine.Attachment1 = Attachment2
  1275. BulletLine.Texture = "rbxassetid://7216850022"
  1276. BulletLine.TextureLength = 7
  1277. BulletLine.TextureMode = "Stretch"
  1278. BulletLine.TextureSpeed = 6.21
  1279. BulletLine.Color = ColorSequence.new(library.flags["bulletlineColor"])
  1280. BulletLine.Transparency = NumberSequence.new(0)
  1281. BulletLine.Parent = Part
  1282. BulletLine.CurveSize0 = 0
  1283. BulletLine.CurveSize1 = 0
  1284. BulletLine.FaceCamera = true
  1285. BulletLine.Segments = 10
  1286. BulletLine.Width0 = 2
  1287. BulletLine.Width1 = 2
  1288. BulletLine.ZOffset = 0
  1289.  
  1290. local c; c = rs.RenderStepped:Connect(function()
  1291. if Running and Alive(plr) then
  1292. if not Finished then
  1293. BulletLine.Enabled = onScreen
  1294. else
  1295. c:Disconnect()
  1296. end
  1297. end
  1298. end)
  1299.  
  1300. if not Finished then
  1301. wait(library.flags["bulletlineDelay"])
  1302. Finished = true
  1303. Part:Destroy()
  1304. end
  1305. end)
  1306. end
  1307.  
  1308. if library.flags["hitchamsEnabled"] then
  1309. task.spawn(function()
  1310. local Hit = args[2]
  1311. local Character = args[1]
  1312. local Finished = false
  1313.  
  1314. Character.Archivable = true
  1315. local Clone = Character:Clone()
  1316. Character.Archivable = false
  1317. for _, Child in pairs(Clone:GetDescendants()) do
  1318. if Child:IsA("SurfaceAppearance") or Child:IsA("Humanoid") or Child:IsA("BillboardGui") or Child:IsA("Decal") or Child.Name == "HumanoidRootPart" then
  1319. Child:Destroy()
  1320. continue
  1321. end
  1322. if Child:IsA("BasePart") then
  1323. Child.CanCollide = false
  1324. Child.Anchored = true
  1325. Child.Transparency = 0
  1326. Child.Material = Enum.Material.ForceField
  1327. Child.Color = library.flags["hitchamsColor"]
  1328. Child.Size = Child.Size + Vector3.new(0.025, 0.025, 0.025)
  1329. end
  1330. end
  1331. Clone.Parent = HitChamsFolder
  1332.  
  1333. wait(library.flags["hitchamsDuration"])
  1334. Clone:Destroy()
  1335. end)
  1336. end
  1337. end
  1338.  
  1339. return __namecall(self, unpack(args))
  1340. end
  1341.  
  1342. return __namecall(self, unpack(args))
  1343. end)
  1344.  
  1345. function Bypass_Client()
  1346. for i, v in pairs(getgc(true)) do
  1347. if type(v) == "table" and rawget(v, "A1Sent") ~= nil then
  1348. rawset(v, "A1Sent", true)
  1349. end
  1350. end
  1351. end
  1352.  
  1353. local ChatScript
  1354. for i, v in pairs(getgc(true)) do
  1355. if type(v) == 'table' and rawget(v, "CreateMessageLabel") then
  1356. ChatScript = v
  1357. end
  1358. end
  1359.  
  1360. local ChatScript_CreateMessageLabel = ChatScript.CreateMessageLabel
  1361. ChatScript.CreateMessageLabel = function(...)
  1362. local Args = {...}
  1363. local Message = Args[2].Message
  1364. if Message then
  1365. if Message:lower():find("[system]") and Message:lower():find(plr.Name:lower()) then
  1366. if Message:find("by ".. plr.Name) then
  1367. if library.flags["removeKilledBy"] then
  1368. Args[2].Message = "[System] Get better bruh - from INFINITY Owner"
  1369. end
  1370. PlayerKilled = true
  1371. if library.flags["killmessageEnabled"] then
  1372. local args = {
  1373. [1] = library.flags["Kill Message"] or "Get better bruh - from INFINITY User",
  1374. [2] = "Global"
  1375. }
  1376. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(args))
  1377. end
  1378. else
  1379. if library.flags["removeKilledBy"] then
  1380. Args[2].Message = "[System] INFINITY user died to a config issue"
  1381. end
  1382. PlayerKilled = false
  1383. end
  1384. end
  1385. end
  1386. return ChatScript_CreateMessageLabel(unpack(Args))
  1387. end
  1388.  
  1389. Visor = nil
  1390. Utility = nil
  1391. Bypass_Client()
  1392.  
  1393. local VFX = nil; for i,v in next, getgc(true) do
  1394. if typeof(v) == "table" and rawget(v, "RecoilCamera") then
  1395. VFX = v
  1396. break
  1397. end
  1398. end
  1399.  
  1400. local RecoilCamera = VFX.RecoilCamera;
  1401. VFX.RecoilCamera = function(...)
  1402. if library.flags["norecoilEnabled"] then
  1403. return 0
  1404. else
  1405. return RecoilCamera(...)
  1406. end
  1407. end
  1408.  
  1409. -- do
  1410. -- local old_
  1411. -- old_ = hookfunction(FPSModule.fovUpdate, function(...)
  1412. -- args = {...}
  1413. -- if library.flags["cameraFOVEnabled"] then
  1414. -- return library.flags["cameraFOVValue"]
  1415. -- end
  1416. -- if library.flags["cameraFOVZoomEnabled"] then
  1417. -- return library.flags["cameraFOVZoomValue"]
  1418. -- end
  1419. -- return old_(unpack(args));
  1420. -- end)
  1421. -- end
  1422.  
  1423. SilentAimMissMath = function(Pos)
  1424. local Where = math.random(1, 4)
  1425. if Where == 1 then
  1426. Pos = Pos + Vector3.new(0, 10, 0)
  1427. elseif Where == 2 then
  1428. Pos = Pos + Vector3.new(0, -10, 0)
  1429. elseif Where == 3 then
  1430. Pos = Pos + Vector3.new(10, 0, 0)
  1431. elseif Where == 4 then
  1432. Pos = Pos + Vector3.new(-10, 0, 0)
  1433. end
  1434.  
  1435. return Pos
  1436. end
  1437.  
  1438. PredictionMath = function(Player, head, Prediction)
  1439. if Environment.Settings.Prediction then
  1440. local PlayerRoot = Player:FindFirstChild("HumanoidRootPart")
  1441. local PlayersVelocity = PlayerRoot.Velocity
  1442. PlayersVelocity = Vector3.new(PlayersVelocity.X, 0, PlayersVelocity.Z)
  1443. PlayerRoot.AssemblyLinearVelocity = Vector3.new(PlayersVelocity.X, 0, PlayersVelocity.Z)
  1444.  
  1445. if library.flags["resolverEnabled"] then
  1446. PlayersVelocity = PlayersEstimatedVelocity
  1447. end
  1448.  
  1449. local Drag = 0.013
  1450. local TargetStuds = (head - Camera.CFrame.p).Magnitude
  1451. local TimeToTarget = TargetStuds / MuzzleVelocityValue
  1452.  
  1453. Prediction = PlayersVelocity * TimeToTarget
  1454. end
  1455.  
  1456. return Prediction
  1457. end
  1458.  
  1459. HitBoxParts = {'Head', 'LeftUpperArm', 'LeftLowerArm', 'LeftHand', 'RightUpperArm', 'RightLowerArm', 'RightHand', 'LeftUpperLeg', 'LeftLowerLeg', 'LeftFoot', 'RightUpperLeg', 'RightLowerLeg', 'RightFoot', 'UpperTorso', 'LowerTorso'}
  1460. dwHitBoxParts = {'Head', 'UpperTorso', 'LowerTorso'}
  1461.  
  1462. --* Silent Aim *--
  1463. local oldHook = nil
  1464. oldHook = hookfunction(require(repStorage.Modules.FPS.Bullet).CreateBullet, function(...)
  1465. local args = {...}
  1466.  
  1467. if Environment.Settings.SilentAimEnabled and Environment.Locked ~= nil then
  1468. local shouldMiss = false
  1469. if Environment.Settings.SilentAimMisschance >= math.random(1, 100) then
  1470. shouldMiss = true
  1471. end
  1472.  
  1473. local head = nil
  1474. local Part = nil
  1475. local Prediction = Vector3.new(0, 0, 0)
  1476.  
  1477. if Environment.Settings.AILocked then
  1478. head = Environment.Locked:FindFirstChild(Environment.Settings.LockPart).Position
  1479. Part = Environment.Locked:FindFirstChild(Environment.Settings.LockPart)
  1480. Prediction = PredictionMath(Environment.Locked, head, Prediction)
  1481. else
  1482. head = Environment.Locked.Character:FindFirstChild(Environment.Settings.LockPart).Position
  1483. Part = Environment.Locked.Character:FindFirstChild(Environment.Settings.LockPart)
  1484. Prediction = PredictionMath(Environment.Locked.Character, head, Prediction)
  1485. end
  1486.  
  1487. if head ~= nil then
  1488. if shouldMiss then
  1489. head = SilentAimMissMath(head)
  1490. end
  1491.  
  1492. args[9] = {CFrame = CFrame.lookAt(
  1493. plr.Character.HumanoidRootPart.Position + Vector3.new(
  1494. 0, UniversalTables.UniversalTable.GameSettings.RootScanHeight, 0
  1495. ),
  1496. head + Prediction
  1497. )}
  1498. end
  1499. end
  1500.  
  1501. return oldHook(table.unpack(args))
  1502. end)
  1503.  
  1504. --* Keybind Viewer Init *--
  1505. local _WalkspeedKeybind
  1506. local _CameraZoomKeybind
  1507. local _HipHeightKeybind
  1508. local _AntiPredictionKeybind
  1509. local _ThirdPersonKeybind
  1510.  
  1511. local _NoClipDoorKeybind
  1512.  
  1513. local _HeadStandKeybind
  1514. local _AutoHeadStandKeybind
  1515.  
  1516. -- Setup Table
  1517. local Old_Ammo = {
  1518. ["762x54AP"] = {
  1519. ["Drop"] = repStorage.AmmoTypes["762x54AP"]:GetAttribute("ProjectileDrop"),
  1520. ["Speed"] = repStorage.AmmoTypes["762x54AP"]:GetAttribute("MuzzleVelocity"),
  1521. ["Damage"] = repStorage.AmmoTypes["762x54AP"]:GetAttribute("Damage"),
  1522. ["Pellets"] = repStorage.AmmoTypes["762x54AP"]:GetAttribute("Pellets"),
  1523. ["ArmorPen"] = repStorage.AmmoTypes["762x54AP"]:GetAttribute("ArmorPen"),
  1524. ["Drag"] = repStorage.AmmoTypes["762x54AP"]:GetAttribute("Drag")
  1525. },
  1526. ["9x18AP"] = {
  1527. ["Drop"] = repStorage.AmmoTypes["9x18AP"]:GetAttribute("ProjectileDrop"),
  1528. ["Speed"] = repStorage.AmmoTypes["9x18AP"]:GetAttribute("MuzzleVelocity"),
  1529. ["Damage"] = repStorage.AmmoTypes["9x18AP"]:GetAttribute("Damage"),
  1530. ["Pellets"] = repStorage.AmmoTypes["9x18AP"]:GetAttribute("Pellets"),
  1531. ["ArmorPen"] = repStorage.AmmoTypes["9x18AP"]:GetAttribute("ArmorPen"),
  1532. ["Drag"] = repStorage.AmmoTypes["9x18AP"]:GetAttribute("Drag")
  1533. },
  1534. ["762x39AP"] = {
  1535. ["Drop"] = repStorage.AmmoTypes["762x39AP"]:GetAttribute("ProjectileDrop"),
  1536. ["Speed"] = repStorage.AmmoTypes["762x39AP"]:GetAttribute("MuzzleVelocity"),
  1537. ["Damage"] = repStorage.AmmoTypes["762x39AP"]:GetAttribute("Damage"),
  1538. ["Pellets"] = repStorage.AmmoTypes["762x39AP"]:GetAttribute("Pellets"),
  1539. ["ArmorPen"] = repStorage.AmmoTypes["762x39AP"]:GetAttribute("ArmorPen"),
  1540. ["Drag"] = repStorage.AmmoTypes["762x39AP"]:GetAttribute("Drag")
  1541. },
  1542. ["9x18Z"] = {
  1543. ["Drop"] = repStorage.AmmoTypes["9x18Z"]:GetAttribute("ProjectileDrop"),
  1544. ["Speed"] = repStorage.AmmoTypes["9x18Z"]:GetAttribute("MuzzleVelocity"),
  1545. ["Damage"] = repStorage.AmmoTypes["9x18Z"]:GetAttribute("Damage"),
  1546. ["Pellets"] = repStorage.AmmoTypes["9x18Z"]:GetAttribute("Pellets"),
  1547. ["ArmorPen"] = repStorage.AmmoTypes["9x18Z"]:GetAttribute("ArmorPen"),
  1548. ["Drag"] = repStorage.AmmoTypes["9x18Z"]:GetAttribute("Drag")
  1549. },
  1550. ["762x25Tracer"] = {
  1551. ["Drop"] = repStorage.AmmoTypes["762x25Tracer"]:GetAttribute("ProjectileDrop"),
  1552. ["Speed"] = repStorage.AmmoTypes["762x25Tracer"]:GetAttribute("MuzzleVelocity"),
  1553. ["Damage"] = repStorage.AmmoTypes["762x25Tracer"]:GetAttribute("Damage"),
  1554. ["Pellets"] = repStorage.AmmoTypes["762x25Tracer"]:GetAttribute("Pellets"),
  1555. ["ArmorPen"] = repStorage.AmmoTypes["762x25Tracer"]:GetAttribute("ArmorPen"),
  1556. ["Drag"] = repStorage.AmmoTypes["762x25Tracer"]:GetAttribute("Drag")
  1557. },
  1558. ["556x45Tracer"] = {
  1559. ["Drop"] = repStorage.AmmoTypes["556x45Tracer"]:GetAttribute("ProjectileDrop"),
  1560. ["Speed"] = repStorage.AmmoTypes["556x45Tracer"]:GetAttribute("MuzzleVelocity"),
  1561. ["Damage"] = repStorage.AmmoTypes["556x45Tracer"]:GetAttribute("Damage"),
  1562. ["Pellets"] = repStorage.AmmoTypes["556x45Tracer"]:GetAttribute("Pellets"),
  1563. ["ArmorPen"] = repStorage.AmmoTypes["556x45Tracer"]:GetAttribute("ArmorPen"),
  1564. ["Drag"] = repStorage.AmmoTypes["556x45Tracer"]:GetAttribute("Drag")
  1565. },
  1566. ["762x25AP"] = {
  1567. ["Drop"] = repStorage.AmmoTypes["762x25AP"]:GetAttribute("ProjectileDrop"),
  1568. ["Speed"] = repStorage.AmmoTypes["762x25AP"]:GetAttribute("MuzzleVelocity"),
  1569. ["Damage"] = repStorage.AmmoTypes["762x25AP"]:GetAttribute("Damage"),
  1570. ["Pellets"] = repStorage.AmmoTypes["762x25AP"]:GetAttribute("Pellets"),
  1571. ["ArmorPen"] = repStorage.AmmoTypes["762x25AP"]:GetAttribute("ArmorPen"),
  1572. ["Drag"] = repStorage.AmmoTypes["762x25AP"]:GetAttribute("Drag")
  1573. },
  1574. ["762x39Tracer"] = {
  1575. ["Drop"] = repStorage.AmmoTypes["762x39Tracer"]:GetAttribute("ProjectileDrop"),
  1576. ["Speed"] = repStorage.AmmoTypes["762x39Tracer"]:GetAttribute("MuzzleVelocity"),
  1577. ["Damage"] = repStorage.AmmoTypes["762x39Tracer"]:GetAttribute("Damage"),
  1578. ["Pellets"] = repStorage.AmmoTypes["762x39Tracer"]:GetAttribute("Pellets"),
  1579. ["ArmorPen"] = repStorage.AmmoTypes["762x39Tracer"]:GetAttribute("ArmorPen"),
  1580. ["Drag"] = repStorage.AmmoTypes["762x39Tracer"]:GetAttribute("Drag")
  1581. },
  1582. ["762x54Tracer"] = {
  1583. ["Drop"] = repStorage.AmmoTypes["762x54Tracer"]:GetAttribute("ProjectileDrop"),
  1584. ["Speed"] = repStorage.AmmoTypes["762x54Tracer"]:GetAttribute("MuzzleVelocity"),
  1585. ["Damage"] = repStorage.AmmoTypes["762x54Tracer"]:GetAttribute("Damage"),
  1586. ["Pellets"] = repStorage.AmmoTypes["762x54Tracer"]:GetAttribute("Pellets"),
  1587. ["ArmorPen"] = repStorage.AmmoTypes["762x54Tracer"]:GetAttribute("ArmorPen"),
  1588. ["Drag"] = repStorage.AmmoTypes["762x54Tracer"]:GetAttribute("Drag")
  1589. },
  1590. ["9x19Tracer"] = {
  1591. ["Drop"] = repStorage.AmmoTypes["9x19Tracer"]:GetAttribute("ProjectileDrop"),
  1592. ["Speed"] = repStorage.AmmoTypes["9x19Tracer"]:GetAttribute("MuzzleVelocity"),
  1593. ["Damage"] = repStorage.AmmoTypes["9x19Tracer"]:GetAttribute("Damage"),
  1594. ["Pellets"] = repStorage.AmmoTypes["9x19Tracer"]:GetAttribute("Pellets"),
  1595. ["ArmorPen"] = repStorage.AmmoTypes["9x19Tracer"]:GetAttribute("ArmorPen"),
  1596. ["Drag"] = repStorage.AmmoTypes["9x19Tracer"]:GetAttribute("Drag")
  1597. },
  1598. ["9x18Tracer"] = {
  1599. ["Drop"] = repStorage.AmmoTypes["9x18Tracer"]:GetAttribute("ProjectileDrop"),
  1600. ["Speed"] = repStorage.AmmoTypes["9x18Tracer"]:GetAttribute("MuzzleVelocity"),
  1601. ["Damage"] = repStorage.AmmoTypes["9x18Tracer"]:GetAttribute("Damage"),
  1602. ["Pellets"] = repStorage.AmmoTypes["9x18Tracer"]:GetAttribute("Pellets"),
  1603. ["ArmorPen"] = repStorage.AmmoTypes["9x18Tracer"]:GetAttribute("ArmorPen"),
  1604. ["Drag"] = repStorage.AmmoTypes["9x18Tracer"]:GetAttribute("Drag")
  1605. },
  1606. ["9x19AP"] = {
  1607. ["Drop"] = repStorage.AmmoTypes["9x19AP"]:GetAttribute("ProjectileDrop"),
  1608. ["Speed"] = repStorage.AmmoTypes["9x19AP"]:GetAttribute("MuzzleVelocity"),
  1609. ["Damage"] = repStorage.AmmoTypes["9x19AP"]:GetAttribute("Damage"),
  1610. ["Pellets"] = repStorage.AmmoTypes["9x19AP"]:GetAttribute("Pellets"),
  1611. ["ArmorPen"] = repStorage.AmmoTypes["9x19AP"]:GetAttribute("ArmorPen"),
  1612. ["Drag"] = repStorage.AmmoTypes["9x19AP"]:GetAttribute("Drag")
  1613. },
  1614. ["556x45AP"] = {
  1615. ["Drop"] = repStorage.AmmoTypes["556x45AP"]:GetAttribute("ProjectileDrop"),
  1616. ["Speed"] = repStorage.AmmoTypes["556x45AP"]:GetAttribute("MuzzleVelocity"),
  1617. ["Damage"] = repStorage.AmmoTypes["556x45AP"]:GetAttribute("Damage"),
  1618. ["Pellets"] = repStorage.AmmoTypes["556x45AP"]:GetAttribute("Pellets"),
  1619. ["ArmorPen"] = repStorage.AmmoTypes["556x45AP"]:GetAttribute("ArmorPen"),
  1620. ["Drag"] = repStorage.AmmoTypes["556x45AP"]:GetAttribute("Drag")
  1621. },
  1622. ["9x39Z"] = {
  1623. ["Drop"] = repStorage.AmmoTypes["9x39Z"]:GetAttribute("ProjectileDrop"),
  1624. ["Speed"] = repStorage.AmmoTypes["9x39Z"]:GetAttribute("MuzzleVelocity"),
  1625. ["Damage"] = repStorage.AmmoTypes["9x39Z"]:GetAttribute("Damage"),
  1626. ["Pellets"] = repStorage.AmmoTypes["9x39Z"]:GetAttribute("Pellets"),
  1627. ["ArmorPen"] = repStorage.AmmoTypes["9x39Z"]:GetAttribute("ArmorPen"),
  1628. ["Drag"] = repStorage.AmmoTypes["9x39Z"]:GetAttribute("Drag")
  1629. },
  1630. ["9x39AP"] = {
  1631. ["Drop"] = repStorage.AmmoTypes["9x39AP"]:GetAttribute("ProjectileDrop"),
  1632. ["Speed"] = repStorage.AmmoTypes["9x39AP"]:GetAttribute("MuzzleVelocity"),
  1633. ["Damage"] = repStorage.AmmoTypes["9x39AP"]:GetAttribute("Damage"),
  1634. ["Pellets"] = repStorage.AmmoTypes["9x39AP"]:GetAttribute("Pellets"),
  1635. ["ArmorPen"] = repStorage.AmmoTypes["9x39AP"]:GetAttribute("ArmorPen"),
  1636. ["Drag"] = repStorage.AmmoTypes["9x39AP"]:GetAttribute("Drag")
  1637. },
  1638. ["12gaSlug"] = {
  1639. ["Drop"] = repStorage.AmmoTypes["12gaSlug"]:GetAttribute("ProjectileDrop"),
  1640. ["Speed"] = repStorage.AmmoTypes["12gaSlug"]:GetAttribute("MuzzleVelocity"),
  1641. ["Damage"] = repStorage.AmmoTypes["12gaSlug"]:GetAttribute("Damage"),
  1642. ["Pellets"] = repStorage.AmmoTypes["12gaSlug"]:GetAttribute("Pellets"),
  1643. ["ArmorPen"] = repStorage.AmmoTypes["12gaSlug"]:GetAttribute("ArmorPen"),
  1644. ["Spread"] = repStorage.AmmoTypes["12gaSlug"]:GetAttribute("AccuracyDeviation"),
  1645. ["Drag"] = repStorage.AmmoTypes["12gaSlug"]:GetAttribute("Drag")
  1646. },
  1647. ["12gaBuckshot"] = {
  1648. ["Drop"] = repStorage.AmmoTypes["12gaBuckshot"]:GetAttribute("ProjectileDrop"),
  1649. ["Speed"] = repStorage.AmmoTypes["12gaBuckshot"]:GetAttribute("MuzzleVelocity"),
  1650. ["Damage"] = repStorage.AmmoTypes["12gaBuckshot"]:GetAttribute("Damage"),
  1651. ["Pellets"] = repStorage.AmmoTypes["12gaBuckshot"]:GetAttribute("Pellets"),
  1652. ["ArmorPen"] = repStorage.AmmoTypes["12gaBuckshot"]:GetAttribute("ArmorPen"),
  1653. ["Spread"] = repStorage.AmmoTypes["12gaBuckshot"]:GetAttribute("AccuracyDeviation"),
  1654. ["Drag"] = repStorage.AmmoTypes["12gaBuckshot"]:GetAttribute("Drag")
  1655. },
  1656. ["12gaFlechette"] = {
  1657. ["Drop"] = repStorage.AmmoTypes["12gaFlechette"]:GetAttribute("ProjectileDrop"),
  1658. ["Speed"] = repStorage.AmmoTypes["12gaFlechette"]:GetAttribute("MuzzleVelocity"),
  1659. ["Damage"] = repStorage.AmmoTypes["12gaFlechette"]:GetAttribute("Damage"),
  1660. ["Pellets"] = repStorage.AmmoTypes["12gaFlechette"]:GetAttribute("Pellets"),
  1661. ["ArmorPen"] = repStorage.AmmoTypes["12gaFlechette"]:GetAttribute("ArmorPen"),
  1662. ["Spread"] = repStorage.AmmoTypes["12gaFlechette"]:GetAttribute("AccuracyDeviation"),
  1663. ["Drag"] = repStorage.AmmoTypes["12gaFlechette"]:GetAttribute("Drag")
  1664. }
  1665. }
  1666. local esp = {
  1667. players = {},
  1668. objects = {},
  1669. otherObjects = {},
  1670. enabled = false,
  1671. teamcheck = false,
  1672. fontsize = 13,
  1673. rainbowmode = false,
  1674. rainbowcolor = Color3.fromHSV(0, 1, 1),
  1675. font = 2,
  1676. settings = {
  1677. name = {enabled = false, outline = true, displaynames = false, color = Color3.fromRGB(255, 255, 255)},
  1678. box = {enabled = false, outline = true, color = Color3.fromRGB(255, 255, 255)},
  1679. tool = {enabled = false, outline = true, color = Color3.fromRGB(255, 255, 255)},
  1680. healthbar = {enabled = false, outline = true},
  1681. healthtext = {enabled = false, outline = true, color = Color3.fromRGB(255, 255, 255)},
  1682. distance = {enabled = false, outline = true, color = Color3.fromRGB(255, 255, 255)},
  1683. viewangle = {enabled = false, color = Color3.fromRGB(255, 255, 255)},
  1684. tracers = {enabled = false, color = Color3.fromRGB(255, 255, 255)},
  1685. skeleton = {enabled = false, color = Color3.fromRGB(255, 255, 255)},
  1686. chams = {enabled = false, color = Color3.fromRGB(255, 255, 255)},
  1687. chamsOutline = {enabled = false, color = Color3.fromRGB(255, 255, 255)},
  1688. offscreenarrows = {enabled = false, color = Color3.fromRGB(255, 255, 255)},
  1689. }
  1690. }
  1691.  
  1692. local main = library:Load{ Name = "1NF1N17Y - " .. script_version_number .. " - Last Updated: " .. last_updated .. " - Private", SizeX = 600, SizeY = 650, Theme = "Midnight", Extension = "json", Folder = "1NF1N17Y-Configs" }
  1693.  
  1694. --* Tabs *--
  1695. local Tabs = {
  1696. Aimbot = main:Tab("Aimbot"),
  1697. Combat = main:Tab("Combat"),
  1698. Visuals = main:Tab("Visuals"),
  1699. Misc = main:Tab("Misc"),
  1700. }
  1701.  
  1702. --* Sections *--
  1703. local Sections = {
  1704. Aimbot = {
  1705. Aimbot = Tabs.Aimbot:Section{Name = "Aimbot", Side = "Left"},
  1706. Settings = Tabs.Aimbot:Section{Name = "Aimbot Settings", Side = "Right"},
  1707. FOV_Circle = Tabs.Aimbot:Section{Name = "FOV", Side = "Left"},
  1708. },
  1709. Combat = {
  1710. WeaponMods = Tabs.Combat:Section{Name = "Weapon Mods", Side = "Left"},
  1711. HitSounds = Tabs.Combat:Section{Name = "Custom Hit Sounds", Side = "Right"},
  1712. AntiAim = Tabs.Combat:Section{Name = "Anti Prediction", Side = "Left"},
  1713. AntiAim2 = Tabs.Combat:Section{Name = "Anti Aim", Side = "Right"},
  1714. Teleport = Tabs.Combat:Section{Name = "Teleport", Side = "Left"},
  1715. },
  1716. Visuals = {
  1717. Objects = Tabs.Visuals:Section{Name = "Objects", Side = "Right"},
  1718. ESP = Tabs.Visuals:Section{Name = "ESP", Side = "Left"},
  1719. InventoryScanner = Tabs.Visuals:Section{Name = "Inventory Viewer", Side = "Right"},
  1720. FreeCamera = Tabs.Visuals:Section{Name = "Free Camera", Side = "Right"},
  1721. RainbowSettings = Tabs.Visuals:Section{Name = "Rainbow ESP", Side = "Right"},
  1722. },
  1723. Misc = {
  1724. Lighting = Tabs.Misc:Section{Name = "Lighting", Side = "Left"},
  1725. Removals = Tabs.Misc:Section{Name = "Removals", Side = "Right"},
  1726. LocalPlayer = Tabs.Misc:Section{Name = "Local Player", Side = "Left"},
  1727. Misc = Tabs.Misc:Section{Name = "Misc", Side = "Right"},
  1728. },
  1729. }
  1730.  
  1731. --* Aimbot *--
  1732. local AimbotToggle = Sections.Aimbot.Aimbot:Toggle{
  1733. Name = "Enabled",
  1734. Flag = "aimbotEnabled",
  1735. Default = false,
  1736. Callback = function(bool)
  1737. Environment.Settings.Enabled = bool
  1738. end
  1739. }
  1740. AimbotToggle:Keybind{
  1741. Default = Enum.UserInputType.MouseButton2,
  1742. Blacklist = {Enum.UserInputType.MouseButton1},
  1743. Flag = "aimbotKeybind",
  1744. Mode = "nil", -- mode to nil if u dont want it to toggle the toggle
  1745. Callback = function(key, fromsetting)
  1746. local key = tostring(key):gsub("Enum.UserInputType.", "")
  1747. Environment.Settings.TriggerKey = key
  1748. end
  1749. }
  1750. local SilentAim = Sections.Aimbot.Aimbot:Toggle{
  1751. Name = "Silent Aim",
  1752. Flag = "silentaimEnabled",
  1753. Tooltip = "Aimbot but no snapping.",
  1754. Tooltipplace = "Left",
  1755. Callback = function(bool)
  1756. Environment.Settings.SilentAimEnabled = bool
  1757. end
  1758. }
  1759. SilentAim:Slider{
  1760. Text = "Misschance: [value]%",
  1761. Default = 1,
  1762. Min = 1,
  1763. Max = 100,
  1764. Float = 1,
  1765. Flag = "silentaimMisschance",
  1766. Callback = function(value)
  1767. Environment.Settings.SilentAimMisschance = value
  1768. end
  1769. }
  1770. Sections.Aimbot.Aimbot:Toggle{
  1771. Name = "AI",
  1772. Flag = "aiaimbotEnabled",
  1773. Callback = function(bool)
  1774. Environment.Settings.AiAimbotEnabled = bool
  1775. end
  1776. }
  1777. Sections.Aimbot.Aimbot:Toggle{
  1778. Name = "Friend Check",
  1779. Flag = "aimbotfriendcheckEnabled"
  1780. }
  1781. Sections.Aimbot.Aimbot:Toggle{
  1782. Name = "Prediction",
  1783. Flag = "predictionEnabled",
  1784. Callback = function(bool)
  1785. Environment.Settings.Prediction = bool
  1786. end
  1787. }
  1788. Sections.Aimbot.Aimbot:Toggle{
  1789. Name = "Visible Check",
  1790. Flag = "visiblecheckEnabled",
  1791. Callback = function(bool)
  1792. Environment.Settings.WallCheck = bool
  1793. end
  1794. }
  1795. Sections.Aimbot.Aimbot:Toggle{
  1796. Name = "Resolver",
  1797. Flag = "resolverEnabled",
  1798. Tooltip = "Only use against other hackers.",
  1799. Tooltipplace = "Left",
  1800. }
  1801. local aimbotSnaplines = Sections.Aimbot.Aimbot:Toggle{
  1802. Name = "Snap Lines",
  1803. Flag = "snaplinesEnabled",
  1804. Callback = function(bool)
  1805. Environment.Settings.SnapLines = bool
  1806. end
  1807. }
  1808. aimbotSnaplines:ColorPicker{
  1809. Default = Color3.fromRGB(255, 0, 0),
  1810. Flag = "snaplinesColor",
  1811. Callback = function(color)
  1812. Environment.Settings.SnapLineColor = string.format("%s, %s, %s", math.round(color.R * 255), math.round(color.G * 255), math.round(color.B * 255))
  1813. end
  1814. }
  1815. local highlighttargetEnabled = Sections.Aimbot.Aimbot:Toggle{
  1816. Name = "Highlight Target",
  1817. Flag = "highlighttargetEnabled"
  1818. }
  1819. highlighttargetEnabled:ColorPicker{
  1820. Default = Color3.fromRGB(255, 0, 0),
  1821. Flag = "highlighttargetColor"
  1822. }
  1823.  
  1824. local HitNotifications = Sections.Aimbot.Settings:Toggle{
  1825. Name = "Hit Notifications",
  1826. Flag = "hitnotificationsEnabled"
  1827. }
  1828. HitNotifications:ColorPicker{
  1829. Default = Color3.fromRGB(255, 0, 0),
  1830. Flag = "hitnotificationsColor"
  1831. }
  1832. HitNotifications:Slider{
  1833. Text = "Duration: [value]s",
  1834. Default = 2,
  1835. Min = 1,
  1836. Max = 5,
  1837. Float = 0.1,
  1838. Flag = "hitnotificationsDuration"
  1839. }
  1840.  
  1841. local HitMarkers = Sections.Aimbot.Settings:Toggle{
  1842. Name = "Hit Markers",
  1843. Flag = "hitmarkersEnabled"
  1844. }
  1845. HitMarkers:ColorPicker{
  1846. Default = Color3.fromRGB(255, 0, 0),
  1847. Flag = "hitmarkersColor"
  1848. }
  1849. HitMarkers:Slider{
  1850. Text = "Duration: [value]s",
  1851. Default = 2,
  1852. Min = 0,
  1853. Max = 5,
  1854. Float = 0.1,
  1855. Flag = "hitmarkersDuration"
  1856. }
  1857.  
  1858. local bulletlineEnabled = Sections.Aimbot.Settings:Toggle{
  1859. Name = "Bullet Tracers",
  1860. Flag = "bulletlineEnabled"
  1861. }
  1862. bulletlineEnabled:ColorPicker{
  1863. Default = Color3.fromRGB(255, 255, 255),
  1864. Flag = "bulletlineColor"
  1865. }
  1866. bulletlineEnabled:Slider{
  1867. Text = "Duration: [value] s",
  1868. Default = 2,
  1869. Min = 0,
  1870. Max = 3,
  1871. Float = 0.01,
  1872. Flag = "bulletlineDelay"
  1873. }
  1874.  
  1875. local HitChams = Sections.Aimbot.Settings:Toggle{
  1876. Name = "Hit Chams",
  1877. Flag = "hitchamsEnabled",
  1878. }
  1879. HitChams:ColorPicker{
  1880. Default = Color3.fromRGB(255, 255, 255),
  1881. Flag = "hitchamsColor"
  1882. }
  1883. HitChams:Slider{
  1884. Text = "Duration: [value] s",
  1885. Default = 2,
  1886. Min = 0,
  1887. Max = 5,
  1888. Float = 0.01,
  1889. Flag = "hitchamsDuration"
  1890. }
  1891.  
  1892. local RandomAimbotPartToggle = Sections.Aimbot.Settings:Toggle{
  1893. Name = "Random Hit Part",
  1894. Flag = "aimbotrandomhitpartEnabled"
  1895. }
  1896. RandomAimbotPartToggle:Dropdown{
  1897. Default = {'Head', 'UpperTorso', 'LowerTorso'},
  1898. Content = HitBoxParts,
  1899. Max = #HitBoxParts,
  1900. Scrollable = true,
  1901. ScrollingMax = 5,
  1902. Flag = "aimbotrandomhitpartLimbs",
  1903. Callback = function(option)
  1904. dwHitBoxParts = {}
  1905. for i, v in pairs(option) do
  1906. dwHitBoxParts[i] = v
  1907. end
  1908. end
  1909. }
  1910.  
  1911. Sections.Aimbot.Settings:Slider{
  1912. Name = "Sensitivity",
  1913. Text = "[value] ms",
  1914. Default = 0,
  1915. Min = 0,
  1916. Max = 1,
  1917. Float = 0.01,
  1918. Flag = "aimbotSensitivity",
  1919. Callback = function(value)
  1920. Environment.Settings.Sensitivity = value
  1921. end
  1922. }
  1923.  
  1924. Sections.Aimbot.Settings:Slider{
  1925. Name = "Max Aim Distance",
  1926. Text = "[value] m",
  1927. Default = 1000,
  1928. Min = 0,
  1929. Max = 5000,
  1930. Float = 1,
  1931. Flag = "aimbotMaxDistance",
  1932. Callback = function(value)
  1933. Environment.Settings.MaxDistance = value
  1934. end
  1935. }
  1936.  
  1937. --* FOV Circle *--
  1938. local fovCircle = Sections.Aimbot.FOV_Circle:Toggle{
  1939. Name = "Enabled",
  1940. Flag = "fovcircleEnabled",
  1941. Callback = function(bool)
  1942. Environment.FOVSettings.Enabled = bool
  1943. end
  1944. }
  1945. fovCircle:ColorPicker{
  1946. Default = Color3.fromRGB(255, 255, 255),
  1947. Flag = "fovcircleColor",
  1948. Callback = function(color)
  1949. Environment.FOVSettings.Color = string.format("%s, %s, %s", math.round(color.R * 255), math.round(color.G * 255), math.round(color.B * 255))
  1950. end
  1951. }
  1952. Sections.Aimbot.FOV_Circle:Slider{
  1953. Name = "Size",
  1954. Text = "[value]",
  1955. Default = 90,
  1956. Min = 1,
  1957. Max = Camera.ViewportSize.X / 2 + 200,
  1958. Float = 1,
  1959. Flag = "fovcircleSize",
  1960. Callback = function(value)
  1961. Environment.FOVSettings.Amount = value
  1962. end
  1963. }
  1964. Sections.Aimbot.FOV_Circle:Slider{
  1965. Name = "Sides",
  1966. Text = "[value]",
  1967. Default = 50,
  1968. Min = 1,
  1969. Max = 65,
  1970. Float = 1,
  1971. Flag = "fovcircleSides",
  1972. Callback = function(value)
  1973. Environment.FOVSettings.Sides = value
  1974. end
  1975. }
  1976. Sections.Aimbot.FOV_Circle:Slider{
  1977. Name = "Thickness",
  1978. Text = "[value]",
  1979. Default = 1,
  1980. Min = 1,
  1981. Max = 10,
  1982. Float = 1,
  1983. Flag = "fovcircleThickness",
  1984. Callback = function(value)
  1985. Environment.FOVSettings.Thickness = value
  1986. end
  1987. }
  1988.  
  1989. --* Weapon Mods *--
  1990. local OldWeaponMods_QuickAim = {}
  1991. Sections.Combat.WeaponMods:Toggle{
  1992. Name = "Quick Aim",
  1993. Flag = "quickaimEnabled",
  1994. Callback = function(bool)
  1995. if bool then
  1996. OldWeaponMods_QuickAim = {}
  1997. for i,v in next, repStorage.Players[plr.Name].Inventory:GetChildren() do
  1998. local module = require(v.SettingsModule)
  1999.  
  2000. table.insert(OldWeaponMods_QuickAim, module.AimInSpeed)
  2001. table.insert(OldWeaponMods_QuickAim, module.AimOutSpeed)
  2002.  
  2003. module.AimInSpeed = 0
  2004. module.AimOutSpeed = 0
  2005. end
  2006. else
  2007. for i,v in next, repStorage.Players[plr.Name].Inventory:GetChildren() do
  2008. local module = require(v.SettingsModule)
  2009.  
  2010. for i2,v2 in next, OldWeaponMods_QuickAim do
  2011. module.AimInSpeed = v2
  2012. module.AimOutSpeed = v2
  2013. end
  2014. end
  2015. end
  2016. end
  2017. }
  2018. Sections.Combat.WeaponMods:Toggle{
  2019. Name = "No Recoil",
  2020. Flag = "norecoilEnabled"
  2021. }
  2022. Sections.Combat.WeaponMods:Toggle{
  2023. Name = "No Muzzle Flash",
  2024. Flag = "nomuzzleflashEnabled",
  2025. Callback = function(bool)
  2026. for i,v in pairs(repStorage.RangedWeapons:GetChildren()) do
  2027. v:SetAttribute("MuzzleEffect", not bool)
  2028. end
  2029. end
  2030. }
  2031. local rapidfireEnabledd = false
  2032. local firerates = {}
  2033. local FireRate = Sections.Combat.WeaponMods:Toggle{
  2034. Name = "Fire Rate",
  2035. Flag = "rapidfireEnabled",
  2036. Callback = function(bool)
  2037. if bool and not rapidfireEnabledd then
  2038. rapidfireEnabledd = true
  2039. for i,v in next, repStorage.Players[plr.Name].Inventory:GetChildren() do
  2040. local module = require(v.SettingsModule)
  2041.  
  2042. firerates[v.Name] = module.FireRate
  2043. module.FireRate = library.flags["firerateValue"]
  2044. module.FireModes = { "Semi", "Auto" }
  2045. module.FireMode = 'Auto'
  2046. end
  2047. end
  2048.  
  2049. if not bool and rapidfireEnabledd then
  2050. for i,v in next, repStorage.Players[plr.Name].Inventory:GetChildren() do
  2051. local module = require(v.SettingsModule)
  2052.  
  2053. module.FireRate = firerates[v.Name]
  2054. module.FireModes = { "Semi", "Auto" }
  2055. module.FireMode = 'Semi'
  2056. end
  2057. end
  2058. end
  2059. }
  2060. FireRate:Slider{
  2061. Text = "[value] ms",
  2062. Default = 0,
  2063. Min = 0,
  2064. Max = 1,
  2065. Float = 0.0001,
  2066. Flag = "firerateValue"
  2067. }
  2068.  
  2069.  
  2070. --* Hit Sounds *--
  2071. Sections.Combat.HitSounds:Toggle{
  2072. Name = "Enabled",
  2073. Flag = "hitsoundsEnabled",
  2074. Callback = function(bool)
  2075. if bool then
  2076. game:GetService("ReplicatedStorage").SFX.Hits.HitMarkers.Helmet.Volume = 0
  2077. game:GetService("ReplicatedStorage").SFX.Hits.HitMarkers.BodyArmor.Volume = 0
  2078. game:GetService("ReplicatedStorage").SFX.Hits.HitMarkers.Bodyshot.Volume = 0
  2079. game:GetService("ReplicatedStorage").SFX.Hits.HitMarkers.Headshot.Volume = 0
  2080.  
  2081. game:GetService("ReplicatedStorage").SFX.Hits.ProjectileHits.Default.Hit.Volume = 0
  2082. game:GetService("ReplicatedStorage").SFX.Hits.ProjectileHits.Blood.Hit.Volume = 0
  2083. else
  2084. game:GetService("ReplicatedStorage").SFX.Hits.HitMarkers.Helmet.Volume = 7
  2085. game:GetService("ReplicatedStorage").SFX.Hits.HitMarkers.BodyArmor.Volume = 7
  2086. game:GetService("ReplicatedStorage").SFX.Hits.HitMarkers.Bodyshot.Volume = 7
  2087. game:GetService("ReplicatedStorage").SFX.Hits.HitMarkers.Headshot.Volume = 7
  2088.  
  2089. game:GetService("ReplicatedStorage").SFX.Hits.ProjectileHits.Default.Hit.Volume = 1
  2090. game:GetService("ReplicatedStorage").SFX.Hits.ProjectileHits.Blood.Hit.Volume = 1
  2091. end
  2092. end
  2093. }
  2094. -- Miscellaneous - Hit Sound
  2095. local hitSounds = {
  2096. Neverlose = "rbxassetid://8726881116",
  2097. Gamesense = "rbxassetid://4817809188",
  2098. Rust = "rbxassetid://1255040462",
  2099. ["Among Us"] = "rbxassetid://5700183626",
  2100. ["CS:GO"] = "rbxassetid://6937353691",
  2101. ["Call of Duty"] = "rbxassetid://5952120301",
  2102. Click = "rbxassetid://8053704437",
  2103. Steve = "rbxassetid://4965083997",
  2104. }
  2105.  
  2106. local allSounds = {}
  2107. allSounds[1] = "Standard"
  2108. for i, v in pairs(hitSounds) do
  2109. allSounds[#allSounds + 1] = i
  2110. end
  2111.  
  2112. local HeadSoundList = Sections.Combat.HitSounds:Dropdown{
  2113. Name = "Head",
  2114. Default = "Standard",
  2115. Content = allSounds,
  2116. Flag = "headSound",
  2117. Callback = function(option)
  2118. local standardHitsound = option == "Standard"
  2119. if standardHitsound then
  2120. headSound.SoundId = ""
  2121. else
  2122. headSound.SoundId = hitSounds[option]
  2123. end
  2124. if not headSound.IsPlaying then
  2125. headSound:Play()
  2126. end
  2127. end
  2128. }
  2129. Sections.Combat.HitSounds:Slider{
  2130. Name = "Head Sound Volume",
  2131. Text = "[value]",
  2132. Default = 5,
  2133. Min = 0,
  2134. Max = 10,
  2135. Float = 0.1,
  2136. Flag = "headSoundVolume",
  2137. Callback = function(value)
  2138. headSound.Volume = value
  2139. if not headSound.IsPlaying then
  2140. headSound:Play()
  2141. end
  2142. end
  2143. }
  2144.  
  2145. local BodySoundList = Sections.Combat.HitSounds:Dropdown{
  2146. Name = "Body",
  2147. Default = "Standard",
  2148. Content = allSounds,
  2149. Flag = "bodySound",
  2150. Callback = function(option)
  2151. local standardHitsound = option == "Standard"
  2152. if standardHitsound then
  2153. bodySound.SoundId = ""
  2154. else
  2155. bodySound.SoundId = hitSounds[option]
  2156. end
  2157. if not bodySound.IsPlaying then
  2158. bodySound:Play()
  2159. end
  2160. end
  2161. }
  2162. Sections.Combat.HitSounds:Slider{
  2163. Name = "Body Sound Volume",
  2164. Text = "[value]",
  2165. Default = 5,
  2166. Min = 0,
  2167. Max = 10,
  2168. Float = 0.1,
  2169. Flag = "bodySoundVolume",
  2170. Callback = function(value)
  2171. bodySound.Volume = value
  2172. if not bodySound.IsPlaying then
  2173. bodySound:Play()
  2174. end
  2175. end
  2176. }
  2177.  
  2178.  
  2179. --* Anti Aim *--
  2180. local AntiPrediction = Sections.Combat.AntiAim:Toggle{
  2181. Name = "Anti Prediction",
  2182. Flag = "antipredictionEnabled",
  2183. Tooltip = "Very good against other hackers using prediction.",
  2184. Tooltipplace = "Left",
  2185. }
  2186. AntiPrediction:Keybind{
  2187. Default = Enum.KeyCode.F,
  2188. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  2189. Flag = "antipredictionKeybind",
  2190. Mode = "nill",
  2191. Callback = function(key, fromsetting)
  2192. local key = tostring(key):gsub("Enum.KeyCode.", "")
  2193. _AntiPredictionKeybind = key
  2194.  
  2195. if not fromsetting and not Typing then
  2196. AntiPrediction_ = not AntiPrediction_
  2197. if AntiPrediction_ and library.flags["antipredictionEnabled"] then
  2198. KeybindUI.AddKeybind("Anti Predic", _AntiPredictionKeybind)
  2199. end
  2200. if not AntiPrediction_ and library.flags["antipredictionEnabled"] then
  2201. KeybindUI.RemoveKeybind("Anti Predic")
  2202. end
  2203. end
  2204. end
  2205. }
  2206. AntiPrediction:Slider{
  2207. Text = "Power: [value]/100",
  2208. Default = 200,
  2209. Min = 0,
  2210. Max = 100,
  2211. Float = 1,
  2212. Flag = "antiaimPower"
  2213. }
  2214. Sections.Combat.AntiAim:Slider{
  2215. Name = "X Value",
  2216. Text = "[value]",
  2217. Default = 50,
  2218. Min = 0,
  2219. Max = 100,
  2220. Float = 1,
  2221. Flag = "antiaimX"
  2222. }
  2223. Sections.Combat.AntiAim:Slider{
  2224. Name = "Z Value",
  2225. Text = "[value]",
  2226. Default = 50,
  2227. Min = 0,
  2228. Max = 100,
  2229. Float = 1,
  2230. Flag = "antiaimZ"
  2231. }
  2232. Sections.Combat.AntiAim:Toggle{
  2233. Name = "Randomize",
  2234. Flag = "antiaimRandom"
  2235. }
  2236.  
  2237. local AAPitch = Sections.Combat.AntiAim2:Toggle{ Name = "Pitch", Flag = "blatantantiaimpitchEnabled", Tooltip = "Anti aim to stop other players from hitting head.", Tooltipplace = "Right"}
  2238. AAPitch:Dropdown{
  2239. Default = "Custom",
  2240. Content = {
  2241. "Custom",
  2242. "Down",
  2243. "Up",
  2244. "Random"
  2245. },
  2246. Flag = "blatantantiaimpitchType"
  2247. }
  2248. Sections.Combat.AntiAim2:Slider{ Text = "[value]/0.75", Default = 0, Min = -0.75, Max = 0.75, Float = 0.01, Flag = "blatantantiaimPitch"}
  2249.  
  2250. local AAYaw = Sections.Combat.AntiAim2:Toggle{ Name = "Yaw", Flag = "blatantantiaimyawEnabled", Tooltip = "Anti aim to stop other players from hitting head.", Tooltipplace = "Right"}
  2251. AAYaw:Dropdown{
  2252. Default = "Custom",
  2253. Content = {
  2254. "Custom",
  2255. "Font",
  2256. "Back",
  2257. "Left",
  2258. "Right",
  2259. "Random"
  2260. },
  2261. Flag = "blatantantiaimyawType"
  2262. }
  2263. Sections.Combat.AntiAim2:Slider{ Text = "[value]/360", Default = 0, Min = 0, Max = 360, Float = 1, Flag = "blatantantiaimYaw"}
  2264.  
  2265.  
  2266. local AALean = Sections.Combat.AntiAim2:Toggle{ Name = "Lean", Flag = "blatantantiaimleanEnabled", Tooltip = "Anti aim to stop other players from hitting head.", Tooltipplace = "Right"}
  2267. AALean:Dropdown{
  2268. Default = "Custom",
  2269. Content = {
  2270. "Custom",
  2271. "Left",
  2272. "Right",
  2273. "Random"
  2274. },
  2275. Flag = "blatantantiaimleanType"
  2276. }
  2277. Sections.Combat.AntiAim2:Slider{ Text = "[value]/1", Default = 0, Min = -1, Max = 1, Float = 1, Flag = "blatantantiaimlean"}
  2278. Sections.Combat.AntiAim2:Slider{ Name = "Random Lean Tick", Text = "[value]/25", Default = 0, Min = 0, Max = 25, Float = 1, Flag = "blatantantiaimRandomleanTick"}
  2279.  
  2280. Sections.Combat.AntiAim2:Toggle{ Name = "No Auto Rotate", Flag = "blatantantiaimautorotateEnabled",
  2281. Callback = function(bool)
  2282. plr.Character.Humanoid.AutoRotate = not bool
  2283. end}
  2284.  
  2285.  
  2286. --* Teleport *--
  2287. local HeadStandLoops = {}
  2288. local HeadStandManual_ = false
  2289. local HeadStandAuto_ = false
  2290.  
  2291. local ManualHeadStandToggle = Sections.Combat.Teleport:Toggle{
  2292. Name = "Manual Head Stand",
  2293. Flag = "manualheadstandEnabled",
  2294. Tooltip = "Teleport ontop of the locked players head.",
  2295. Tooltipplace = "Left",
  2296. }
  2297. ManualHeadStandToggle:Keybind{
  2298. Default = Enum.KeyCode.H,
  2299. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  2300. Flag = "manualheadstandKeybind",
  2301. Mode = "nill",
  2302. Callback = function(key, fromsetting)
  2303. local key = tostring(key):gsub("Enum.KeyCode.", "")
  2304. _HeadStandKeybind = key
  2305.  
  2306. if not fromsetting and not Typing then
  2307. HeadStandManual_ = not HeadStandManual_
  2308. if HeadStandManual_ and library.flags["manualheadstandEnabled"] then
  2309. if Environment.Locked ~= nil then
  2310. KeybindUI.AddKeybind("HeadStand M", _HeadStandKeybind)
  2311. HeadStandLoops.ManualLoop = rs.Heartbeat:Connect(function()
  2312. plr.Character.HumanoidRootPart.CFrame = Environment.Locked.Character.Head.CFrame * CFrame.new(0, 1, 0);
  2313. end)
  2314. else
  2315. return
  2316. end
  2317. end
  2318. if not HeadStandManual_ and library.flags["manualheadstandEnabled"] then
  2319. KeybindUI.RemoveKeybind("HeadStand M")
  2320. HeadStandLoops.ManualLoop:Disconnect()
  2321. end
  2322. end
  2323. end
  2324. }
  2325.  
  2326. local AutoHeadStandToggle = Sections.Combat.Teleport:Toggle{
  2327. Name = "Auto Head Stand",
  2328. Flag = "autoheadstandEnabled",
  2329. Tooltip = "Teleport ontop of the closest visible players head.",
  2330. Tooltipplace = "Left",
  2331. }
  2332. AutoHeadStandToggle:Keybind{
  2333. Default = Enum.KeyCode.J,
  2334. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  2335. Flag = "autoheadstandKeybind",
  2336. Mode = "nill",
  2337. Callback = function(key, fromsetting)
  2338. local key = tostring(key):gsub("Enum.KeyCode.", "")
  2339. _AutoHeadStandKeybind = key
  2340.  
  2341. if not fromsetting and not Typing then
  2342. HeadStandAuto_ = not HeadStandAuto_
  2343. if HeadStandAuto_ and library.flags["autoheadstandEnabled"] then
  2344. KeybindUI.AddKeybind("HeadStand A", _AutoHeadStandKeybind)
  2345. HeadStandLoops.AutoLoop = rs.Heartbeat:Connect(function()
  2346. local Target = nil
  2347. Target = GetClosestPlayer2()
  2348.  
  2349. if Target ~= nil then
  2350. plr.Character.HumanoidRootPart.CFrame = Target.Character.Head.CFrame * CFrame.new(0, 2, 0);
  2351. end
  2352. end)
  2353. end
  2354. if not HeadStandAuto_ and library.flags["autoheadstandEnabled"] then
  2355. KeybindUI.RemoveKeybind("HeadStand A")
  2356. HeadStandLoops.AutoLoop:Disconnect()
  2357. end
  2358. end
  2359. end
  2360. }
  2361.  
  2362.  
  2363.  
  2364.  
  2365. -- * ESP * --
  2366. local ESPEnabledToggle = Sections.Visuals.ESP:Toggle{
  2367. Name = "Enabled",
  2368. Flag = "espEnabled",
  2369. Callback = function(bool)
  2370. esp.enabled = bool
  2371. end
  2372. }
  2373. local espFriendCheck = Sections.Visuals.ESP:Toggle{
  2374. Name = "Friend Check",
  2375. Flag = "friendcheckEnabled",
  2376. Callback = function(bool)
  2377.  
  2378. end
  2379. }
  2380. espFriendCheck:ColorPicker{
  2381. Default = Color3.fromRGB(255, 255, 255),
  2382. Flag = "friendcheckColor",
  2383. Callback = function(color)
  2384.  
  2385. end
  2386. }
  2387. local espName = Sections.Visuals.ESP:Toggle{
  2388. Name = "Name",
  2389. Flag = "espnameEnabled",
  2390. Callback = function(bool)
  2391. esp.settings.name.enabled = bool
  2392.  
  2393. if bool then
  2394. ShowName()
  2395. else
  2396. HideName()
  2397. end
  2398. end
  2399. }
  2400. espName:ColorPicker{
  2401. Default = Color3.fromRGB(255, 255, 255),
  2402. Flag = "espnameColor",
  2403. Callback = function(color)
  2404. esp.settings.name.color = color
  2405. end
  2406. }
  2407. local espBox = Sections.Visuals.ESP:Toggle{
  2408. Name = "Box",
  2409. Flag = "espboxEnabled",
  2410. Callback = function(bool)
  2411. esp.settings.box.enabled = bool
  2412.  
  2413. if bool then
  2414. ShowBox()
  2415. else
  2416. HideBox()
  2417. end
  2418. end
  2419. }
  2420. espBox:ColorPicker{
  2421. Default = Color3.fromRGB(255, 255, 255),
  2422. Flag = "espboxColor",
  2423. Callback = function(color)
  2424. esp.settings.box.color = color
  2425. end
  2426. }
  2427. espBox:ColorPicker{
  2428. Default = Color3.fromRGB(24, 24, 24),
  2429. Flag = "espboxoutlineColor"
  2430. }
  2431. local espTool = Sections.Visuals.ESP:Toggle{
  2432. Name = "Tool",
  2433. Flag = "esptoolEnabled",
  2434. Callback = function(bool)
  2435. esp.settings.tool.enabled = bool
  2436.  
  2437. if bool then
  2438. ShowTool()
  2439. else
  2440. HideTool()
  2441. end
  2442. end
  2443. }
  2444. espTool:ColorPicker{
  2445. Default = Color3.fromRGB(255, 255, 255),
  2446. Flag = "esptoolColor",
  2447. Callback = function(color)
  2448. esp.settings.tool.color = color
  2449. end
  2450. }
  2451. Sections.Visuals.ESP:Toggle{
  2452. Name = "Health Bar",
  2453. Flag = "esphealthbarEnabled",
  2454. Callback = function(bool)
  2455. esp.settings.healthbar.enabled = bool
  2456.  
  2457. if bool then
  2458. ShowHealthBar()
  2459. else
  2460. HideHealthBar()
  2461. end
  2462. end
  2463. }
  2464. local espHealthText = Sections.Visuals.ESP:Toggle{
  2465. Name = "Health Text",
  2466. Flag = "esphealthtextEnabled",
  2467. Callback = function(bool)
  2468. esp.settings.healthtext.enabled = bool
  2469.  
  2470. if bool then
  2471. ShowHealthText()
  2472. else
  2473. HideHealthText()
  2474. end
  2475. end
  2476. }
  2477. espHealthText:ColorPicker{
  2478. Default = Color3.fromRGB(255, 255, 255),
  2479. Flag = "esphealthtextColor",
  2480. Callback = function(color)
  2481. esp.settings.healthtext.color = color
  2482. end
  2483. }
  2484. local espDistance = Sections.Visuals.ESP:Toggle{
  2485. Name = "Distance",
  2486. Flag = "espdistanceEnabled",
  2487. Callback = function(bool)
  2488. esp.settings.distance.enabled = bool
  2489.  
  2490. if bool then
  2491. ShowDistance()
  2492. else
  2493. HideDistance()
  2494. end
  2495. end
  2496. }
  2497. espDistance:ColorPicker{
  2498. Default = Color3.fromRGB(255, 255, 255),
  2499. Flag = "espdistanceColor",
  2500. Callback = function(color)
  2501. esp.settings.distance.color = color
  2502. end
  2503. }
  2504. local espViewAngle = Sections.Visuals.ESP:Toggle{
  2505. Name = "View Angle",
  2506. Flag = "espviewangleEnabled",
  2507. Callback = function(bool)
  2508. esp.settings.viewangle.enabled = bool
  2509. end
  2510. }
  2511. espViewAngle:ColorPicker{
  2512. Default = Color3.fromRGB(255, 255, 255),
  2513. Flag = "espviewangleColor",
  2514. Callback = function(color)
  2515. esp.settings.viewangle.color = color
  2516. end
  2517. }
  2518. local espTracers = Sections.Visuals.ESP:Toggle{
  2519. Name = "Tracers",
  2520. Flag = "esptracersEnabled",
  2521. Callback = function(bool)
  2522. esp.settings.tracers.enabled = bool
  2523. end
  2524. }
  2525. espTracers:ColorPicker{
  2526. Default = Color3.fromRGB(255, 255, 255),
  2527. Flag = "esptracersColor",
  2528. Callback = function(color)
  2529. esp.settings.tracers.color = color
  2530. end
  2531. }
  2532. local espSkeleton = Sections.Visuals.ESP:Toggle{
  2533. Name = "Skeleton",
  2534. Flag = "espskeletonEnabled",
  2535. Callback = function(bool)
  2536. esp.settings.skeleton.enabled = bool
  2537.  
  2538. if bool then
  2539. ShowSkeleton()
  2540. else
  2541. HideSkeleton()
  2542. end
  2543. end
  2544. }
  2545. espSkeleton:ColorPicker{
  2546. Default = Color3.fromRGB(255, 255, 255),
  2547. Flag = "espskeletonColor",
  2548. Callback = function(color)
  2549. esp.settings.skeleton.color = color
  2550. end
  2551. }
  2552. local espChams = Sections.Visuals.ESP:Toggle{
  2553. Name = "Chams",
  2554. Flag = "espchamsEnabled",
  2555. Callback = function(bool)
  2556. esp.settings.chams.enabled = bool
  2557. end
  2558. }
  2559. espChams:ColorPicker{
  2560. Default = Color3.fromRGB(0, 255, 0),
  2561. Flag = "chamsvisibleColor"
  2562. }
  2563. espChams:ColorPicker{
  2564. Default = Color3.fromRGB(255, 0, 0),
  2565. Flag = "chamsnotvisibleColor"
  2566. }
  2567. local espChamsOutline = Sections.Visuals.ESP:Toggle{
  2568. Name = "Chams Outline",
  2569. Flag = "espchamsoutlineEnabled",
  2570. Callback = function(bool)
  2571. esp.settings.chamsOutline.enabled = bool
  2572. end
  2573. }
  2574. espChamsOutline:ColorPicker{
  2575. Default = Color3.fromRGB(255, 255, 255),
  2576. Flag = "espchamsoutlineColor",
  2577. Callback = function(color)
  2578. esp.settings.chamsOutline.color = color
  2579. end
  2580. }
  2581. local OffScreenArrowsToggle = Sections.Visuals.ESP:Toggle{
  2582. Name = "Off Screen Arrows",
  2583. Flag = "espoffscreenarrowsEnabled",
  2584. Callback = function(bool)
  2585. esp.settings.offscreenarrows.enabled = bool
  2586. end
  2587. }
  2588. OffScreenArrowsToggle:Slider{
  2589. Text = "Radius: [value]/" .. Camera.ViewportSize.X / 2,
  2590. Default = 100,
  2591. Min = 5,
  2592. Max = Camera.ViewportSize.X / 2,
  2593. Float = 1,
  2594. Flag = "espoffscreenarrowsRadius"
  2595. }
  2596. Sections.Visuals.ESP:Toggle{
  2597. Name = "Arrows Info",
  2598. Flag = "espoffscreenarrowsInfoEnabled"
  2599. }
  2600.  
  2601. Sections.Visuals.ESP:Separator("ESP Settings")
  2602. Sections.Visuals.ESP:Dropdown{
  2603. Name = "Tracer Location",
  2604. Default = "Bottom",
  2605. Content = {
  2606. "Bottom",
  2607. "Middle",
  2608. },
  2609. Flag = "tracerFromLocation",
  2610. Callback = function(option)
  2611.  
  2612. end
  2613. }
  2614. Sections.Visuals.ESP:Slider{
  2615. Name = "Max Distance",
  2616. Text = "[value] m",
  2617. Default = 1000,
  2618. Min = 1,
  2619. Max = 5000,
  2620. Float = 1,
  2621. Flag = "espMaxDistance",
  2622. Callback = function(value)
  2623. end
  2624. }
  2625. Sections.Visuals.ESP:Slider{
  2626. Name = "Font Size",
  2627. Text = "[value]/13",
  2628. Default = 13,
  2629. Min = 5,
  2630. Max = 30,
  2631. Float = 0.01,
  2632. Flag = "espFontSize",
  2633. Callback = function(value)
  2634. esp.fontsize = value
  2635. end
  2636. }
  2637.  
  2638. ---------------------------------
  2639. --* OBJECT ESP *--
  2640. ---------------------------------
  2641. local objectConnections = {}
  2642. Sections.Visuals.Objects:Toggle{
  2643. Name = "Enabled",
  2644. Flag = "espobjectsEnabled",
  2645. Callback = function(bool)
  2646. ESP.Objects_Enabled = bool
  2647. end
  2648. }
  2649.  
  2650.  
  2651. local MonumentsESP = Sections.Visuals.Objects:Toggle{
  2652. Name = "Monuments",
  2653. Flag = "espobjectsmonumentsEnabled"
  2654. }
  2655. MonumentsESP:ColorPicker{
  2656. Default = Color3.fromRGB(255, 255, 255),
  2657. Flag = "espobjectsmonumentsColor"
  2658. }
  2659.  
  2660. local AiZones = ws:FindFirstChild("AiZones")
  2661. if AiZones then
  2662. for _, Zone in pairs(AiZones:GetChildren()) do
  2663. ServiceConnections.AiZonesAddedConnection = Zone.ChildAdded:Connect(function(Child)
  2664. if Running then
  2665. if Child:IsA("Model") then
  2666. if library.flags["espobjectsaientitiesEnabled"] and library.flags["espobjectsEnabled"] then
  2667. if Child.PrimaryPart then
  2668. ESP:Object(Child, {
  2669. Type = "Bandit",
  2670. Color = library.flags["espobjectsaientitiesColor"]
  2671. })
  2672. end
  2673. end
  2674. if objectConnections[Child] == nil then
  2675. objectConnections[Child] = Child:GetPropertyChangedSignal("PrimaryPart"):Connect(function()
  2676. if Running then
  2677. if Child.PrimaryPart == nil then
  2678. local Object = ESP:GetObject(Child)
  2679. if Object then
  2680. Object:Destroy()
  2681. end
  2682. elseif library.flags["espobjectsaientitiesEnabled"] and library.flags["espobjectsEnabled"] then
  2683. ESP:Object(Child, {
  2684. Type = "Bandit",
  2685. Color = library.flags["espobjectsaientitiesColor"]
  2686. })
  2687. end
  2688. end
  2689. end)
  2690. end
  2691. end
  2692. end
  2693. end)
  2694. ServiceConnections.AiZonesRemovedConnection = Zone.ChildRemoved:Connect(function(Child)
  2695. if Running then
  2696. if Child:IsA("Model") then
  2697. local Object = ESP:GetObject(Child)
  2698. if Object then
  2699. Object:Destroy()
  2700. end
  2701. end
  2702. end
  2703. end)
  2704. end
  2705. local espobjectsAiEntities = Sections.Visuals.Objects:Toggle{
  2706. Name = "AI Entities",
  2707. Flag = "espobjectsaientitiesEnabled",
  2708.  
  2709. Callback = function(bool)
  2710. if bool then
  2711. for _, Zone in pairs(AiZones:GetChildren()) do
  2712. for _, Item in pairs(Zone:GetChildren()) do
  2713. if Item.Name ~= "PMN2" then
  2714. ESP:Object(Item, {
  2715. Type = "Bandit",
  2716. Color = library.flags["espobjectsaientitiesColor"]
  2717. })
  2718. end
  2719. if objectConnections[Item] == nil then
  2720. objectConnections[Item] = Item:GetPropertyChangedSignal("PrimaryPart"):Connect(function()
  2721. if Running then
  2722. if Item.PrimaryPart == nil then
  2723. local Object = ESP:GetObject(Item)
  2724. if Object then
  2725. Object:Destroy()
  2726. end
  2727. elseif library.flags["espobjectsaientitiesEnabled"] and library.flags["espobjectsEnabled"] then
  2728. if Item.Name ~= "PMN2" then
  2729. ESP:Object(Item, {
  2730. Type = "Bandit",
  2731. Color = library.flags["espobjectsaientitiesColor"]
  2732. })
  2733. end
  2734. end
  2735. end
  2736. end)
  2737. end
  2738. end
  2739. end
  2740. else
  2741. for _, Object in pairs(ESP.Objects) do
  2742. if Object.Type == "Bandit" then
  2743. Object:Destroy()
  2744. end
  2745. end
  2746. end
  2747. end
  2748. }
  2749. espobjectsAiEntities:ColorPicker{
  2750. Default = Color3.fromRGB(255, 255, 255),
  2751. Flag = "espobjectsaientitiesColor",
  2752. Callback = function(color)
  2753. for _, Object in pairs(ESP.Objects) do
  2754. if Object.Type == "Bandit" then
  2755. for _, Drawing in pairs(Object.Components) do
  2756. Drawing.Color = color
  2757. end
  2758. end
  2759. end
  2760. end
  2761. }
  2762. end
  2763. local Containers = ws:FindFirstChild("Containers")
  2764. if Containers then
  2765. Containers.ChildAdded:Connect(function(Child)
  2766. if Child:IsA("Model") then
  2767. if Child.PrimaryPart and library.flags["espobjectscontainersEnabled"] and library.flags["espobjectsEnabled"] then
  2768. ESP:Object(Child, {
  2769. Type = "Container",
  2770. Color = Flags.objectsContainersColor,
  2771. Transparency = Framework:Drawing_Transparency(Options.objectsContainersColor.trans),
  2772. Outline = Flags.objectOutline
  2773. })
  2774. end
  2775. if objectConnections[Child] == nil then
  2776. objectConnections[Child] = Utility:Connection(Child:GetPropertyChangedSignal("PrimaryPart"), function()
  2777. if Child.PrimaryPart == nil then
  2778. local Object = ESP:GetObject(Child)
  2779. if Object then
  2780. Object:Destroy()
  2781. end
  2782. elseif library.flags["espobjectscontainersEnabled"] and library.flags["espobjectsEnabled"] then
  2783. ESP:Object(Child, {
  2784. Type = "Container",
  2785. Color = library.flags["espobjectscontainersColor"]
  2786. })
  2787. end
  2788. end)
  2789. end
  2790. end
  2791. end)
  2792. Containers.ChildRemoved:Connect(function(Child)
  2793. if Child:IsA("Model") then
  2794. local Object = ESP:GetObject(Child)
  2795. if Object then
  2796. Object:Destroy()
  2797. end
  2798. end
  2799. end)
  2800. local espobjectsContainers = Sections.Visuals.Objects:Toggle{
  2801. Name = "Containers",
  2802. Flag = "espobjectscontainersEnabled",
  2803. Callback = function(bool)
  2804. if bool then
  2805. for _, Item in pairs(Containers:GetChildren()) do
  2806. ESP:Object(Item, {
  2807. Type = "Container",
  2808. Color = library.flags["espobjectscontainersColor"]
  2809. })
  2810. if objectConnections[Item] == nil then
  2811. objectConnections[Item] = Item:GetPropertyChangedSignal("PrimaryPart"):Connect(function()
  2812. if Item.PrimaryPart == nil then
  2813. local Object = ESP:GetObject(Item)
  2814. if Object then
  2815. Object:Destroy()
  2816. end
  2817. elseif library.flags["espobjectscontainersEnabled"] and library.flags["espobjectsEnabled"] then
  2818. ESP:Object(Item, {
  2819. Type = "Container",
  2820. Color = library.flags["espobjectscontainersColor"]
  2821. })
  2822. end
  2823. end)
  2824. end
  2825. end
  2826. else
  2827. for _, Object in pairs(ESP.Objects) do
  2828. if Object.Type == "Container" then
  2829. Object:Destroy()
  2830. end
  2831. end
  2832. end
  2833. end
  2834. }
  2835. espobjectsContainers:ColorPicker{
  2836. Default = Color3.fromRGB(255, 255, 255),
  2837. Flag = "espobjectscontainersColor",
  2838. Callback = function(color)
  2839. for _, Object in pairs(ESP.Objects) do
  2840. if Object.Type == "Container" then
  2841. for _, Drawing in pairs(Object.Components) do
  2842. Drawing.Color = color
  2843. end
  2844. end
  2845. end
  2846. end
  2847. }
  2848. end
  2849. local DroppedItems = ws:FindFirstChild("DroppedItems")
  2850. if DroppedItems then
  2851. ServiceConnections.DroppedItemsAddedConnection = DroppedItems.ChildAdded:Connect(function(Child)
  2852. if Running then
  2853. if Child:IsA("Model") then
  2854. if Child.PrimaryPart and library.flags["espobjectsdroppeditemsEnabled"] and library.flags["espobjectsEnabled"] then
  2855. ESP:Object(Child, {
  2856. Type = "Dropped",
  2857. Color = library.flags["espobjectsdroppeditemsColor"]
  2858. })
  2859. end
  2860. if objectConnections[Child] == nil then
  2861. objectConnections[Child] = Child:GetPropertyChangedSignal("PrimaryPart"):Connect(function()
  2862. if Running then
  2863. if Child.PrimaryPart == nil then
  2864. local Object = ESP:GetObject(Child)
  2865. if Object then
  2866. Object:Destroy()
  2867. end
  2868. elseif library.flags["espobjectsdroppeditemsEnabled"] and library.flags["espobjectsEnabled"] then
  2869. ESP:Object(Child, {
  2870. Type = "Dropped",
  2871. Color = library.flags["espobjectsdroppeditemsColor"]
  2872. })
  2873. end
  2874. end
  2875. end)
  2876. end
  2877. end
  2878. end
  2879. end)
  2880. ServiceConnections.DroppedItemsRemovedConnection = DroppedItems.ChildRemoved:Connect(function(Child)
  2881. if Running then
  2882. if Child:IsA("Model") then
  2883. local Object = ESP:GetObject(Child)
  2884. if Object then
  2885. Object:Destroy()
  2886. end
  2887. end
  2888. end
  2889. end)
  2890. local espobjectsDroppedItems = Sections.Visuals.Objects:Toggle{
  2891. Name = "Dropped Items",
  2892. Flag = "espobjectsdroppeditemsEnabled",
  2893. Tooltip = "View dropped items and dead bodies",
  2894. Tooltipplace = "Right",
  2895. Callback = function(bool)
  2896. if bool then
  2897. for _, Item in pairs(DroppedItems:GetChildren()) do
  2898. ESP:Object(Item, {
  2899. Type = "Dropped",
  2900. Color = library.flags["espobjectsdroppeditemsColor"]
  2901. })
  2902. if objectConnections[Item] == nil then
  2903. objectConnections[Item] = Item:GetPropertyChangedSignal("PrimaryPart"):Connect(function()
  2904. if Running then
  2905. if Item.PrimaryPart == nil then
  2906. local Object = ESP:GetObject(Item)
  2907. if Object then
  2908. Object:Destroy()
  2909. end
  2910. elseif library.flags["espobjectsdroppeditemsEnabled"] and library.flags["espobjectsEnabled"] then
  2911. ESP:Object(Item, {
  2912. Type = "Dropped",
  2913. Color = library.flags["espobjectsdroppeditemsColor"]
  2914. })
  2915. end
  2916. end
  2917. end)
  2918. end
  2919. end
  2920. else
  2921. for _, Object in pairs(ESP.Objects) do
  2922. if Object.Type == "Dropped" then
  2923. Object:Destroy()
  2924. end
  2925. end
  2926. end
  2927. end
  2928. }
  2929. espobjectsDroppedItems:ColorPicker{
  2930. Default = Color3.fromRGB(255, 255, 255),
  2931. Flag = "espobjectsdroppeditemsColor",
  2932. Callback = function(color)
  2933. for _, Object in pairs(ESP.Objects) do
  2934. if Object.Type == "Dropped" then
  2935. for _, Drawing in pairs(Object.Components) do
  2936. Drawing.Color = color
  2937. end
  2938. end
  2939. end
  2940. end
  2941. }
  2942. end
  2943. local NoCollision = ws:FindFirstChild("NoCollision")
  2944. if NoCollision then
  2945. local ExitLocations = NoCollision:FindFirstChild("ExitLocations")
  2946. if ExitLocations then
  2947. ServiceConnections.ExitLocationsAddedConnection = ExitLocations.ChildAdded:Connect(function(Child)
  2948. if Running then
  2949. if Child:IsA("BasePart") and library.flags["espobjectsextractsEnabled"] and library.flags["espobjectsEnabled"] then
  2950. ESP:Object(Child, {
  2951. Type = "Exit",
  2952. Color = library.flags["espobjectsextractsColor"]
  2953. })
  2954. end
  2955. end
  2956. end)
  2957. ServiceConnections.ExitLocationsRemovedConnection = ExitLocations.ChildRemoved:Connect(function(Child)
  2958. if Running then
  2959. if Child:IsA("BasePart") then
  2960. local Object = ESP:GetObject(Child)
  2961. if Object then
  2962. Object:Destroy()
  2963. end
  2964. end
  2965. end
  2966. end)
  2967. local espobjectsExtracts = Sections.Visuals.Objects:Toggle{
  2968. Name = "Extracts",
  2969. Flag = "espobjectsextractsEnabled",
  2970.  
  2971. Callback = function(bool)
  2972. if bool then
  2973. for _, Item in pairs(ExitLocations:GetChildren()) do
  2974. if Item:IsA("BasePart") then
  2975. ESP:Object(Item, {
  2976. Type = "Exit",
  2977. Color = library.flags["espobjectsextractsColor"]
  2978. })
  2979. end
  2980. end
  2981. else
  2982. for _, Object in pairs(ESP.Objects) do
  2983. if Object.Type == "Exit" then
  2984. Object:Destroy()
  2985. end
  2986. end
  2987. end
  2988. end
  2989. }
  2990. espobjectsExtracts:ColorPicker{
  2991. Default = Color3.fromRGB(255, 255, 255),
  2992. Flag = "espobjectsextractsColor",
  2993. Callback = function(color)
  2994. for _, Object in pairs(ESP.Objects) do
  2995. if Object.Type == "Exit" then
  2996. for _, Drawing in pairs(Object.Components) do
  2997. Drawing.Color = color
  2998. end
  2999. end
  3000. end
  3001. end
  3002. }
  3003. end
  3004. end
  3005. local LockedDoors = ws:FindFirstChild("Door")
  3006. if LockedDoors then
  3007. ServiceConnections.LockedDoorsAddedConnection = LockedDoors.ChildAdded:Connect(function(Child)
  3008. if Running then
  3009. if Child.Name == "Hinge" then
  3010. if v:FindFirstChild("Unlock") and library.flags["espobjectslockeddoorsEnabled"] and library.flags["espobjectsEnabled"] then
  3011. ESP:Object(Child, {
  3012. Name = "Locked Door",
  3013. Type = "Locked Door",
  3014. Color = library.flags["espobjectslockeddoorsColor"]
  3015. })
  3016. end
  3017. end
  3018. end
  3019. end)
  3020. ServiceConnections.LockedDoorsRemovedConnection = LockedDoors.ChildRemoved:Connect(function(Child)
  3021. if Running then
  3022. if Child:IsA("BasePart") then
  3023. local Object = ESP:GetObject(Child)
  3024. if Object then
  3025. Object:Destroy()
  3026. end
  3027. end
  3028. end
  3029. end)
  3030. local espobjectsLockedDoors = Sections.Visuals.Objects:Toggle{
  3031. Name = "Locked Doors",
  3032. Flag = "espobjectslockeddoorsEnabled",
  3033.  
  3034. Callback = function(bool)
  3035. if bool then
  3036. for _, v in pairs(ws:GetDescendants()) do
  3037. if v.Name == "Hinge" then
  3038. if v:FindFirstChild("Unlock") then
  3039. ESP:Object(v, {
  3040. Name = "Locked Door",
  3041. Type = "Locked Door",
  3042. Color = library.flags["espobjectslockeddoorsColor"]
  3043. })
  3044. end
  3045. end
  3046. end
  3047. else
  3048. for _, Object in pairs(ESP.Objects) do
  3049. if Object.Type == "Locked Door" then
  3050. Object:Destroy()
  3051. end
  3052. end
  3053. end
  3054. end
  3055. }
  3056. espobjectsLockedDoors:ColorPicker{
  3057. Default = Color3.fromRGB(255, 255, 255),
  3058. Flag = "espobjectslockeddoorsColor",
  3059. Callback = function(color)
  3060. for _, Object in pairs(ESP.Objects) do
  3061. if Object.Type == "Locked Door" then
  3062. for _, Drawing in pairs(Object.Components) do
  3063. Drawing.Color = color
  3064. end
  3065. end
  3066. end
  3067. end
  3068. }
  3069. end
  3070. local VehiclesUAZ = ws:FindFirstChild("Vehicles")
  3071. if VehiclesUAZ then
  3072. ServiceConnections.VehiclesUAZAddedConnection = VehiclesUAZ.ChildAdded:Connect(function(Child)
  3073. if Running then
  3074. if Child.Name == "UAZ" then
  3075. if v:FindFirstChild("Body") and library.flags["espobjectsvehiclesEnabled"] and library.flags["espobjectsEnabled"] then
  3076. ESP:Object(Child.Body, {
  3077. Name = "Vehicle",
  3078. Type = "Vehicle",
  3079. Color = library.flags["espobjectsvehiclesColor"]
  3080. })
  3081. end
  3082. end
  3083. end
  3084. end)
  3085. ServiceConnections.VehiclesUAZRemovedConnection = VehiclesUAZ.ChildRemoved:Connect(function(Child)
  3086. if Running then
  3087. if Child:IsA("BasePart") then
  3088. local Object = ESP:GetObject(Child)
  3089. if Object then
  3090. Object:Destroy()
  3091. end
  3092. end
  3093. end
  3094. end)
  3095. local espobjectsVehicles = Sections.Visuals.Objects:Toggle{
  3096. Name = "Vehicles",
  3097. Flag = "espobjectsvehiclesEnabled",
  3098. Callback = function(bool)
  3099. if bool then
  3100. for _, v in pairs(ws.Vehicles:GetDescendants()) do
  3101. if v.Name == "UAZ" then
  3102. if v:FindFirstChild("Body") then
  3103. ESP:Object(v.Body, {
  3104. Name = "Vehicle",
  3105. Type = "Vehicle",
  3106. Color = library.flags["espobjectsvehiclesColor"]
  3107. })
  3108. end
  3109. end
  3110. end
  3111. else
  3112. for _, Object in pairs(ESP.Objects) do
  3113. if Object.Type == "Vehicle" then
  3114. Object:Destroy()
  3115. end
  3116. end
  3117. end
  3118. end
  3119. }
  3120. espobjectsVehicles:ColorPicker{
  3121. Default = Color3.fromRGB(255, 255, 255),
  3122. Flag = "espobjectsvehiclesColor",
  3123. Callback = function(color)
  3124. for _, Object in pairs(ESP.Objects) do
  3125. if Object.Type == "Vehicle" then
  3126. for _, Drawing in pairs(Object.Components) do
  3127. Drawing.Color = color
  3128. end
  3129. end
  3130. end
  3131. end
  3132. }
  3133. end
  3134.  
  3135. Sections.Visuals.Objects:Slider{
  3136. Name = "Max Distance",
  3137. Text = "[value] m",
  3138. Default = 1000,
  3139. Min = 1,
  3140. Max = 8000,
  3141. Float = 1,
  3142. Flag = "espobjectMaxDistance",
  3143. Callback = function(value)
  3144. ESP.Object_Maximal_Distance = value
  3145. end
  3146. }
  3147.  
  3148.  
  3149. ---------------------------------
  3150. --* INVENTORY VIEWER *--
  3151. ---------------------------------
  3152. InventoryViewer = {
  3153. Size = Vector2.new(300, 14),
  3154.  
  3155. Main = Framework:Draw("Square", {Thickness = 0, Size = Vector2.new(300, 14), Filled = true, Position = Vector2.new(100, 100), Color = library.flags["Tab Background"], Visible = false, Transparency = 0.5}),
  3156. Border = Framework:Draw("Square", {Thickness = 2, Size = Vector2.new(301, 15), Filled = false, Position = Vector2.new(100, 100), Color = library.flags["Window Background"], Visible = false, Transparency = 0.5}),
  3157.  
  3158. Texts = {}
  3159. }
  3160.  
  3161. function InventoryViewer:Clear()
  3162. for i, v in pairs(self.Texts) do
  3163. v:Remove()
  3164. self.Texts[i] = nil
  3165. self.Main.Size = self.Size
  3166. end
  3167. end
  3168.  
  3169. function InventoryViewer:AddText(Text, Tabulated, Main_Text)
  3170. local Main = self.Main
  3171. local Border = self.Border
  3172. local Drawing = Framework:Draw("Text", {Text = Text, Color = Color3.new(1, 1, 1), Transparency = 1, Size = 13, Font = 2, Outline = true, Visible = true})
  3173. table.insert(self.Texts, Drawing)
  3174.  
  3175. local Drawings = #self.Texts
  3176. Main.Size = Vector2.new(self.Size.X, 14 * Drawings)
  3177. Border.Size = Main.Size + Vector2.new(1, 1)
  3178. Drawing.Position = Main.Position + Vector2.new(5, (Drawings - 1) * 14)
  3179. if Main_Text then
  3180. Drawing.Color = Color3.fromRGB(0,235,0)
  3181. Drawing.Center = true
  3182. Drawing.Position = Main.Position + Vector2.new(Main.Size.X / 2, 3)
  3183. end
  3184. if Tabulated then
  3185. Drawing.Position = Main.Position + Vector2.new(20, (Drawings - 1) * 14)
  3186. end
  3187. return Drawing
  3188. end
  3189.  
  3190. function InventoryViewer:Update()
  3191. InventoryViewer.Main.Visible = true
  3192. InventoryViewer.Border.Visible = true
  3193. self.Size = Vector2.new(300, 14)
  3194. local DroppedItems = Workspace:FindFirstChild("DroppedItems")
  3195. local Scan, Containers, _Players, _DeadBodys = {}, table.find(library.flags["inventoryscannerInventoryToScan"], "Containers") , table.find(library.flags["inventoryscannerInventoryToScan"], "Players"), table.find(library.flags["inventoryscannerInventoryToScan"], "Dead Bodys")
  3196. if Containers then
  3197. for i, v in pairs(Workspace.Containers:GetChildren()) do
  3198. if v:IsA("Model") and v:FindFirstChild("Inventory") then
  3199. table.insert(Scan, v)
  3200. end
  3201. end
  3202. end
  3203. if _Players then
  3204. for i, v in pairs(plrs:GetPlayers()) do
  3205. if v ~= plr and v.Character and v.Character:FindFirstChild("HumanoidRootPart") and v.Character:FindFirstChildOfClass("Humanoid") then
  3206. table.insert(Scan, v.Character)
  3207. end
  3208. end
  3209. end
  3210. if _DeadBodys then
  3211. for i, v in pairs(Workspace.DroppedItems:GetChildren()) do
  3212. if v:IsA("Model") and v:FindFirstChild("Inventory") then
  3213. table.insert(Scan, v)
  3214. end
  3215. end
  3216. end
  3217. local DroppedItemsEnabled2 = false
  3218. local Target, lowMagnitude = nil, Camera.ViewportSize.X / 2
  3219. for i, v in pairs(Scan) do
  3220. local PrimaryPart = v.PrimaryPart
  3221. if PrimaryPart then
  3222. local Vector, onScreen = Camera:WorldToViewportPoint(PrimaryPart.Position)
  3223. if onScreen then
  3224. local Magnitude = (Camera.ViewportSize / 2 - Framework:V3_To_V2(Vector)).Magnitude
  3225. if Magnitude <= lowMagnitude then
  3226. lowMagnitude = Magnitude
  3227. Target = v
  3228. end
  3229. end
  3230. end
  3231. end
  3232. if not Target then
  3233. InventoryViewer.Main.Visible = false
  3234. InventoryViewer.Border.Visible = false
  3235. self:Clear()
  3236. wait(library.flags["inventoryscannerUpdateRate"])
  3237. return
  3238. end
  3239. local MainText = nil
  3240. local Humanoid = Target:FindFirstChildOfClass("Humanoid")
  3241. self:Clear()
  3242. local TotalRubleValue = 0
  3243. if repStorage.Players:FindFirstChild(Target.Name) and Humanoid.Health > 0 then
  3244. MainText = self:AddText(Target.Name, false, true)
  3245. else
  3246. MainText = self:AddText(Target.Name .. "Dead Body", false, true)
  3247. end
  3248. self:AddText("", false, false)
  3249. Scan = {}
  3250. local Maximal_X = 0
  3251. if Humanoid then
  3252. local Folder = repStorage.Players:FindFirstChild(Target.Name)
  3253. if Folder then
  3254. table.insert(Scan, Folder.Inventory)
  3255. table.insert(Scan, Folder.Clothing)
  3256. DroppedItemsEnabled2 = false
  3257. else
  3258. local Folder = ws.DroppedItems:FindFirstChild(Target.Name)
  3259. if Folder then
  3260. table.insert(Scan, Folder.Inventory)
  3261. table.insert(Scan, Folder.Clothing)
  3262. DroppedItemsEnabled2 = true
  3263. end
  3264. end
  3265. for i, v in pairs(Scan) do
  3266. local Name = v.Name
  3267. if Name == "Inventory" then
  3268. for _, Item in pairs(v:GetChildren()) do
  3269. local ItemProperties = Item:FindFirstChild("ItemProperties")
  3270. if ItemProperties then
  3271. local ammoString = ""
  3272. local isGun = false
  3273. local ItemType = ItemProperties:GetAttribute("ItemType")
  3274. if ItemType and ItemType == "RangedWeapon" then
  3275. isGun = true
  3276. local Attachments = Item:FindFirstChild("Attachments")
  3277. if Attachments then
  3278. local Magazine = Attachments:FindFirstChild("Magazine")
  3279. if Magazine then
  3280. Magazine = Magazine:FindFirstChildOfClass("StringValue")
  3281. if Magazine then
  3282. local MagazineProperties = Magazine:FindFirstChild("ItemProperties")
  3283. if MagazineProperties then
  3284. local LoadedAmmo = MagazineProperties:FindFirstChild("LoadedAmmo")
  3285. if LoadedAmmo then
  3286. for _, Slot in pairs(LoadedAmmo:GetChildren()) do
  3287. local Amount = Slot:GetAttribute("Amount")
  3288. if tonumber(Amount) > 0 then
  3289. ammoString = ammoString .. Amount
  3290. end
  3291. end
  3292. end
  3293. end
  3294. end
  3295. end
  3296. end
  3297. end
  3298. if ammoString == "" and isGun == false then
  3299. self:AddText(Item.Name)
  3300. elseif ammoString == "" then
  3301. local HotbarDrawing = self:AddText(Item.Name .. " [OUT OF AMMO]")
  3302. local textBoundsX = HotbarDrawing.TextBounds.X
  3303. if textBoundsX > Maximal_X then
  3304. Maximal_X = textBoundsX
  3305. end
  3306. if Maximal_X > self.Size.X then
  3307. self.Size = Vector2.new(Maximal_X + 10, self.Main.Size.Y)
  3308. self.Main.Size = self.Size
  3309. MainText.Position = self.Main.Position + Vector2.new(self.Main.Size.X / 2, 0)
  3310. end
  3311. else
  3312. ammoString = ammoString:sub(0, ammoString:len() - 2)
  3313. local HotbarDrawing = self:AddText(Item.Name .. " ["..ammoString.."]")
  3314. local textBoundsX = HotbarDrawing.TextBounds.X
  3315. if textBoundsX > Maximal_X then
  3316. Maximal_X = textBoundsX
  3317. end
  3318. if Maximal_X > self.Size.X then
  3319. self.Size = Vector2.new(Maximal_X + 10, self.Main.Size.Y)
  3320. self.Main.Size = self.Size
  3321. MainText.Position = self.Main.Position + Vector2.new(self.Main.Size.X / 2, 0)
  3322. end
  3323. end
  3324. else
  3325. self:AddText(Item.Name)
  3326. end
  3327. end
  3328. self:AddText("", false, false)
  3329.  
  3330. elseif Name == "Clothing" then
  3331. for _, Clothing in pairs(v:GetChildren()) do
  3332. -- Clothing
  3333. local Attachments = Clothing:FindFirstChild("Attachments")
  3334. local attachmentString = ""
  3335. if Attachments then
  3336. for _, Slot in pairs(Attachments:GetChildren()) do
  3337. local Attachment = Slot:FindFirstChildOfClass("StringValue")
  3338. if Attachment then
  3339. attachmentString = attachmentString .. Attachment.Name .. "; "
  3340. end
  3341. end
  3342. end
  3343. attachmentString = attachmentString:sub(0, attachmentString:len() - 2)
  3344. if attachmentString == "" then
  3345. local ClothingDrawing = self:AddText(Clothing.Name)
  3346. ClothingDrawing.Color = Color3.fromRGB(255, 153, 51)
  3347. else
  3348. local ClothingDrawing = self:AddText(Clothing.Name .. " [".. attachmentString .."]")
  3349. ClothingDrawing.Color = Color3.fromRGB(255, 153, 51)
  3350. local textBoundsX = ClothingDrawing.TextBounds.X
  3351. if textBoundsX > Maximal_X then
  3352. Maximal_X = textBoundsX
  3353. end
  3354. if Maximal_X > self.Size.X then
  3355. self.Size = Vector2.new(Maximal_X + 10, self.Main.Size.Y)
  3356. self.Main.Size = self.Size
  3357. MainText.Position = self.Main.Position + Vector2.new(self.Main.Size.X / 2, 0)
  3358. end
  3359. end
  3360.  
  3361. -- Clothing Inventory
  3362. local Inventory = Clothing:FindFirstChild("Inventory")
  3363. if Inventory then
  3364. for _, Item in pairs(Inventory:GetChildren()) do
  3365. local ItemProperties = Item:FindFirstChild("ItemProperties")
  3366.  
  3367. if ItemProperties then
  3368. local Amount = ItemProperties:GetAttribute("Amount")
  3369. if Amount then
  3370. if Amount > 1 then
  3371. if Item.Name == "Rubles" then
  3372. local RublesDrawing = self:AddText(Item.Name .. " [" .. tostring(Amount) .. "]", true)
  3373. RublesDrawing.Color = Color3.fromRGB(0, 255, 0)
  3374. else
  3375. self:AddText(Item.Name .. " [" .. tostring(Amount) .. "]", true)
  3376. end
  3377. else
  3378. self:AddText(Item.Name, true)
  3379. end
  3380. else
  3381. self:AddText(Item.Name, true)
  3382. end
  3383. else
  3384. self:AddText(Item.Name, true)
  3385. end
  3386. end
  3387. end
  3388. end
  3389. end
  3390. end
  3391. else
  3392. local Inventory = Target:FindFirstChild("Inventory")
  3393. if Inventory then
  3394. for _, Item in pairs(Inventory:GetChildren()) do
  3395. local ItemProperties = Item:FindFirstChild("ItemProperties")
  3396. if ItemProperties then
  3397. local Amount = ItemProperties:GetAttribute("Amount")
  3398. if Amount then
  3399. if Amount > 1 then
  3400. self:AddText(Item.Name .. " [" .. tostring(Amount) .. "]")
  3401. else
  3402. self:AddText(Item.Name)
  3403. end
  3404. else
  3405. self:AddText(Item.Name)
  3406. end
  3407. else
  3408. self:AddText(Item.Name)
  3409. end
  3410. end
  3411. end
  3412. end
  3413. end
  3414.  
  3415. InventoryViewer.__index = InventoryViewer
  3416. local InventoryViewerToggle = false
  3417. local invViewer, canUpdate = nil, true
  3418.  
  3419. local InventoryViewerToggleBtn = Sections.Visuals.InventoryScanner:Toggle{
  3420. Name = "Enabled",
  3421. Flag = "inventoryscannerEnabled",
  3422. Tooltip = "View players, deadbodys or containers inventorys.",
  3423. Tooltipplace = "Right"
  3424. }
  3425. InventoryViewerToggleBtn:Keybind{
  3426. Default = Enum.KeyCode.Y,
  3427. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  3428. Flag = "inventoryscannerKeybind",
  3429. Mode = "nill", -- mode to nil if u dont want it to toggle the toggle
  3430. Callback = function(key, fromsetting)
  3431. if not fromsetting and not Typing then
  3432. InventoryViewerToggle = not InventoryViewerToggle
  3433. if InventoryViewerToggle and library.flags["inventoryscannerEnabled"] then
  3434. if invViewer ~= nil then
  3435. invViewer:Disconnect()
  3436. end
  3437. invViewer = rs.Heartbeat:Connect(function()
  3438. if Running and Alive(plr) then
  3439. if not canUpdate then return end
  3440. canUpdate = false
  3441. InventoryViewer:Update()
  3442. wait(library.flags["inventoryscannerUpdateRate"])
  3443. canUpdate = true
  3444. end
  3445. end)
  3446. InventoryViewer.Main.Visible = true
  3447. InventoryViewer.Border.Visible = true
  3448. else
  3449. if invViewer ~= nil then
  3450. invViewer:Disconnect()
  3451. end
  3452. for i, v in pairs(InventoryViewer.Texts) do
  3453. v:Remove()
  3454. InventoryViewer.Texts[i] = nil
  3455. InventoryViewer.Main.Size = InventoryViewer.Size
  3456. end
  3457.  
  3458. InventoryViewer.Main.Visible = false
  3459. InventoryViewer.Border.Visible = false
  3460. end
  3461. end
  3462. end
  3463. }
  3464. Sections.Visuals.InventoryScanner:Slider{
  3465. Name = "Update Rate",
  3466. Text = "[value] s",
  3467. Default = 1,
  3468. Min = 0,
  3469. Max = 3,
  3470. Float = 0.01,
  3471. Flag = "inventoryscannerUpdateRate",
  3472. Callback = function(value)
  3473.  
  3474. end
  3475. }
  3476. Sections.Visuals.InventoryScanner:Slider{
  3477. Name = "Frame X Pos",
  3478. Text = "X Position: [value]",
  3479. Default = 100,
  3480. Min = 0,
  3481. Max = Camera.ViewportSize.X - 300,
  3482. Float = 1,
  3483. Flag = "inventoryscannerFrameXPos",
  3484. Callback = function(value)
  3485. InventoryViewer.Main.Position = Vector2.new(value, InventoryViewer.Main.Position.Y)
  3486. InventoryViewer.Border.Position = Vector2.new(value, InventoryViewer.Border.Position.Y)
  3487. end
  3488. }
  3489. Sections.Visuals.InventoryScanner:Slider{
  3490. Name = "Frame Y Pos",
  3491. Text = "Y Position: [value]",
  3492. Default = 100,
  3493. Min = 0,
  3494. Max = Camera.ViewportSize.Y,
  3495. Float = 1,
  3496. Flag = "inventoryscannerFrameYPos",
  3497. Callback = function(value)
  3498. InventoryViewer.Main.Position = Vector2.new(InventoryViewer.Main.Position.X, value)
  3499. InventoryViewer.Border.Position = Vector2.new(InventoryViewer.Border.Position.X, value)
  3500. end
  3501. }
  3502. Sections.Visuals.InventoryScanner:Dropdown{
  3503. Name = "Inventory To Scan",
  3504. Default = {"Players", "Dead Bodys"},
  3505. Max = 3, -- makes it multi
  3506. Content = {
  3507. "Players",
  3508. "Containers",
  3509. "Dead Bodys",
  3510. },
  3511. Flag = "inventoryscannerInventoryToScan",
  3512. Callback = function(option)
  3513.  
  3514. end
  3515. }
  3516.  
  3517.  
  3518. --* Free Camera *--
  3519. Sections.Visuals.FreeCamera:Button{
  3520. Name = "Enabled - Shift + P",
  3521. Callback = function()
  3522. loadstring(game:HttpGet("https://cdn.sourceb.in/bins/6EO5uNsj0k/0"))()
  3523. end
  3524. }
  3525.  
  3526. -- * Lighting * --
  3527. Sections.Misc.Lighting:Dropdown{
  3528. Name = "Sky",
  3529. Default = "Standard",
  3530. Content = {"Standard", "Among Us", "Neptune", "Aesthetic Night", "Redshift"},
  3531. Flag = "skyboxEnabled",
  3532. Callback = function(option)
  3533. for Index, Asset in pairs(SkyBoxes[option]) do
  3534. Sky[Index] = Asset
  3535. end
  3536. end
  3537. }
  3538. Sections.Misc.Lighting:Toggle{
  3539. Name = "Full Bright",
  3540. Flag = "fullbrightEnabled",
  3541. Callback = function(bool)
  3542. if bool then
  3543. lighting.Brightness = 1
  3544. lighting.FogEnd = 1e10
  3545. lighting.ClockTime = 12
  3546. for i, v in pairs(lighting:GetDescendants()) do
  3547. if v:IsA("BloomEffect") or v:IsA("BlurEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("SunRaysEffect") then
  3548. v.Enabled = false
  3549. end
  3550. end
  3551. else
  3552. lighting.Brightness = Old_Lighting.Brightness
  3553. lighting.FogEnd = Old_Lighting.FogEnd
  3554. lighting.ClockTime = Old_Lighting.ClockTime
  3555. end
  3556. end
  3557. }
  3558. local AmbientLighting = Sections.Misc.Lighting:Toggle{
  3559. Name = "Ambient",
  3560. Flag = "ambientlightingEnabled",
  3561. Callback = function(bool)
  3562. if bool then
  3563. lighting.Ambient = library.flags["ambientlightingColor"]
  3564. else
  3565. lighting.Ambient = Old_Lighting.Ambient
  3566. end
  3567. end
  3568. }
  3569. AmbientLighting:ColorPicker{
  3570. Default = Color3.fromRGB(255, 255, 255),
  3571. Flag = "ambientlightingColor",
  3572. Callback = function(value)
  3573. if library.flags["ambientlightingColor"] then
  3574. lighting.Brightness = value
  3575. end
  3576. end
  3577. }
  3578. Sections.Misc.Lighting:Slider{
  3579. Name = "Brightness",
  3580. Text = "[value]/10",
  3581. Default = 3,
  3582. Min = 1,
  3583. Max = 10,
  3584. Float = 0.1,
  3585. Flag = "brightnessValue",
  3586. Callback = function(value)
  3587. lighting.Brightness = value
  3588. end
  3589. }
  3590.  
  3591. -- * Removals * --
  3592. Sections.Misc.Removals:Button{
  3593. Name = "Name Above Head",
  3594. Callback = function()
  3595. if Alive(plr) then
  3596. if plr:FindFirstChild("Head") then
  3597. if plr.Head:FindFirstChild("PlayerTag") then
  3598. plr.Head.PlayerTag:Destroy()
  3599. Library:SendNotification(("Player tag removed"), 5, Color3.fromRGB(255, 255, 255))
  3600. end
  3601. end
  3602. end
  3603. Library:SendNotification(("Failed to remove player tag"), 5, Color3.fromRGB(255, 255, 255))
  3604. end
  3605. }
  3606. local dwLandMines = ws.AiZones:FindFirstChild("OutpostLandmines")
  3607. if dwLandMines then
  3608. Sections.Misc.Removals:Toggle{
  3609. Name = "Land Mines",
  3610. Flag = "removeLandMines",
  3611. Callback = function()
  3612. for i, v in pairs(ws.AiZones.OutpostLandmines:GetChildren()) do
  3613. v:Destroy()
  3614. end
  3615. end
  3616. }
  3617. ws.AiZones.OutpostLandmines.ChildAdded:Connect(function(child)
  3618. if library.flags["removeLandMines"] then
  3619. child:Destroy()
  3620. end
  3621. end)
  3622. end
  3623. Sections.Misc.Removals:Toggle{
  3624. Name = "Strip Name From Chat",
  3625. Flag = "removeKilledBy",
  3626. Tooltip = "Only works client side.",
  3627. Tooltipplace = "Right"
  3628. }
  3629. Sections.Misc.Removals:Toggle{
  3630. Name = "Ambient Sounds",
  3631. Flag = "noambientsoundsEnabled",
  3632. Callback = function(bool)
  3633. for i, v in pairs(ws.AmbientSounds:GetDescendants()) do
  3634. if v:IsA("Sound") then
  3635. if bool then
  3636. v.Volume = 0
  3637. else
  3638. v.Volume = 2
  3639. end
  3640. end
  3641. end
  3642. end
  3643. }
  3644. Sections.Misc.Removals:Toggle{
  3645. Name = "Anti Drown",
  3646. Flag = "antidrownEnabled",
  3647. Callback = function(bool)
  3648.  
  3649. end
  3650. }
  3651. Sections.Misc.Removals:Toggle{
  3652. Name = "Camera Bob",
  3653. Flag = "nocamerabobEnabled",
  3654. Callback = function(bool)
  3655.  
  3656. end
  3657. }
  3658. local MainGui = plr.PlayerGui:FindFirstChild("MainGui")
  3659. if MainGui then
  3660. local MainFrame = MainGui:FindFirstChild("MainFrame")
  3661. if MainFrame then
  3662. ScreenEffects = MainFrame:FindFirstChild("ScreenEffects")
  3663. Visor = ScreenEffects:FindFirstChild("Visor")
  3664. if Visor then
  3665. Sections.Misc.Removals:Toggle{
  3666. Name = "Visor",
  3667. Flag = "novisorEnabled",
  3668.  
  3669. Callback = function(bool)
  3670. if Visor.Visible and bool then
  3671. Visor.Visible = false
  3672. else
  3673. Visor.Visible = true
  3674. end
  3675. end
  3676. }
  3677. ServiceConnections.VisorConnection = Visor:GetPropertyChangedSignal("Visible"):Connect(function()
  3678. if Running and Alive(plr) then
  3679. if Visor.Visible and library.flags["novisorEnabled"] then
  3680. Visor.Visible = false
  3681. else
  3682. Visor.Visible = true
  3683. end
  3684. end
  3685. end)
  3686. end
  3687. end
  3688. end
  3689. local MainGui = plr.PlayerGui:FindFirstChild("MainGui")
  3690. if MainGui then
  3691. local MainFrame = MainGui:FindFirstChild("MainFrame")
  3692. if MainFrame then
  3693. ScreenEffects = MainFrame:FindFirstChild("ScreenEffects")
  3694. FlashBang = ScreenEffects:FindFirstChild("Flashbang")
  3695. if FlashBang then
  3696. Sections.Misc.Removals:Toggle{
  3697. Name = "Anti Flashbang",
  3698. Flag = "antiflashbangEnabled",
  3699.  
  3700. Callback = function(bool)
  3701. if bool then
  3702. repStorage.SFX.Explosions.Flashbang.Volume = 0
  3703. ScreenEffects.Flashbang.Size = UDim2.new(0, 0, 0, 0)
  3704. else
  3705. repStorage.SFX.Explosions.Flashbang.Volume = 10
  3706. ScreenEffects.Flashbang.Size = UDim2.new(1, 0, 1, 0)
  3707. end
  3708. end
  3709. }
  3710. end
  3711. end
  3712. end
  3713. Sections.Misc.Removals:Toggle{
  3714. Name = "Server Information",
  3715. Flag = "noserverinfoEnabled",
  3716. Callback = function(bool)
  3717. for i,v in pairs(plr.PlayerGui.PerformanceMonitor2:GetChildren()) do
  3718. if v:IsA("TextLabel") then
  3719. v.Visible = not bool
  3720. end
  3721. end
  3722. end
  3723. }
  3724. Sections.Misc.Removals:Separator("World")
  3725. waterBlur = lighting:WaitForChild("WaterBlur")
  3726. Sections.Misc.Removals:Toggle{
  3727. Name = "Water Blur",
  3728. Flag = "nowaterblurEnabled",
  3729. Callback = function(bool)
  3730.  
  3731. end
  3732. }
  3733. Atmosphere = lighting:FindFirstChildOfClass("Atmosphere")
  3734. if Atmosphere then
  3735. Sections.Misc.Removals:Toggle{
  3736. Name = "Atmosphere",
  3737. Flag = "noatmosphereEnabled",
  3738.  
  3739. Callback = function(bool)
  3740. if library.flags["fullbrightEnabled"] then
  3741. Atmosphere.Parent = bool and cgui or lighting
  3742. end
  3743. end
  3744. }
  3745. end
  3746. Sections.Misc.Removals:Toggle{
  3747. Name = "Grass",
  3748. Flag = "nograssEnabled",
  3749. Callback = function(bool)
  3750. sethiddenproperty(Terrain, "Decoration", not bool)
  3751. end
  3752. }
  3753. Clouds = Terrain:FindFirstChildOfClass("Clouds")
  3754. if Clouds then
  3755. Sections.Misc.Removals:Toggle{
  3756. Name = "Clouds",
  3757. Flag = "nocloudsEnabled",
  3758.  
  3759. Callback = function(bool)
  3760. Clouds.Parent = bool and cgui or Terrain
  3761. end
  3762. }
  3763. end
  3764. leafTable = {}
  3765. dwFoliage = ws:FindFirstChild("SpawnerZones")
  3766. if dwFoliage then
  3767. _dwFoliage = ws.SpawnerZones:FindFirstChild("Foliage")
  3768. if _dwFoliage then
  3769. Sections.Misc.Removals:Toggle{
  3770. Name = "Foliage",
  3771. Flag = "nofoliageEnabled",
  3772. Callback = function(bool)
  3773. if bool then
  3774. for i, v in next, ws.SpawnerZones.Foliage:GetDescendants() do
  3775. if v:IsA("MeshPart") and v.TextureID == "" then
  3776. leafTable[i] = {
  3777. Part = v,
  3778. Old = v.Parent
  3779. }
  3780. v.Parent = cgui
  3781. end
  3782. end
  3783. else
  3784. pcall(function()
  3785. for i, v in pairs(leafTable) do
  3786. v.Part.Parent = v.Old
  3787. end
  3788. leafTable = {}
  3789. end)
  3790. end
  3791. end
  3792. }
  3793. ws.SpawnerZones.Foliage.ChildAdded:Connect(function(child)
  3794. if library.flags["nofoliageEnabled"] and child:IsA("MeshPart") and child.TextureID == "" then
  3795. leafTable[#leafTable + 1] = {
  3796. Part = child,
  3797. Old = child.Parent
  3798. }
  3799. child.Parent = cgui
  3800. end
  3801. end)
  3802. end
  3803. end
  3804.  
  3805. --* Misc *--
  3806. Sections.Misc.Misc:Toggle{
  3807. Name = "Kill Message Enabled",
  3808. Flag = "killmessageEnabled",
  3809. Tooltip = "Send a message into chat after killing somone.",
  3810. Tooltipplace = "Right"
  3811. }
  3812. Sections.Misc.Misc:Box{
  3813. Name = "Kill Message",
  3814. Placeholder = "Enter message here",
  3815. Flag = "Kill Message"
  3816. }
  3817. Sections.Misc.Misc:Separator("")
  3818. Sections.Misc.Misc:Toggle{
  3819. Name = "Trash Talk Other Cheaters",
  3820. Flag = "trashtalkEnabled",
  3821. Tooltip = "Send messages into chat to trash talk other found cheaters.",
  3822. Tooltipplace = "Right"
  3823. }
  3824. Sections.Misc.Misc:Box{
  3825. Name = "Trash Talk Message",
  3826. Placeholder = "Enter message here",
  3827. Flag = "trashtalkMessage"
  3828. }
  3829. Sections.Misc.Misc:Slider{
  3830. Name = "Trash Talk Delay",
  3831. Text = "Seconds: [value]/5",
  3832. Default = 0,
  3833. Min = 0,
  3834. Max = 5,
  3835. Float = 1,
  3836. Flag = "trashtalkDelay"
  3837. }
  3838.  
  3839.  
  3840. -- * Local Player Mods * --
  3841. local WalkSpeedKeybindToggledOld = false
  3842. local HipHeightToggled = false
  3843. local gmt = getrawmetatable(game)
  3844. setreadonly(gmt, false)
  3845. local oldindex = gmt.__index
  3846. gmt.__index = newcclosure(function(self,b)
  3847. if b == "HipHeight" and library.flags["hipheightEnabled"] and HipHeightToggled then
  3848. plr.Character.Humanoid.HipHeight = library.flags["hipheightValue"]
  3849. return 2
  3850. end
  3851. if b == "JumpHeight" and library.flags["jumppowerEnabled"] then
  3852. plr.Character.Humanoid.JumpHeight = library.flags["jumppowerValue"]
  3853. return 3.299999952316284
  3854. end
  3855. if b == "WalkSpeed" and library.flags["walkspeedEnabledOld"] and WalkSpeedKeybindToggledOld then
  3856. plr.Character.Humanoid.WalkSpeed = library.flags["walkspeedValueOld"]
  3857. return 16
  3858. end
  3859. if tostring(self) == "Humanoid" then
  3860. if tostring(b) == "FloorMaterial" then
  3861. return Enum.Material.Plastic
  3862. end
  3863. end
  3864.  
  3865. return oldindex(self, b)
  3866. end)
  3867. Sections.Misc.LocalPlayer:Toggle{
  3868. Name = "Bhop",
  3869. Flag = "bhopEnabled"
  3870. }
  3871. local dwJumpPower = Sections.Misc.LocalPlayer:Toggle{
  3872. Name = "Jump Height",
  3873. Flag = "jumppowerEnabled",
  3874. Risky = true,
  3875. Tooltip = "Dont spam otherwise u will be kicked for flying.",
  3876. Tooltipplace = "Left",
  3877. Callback = function(bool)
  3878. if not bool then
  3879. plr.Character.Humanoid.JumpHeight = 3.299999952316284
  3880. end
  3881. end
  3882. }
  3883. dwJumpPower:Slider{
  3884. Text = "Height: [value]/15",
  3885. Default = 0,
  3886. Min = 0,
  3887. Max = 15,
  3888. Float = 1,
  3889. Flag = "jumppowerValue"
  3890. }
  3891. local dwHipHeight = Sections.Misc.LocalPlayer:Toggle{
  3892. Name = "Hip Height",
  3893. Flag = "hipheightEnabled",
  3894. Callback = function(bool)
  3895. if not bool then
  3896. plr.Character.Humanoid.HipHeight = 2
  3897. end
  3898. end
  3899. }
  3900. dwHipHeight:Keybind{
  3901. Default = Enum.KeyCode.L,
  3902. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  3903. Flag = "hipheightKeybinded",
  3904. Mode = "nill", -- mode to nil if u dont want it to toggle the toggle
  3905. Callback = function(key, fromsetting)
  3906. local key = tostring(key):gsub("Enum.KeyCode.", "")
  3907. _HipHeightKeybind = key
  3908.  
  3909. if not fromsetting and not Typing then
  3910. HipHeightToggled = not HipHeightToggled
  3911. if HipHeightToggled and library.flags["hipheightEnabled"] then
  3912. KeybindUI.AddKeybind("Hip Height", _HipHeightKeybind)
  3913.  
  3914. plr.Character.Humanoid.HipHeight = library.flags["hipheightValue"]
  3915. end
  3916. if not HipHeightToggled and library.flags["hipheightEnabled"] then
  3917. KeybindUI.RemoveKeybind("Hip Height")
  3918.  
  3919. plr.Character.Humanoid.HipHeight = 2
  3920. end
  3921. end
  3922. end
  3923. }
  3924. dwHipHeight:Slider{
  3925. Text = "Height: [value]/7.5",
  3926. Default = 2,
  3927. Min = 2,
  3928. Max = 7.5,
  3929. Float = 0.001,
  3930. Flag = "hipheightValue",
  3931. Callback = function(value)
  3932. end
  3933. }
  3934. local dwWalkSpeed = Sections.Misc.LocalPlayer:Toggle{
  3935. Name = "Player Speed",
  3936. Flag = "walkspeedEnabledOld"
  3937. }
  3938. dwWalkSpeed:Keybind{
  3939. Default = Enum.KeyCode.C,
  3940. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  3941. Flag = "walkspeedKeybindOld",
  3942. Mode = "nill", -- mode to nil if u dont want it to toggle the toggle
  3943. Callback = function(key, fromsetting)
  3944. local key = tostring(key):gsub("Enum.KeyCode.", "")
  3945. _WalkspeedKeybind = key
  3946.  
  3947. if not fromsetting and not Typing then
  3948. WalkSpeedKeybindToggledOld = not WalkSpeedKeybindToggledOld
  3949. if WalkSpeedKeybindToggledOld and library.flags["walkspeedEnabledOld"] then
  3950. KeybindUI.AddKeybind("Walk Speed", _WalkspeedKeybind)
  3951. end
  3952. if not WalkSpeedKeybindToggledOld and library.flags["walkspeedEnabledOld"] then
  3953. pcall(function()
  3954. KeybindUI.RemoveKeybind("Walk Speed")
  3955. end)
  3956. plr.Character.Humanoid.WalkSpeed = 16
  3957. end
  3958. end
  3959. end
  3960. }
  3961. dwWalkSpeed:Slider{
  3962. Text = "Speed: [value]/40",
  3963. Default = 18,
  3964. Min = 18,
  3965. Max = 40,
  3966. Float = 0.5,
  3967. Flag = "walkspeedValueOld"
  3968. }
  3969. Sections.Misc.LocalPlayer:Separator("Camera Settings")
  3970. local dwThirdPerson = Sections.Misc.LocalPlayer:Toggle{
  3971. Name = "Third Person",
  3972. Flag = "thirdpersonEnabled"
  3973. }
  3974. dwThirdPerson:Keybind{
  3975. Default = Enum.KeyCode.C,
  3976. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  3977. Flag = "thirdpersonKeybind",
  3978. Mode = "nill",
  3979. Callback = function(key, fromsetting)
  3980. local key = tostring(key):gsub("Enum.KeyCode.", "")
  3981. _ThirdPersonKeybind = key
  3982.  
  3983. if not fromsetting and not Typing then
  3984. ThirdPersonKeybindToggled = not ThirdPersonKeybindToggled
  3985. if ThirdPersonKeybindToggled and library.flags["thirdpersonEnabled"] then
  3986. KeybindUI.AddKeybind("Third Person", _ThirdPersonKeybind)
  3987. end
  3988. if not ThirdPersonKeybindToggled and library.flags["thirdpersonEnabled"] then
  3989. KeybindUI.RemoveKeybind("Third Person")
  3990. end
  3991. end
  3992. end
  3993. }
  3994. dwThirdPerson:Slider{
  3995. Text = "Distance: [value]/20",
  3996. Default = 0,
  3997. Min = 0,
  3998. Max = 20,
  3999. Float = 0.01,
  4000. Flag = "thirdpersonValue"
  4001. }
  4002. local FovZoomEnabled = false
  4003. local dwFOVZoom = Sections.Misc.LocalPlayer:Toggle{
  4004. Name = "Camera FOV Zoom",
  4005. Flag = "cameraFOVZoomEnabled",
  4006. Callback = function(bool)
  4007. if not bool then
  4008. if Camera.FieldOfView ~= Old_FOV then
  4009. Camera.FieldOfView = Old_FOV
  4010. FovZoomEnabled = false
  4011. end
  4012. end
  4013. end
  4014. }
  4015. dwFOVZoom:Keybind{
  4016. Default = Enum.KeyCode.X,
  4017. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  4018. Flag = "cameraFOVZoomKeybind",
  4019. Mode = "nill", -- mode to nil if u dont want it to toggle the toggle
  4020. Callback = function(key, fromsetting)
  4021. local key = tostring(key):gsub("Enum.KeyCode.", "")
  4022. _CameraZoomKeybind = key
  4023.  
  4024. if not fromsetting and not Typing then
  4025. FovZoomEnabled = not FovZoomEnabled
  4026. if library.flags["cameraFOVZoomEnabled"] and FovZoomEnabled then
  4027. KeybindUI.AddKeybind("Camera Zoom", _CameraZoomKeybind)
  4028.  
  4029. Camera.FieldOfView = library.flags["cameraFOVZoomValue"]
  4030. end
  4031. if library.flags["cameraFOVZoomEnabled"] and not FovZoomEnabled then
  4032. KeybindUI.RemoveKeybind("Camera Zoom")
  4033.  
  4034. Camera.FieldOfView = Old_FOV
  4035. end
  4036. end
  4037. end
  4038. }
  4039. dwFOVZoom:Slider{
  4040. Text = "Distance: [value]/120",
  4041. Default = 15,
  4042. Min = 1,
  4043. Max = 120,
  4044. Float = 1,
  4045. Flag = "cameraFOVZoomValue",
  4046. Callback = function(value)
  4047. end
  4048. }
  4049. local dwFOV = Sections.Misc.LocalPlayer:Toggle{
  4050. Name = "Camera FOV",
  4051. Flag = "cameraFOVEnabled",
  4052. Callback = function(bool)
  4053. if not bool then
  4054. Camera.FieldOfView = Old_FOV
  4055. end
  4056. end
  4057. }
  4058. dwFOV:Slider{
  4059. Text = "Distance: [value]/120",
  4060. Default = 90,
  4061. Min = 1,
  4062. Max = 120,
  4063. Float = 1,
  4064. Flag = "cameraFOVValue",
  4065. Callback = function(value)
  4066. if library.flags["cameraFOVEnabled"] then
  4067. Camera.FieldOfView = value
  4068. end
  4069. end
  4070. }
  4071. local FakeLagEnabled = false
  4072. local NetworkClient = game:GetService("NetworkClient")
  4073. local VisualizeLagFolder
  4074. Sections.Misc.LocalPlayer:Separator("Fake Lag")
  4075. local dwVisualizeFakeLag = Sections.Misc.LocalPlayer:Toggle{
  4076. Name = "Visualize Fake Lag",
  4077. Flag = "visualizefakelagEnabled",
  4078. Tooltip = "Spoofs your hitbox location, good against other hackers.",
  4079. Tooltipplace = "Left",
  4080. Callback = function(bool)
  4081. if not bool then
  4082. task.spawn(function()
  4083. wait()
  4084. VisualizeLagFolder:ClearAllChildren()
  4085. end)
  4086. end
  4087. end
  4088. }
  4089. dwVisualizeFakeLag:ColorPicker{
  4090. Default = Color3.fromRGB(255, 255, 255),
  4091. Flag = "visualizefakelagColor",
  4092. Callback = function(color)
  4093.  
  4094. end
  4095. }
  4096. VisualizeLagFolder = Framework:Instance("Folder", {Parent = Camera})
  4097. local dwFakeLag = Sections.Misc.LocalPlayer:Toggle{
  4098. Name = "Fake Lag",
  4099. Flag = "fakelagEnabled",
  4100. Callback = function(bool)
  4101. if not bool then
  4102. task.spawn(function()
  4103. wait()
  4104. NetworkClient:SetOutgoingKBPSLimit(math.huge)
  4105. VisualizeLagFolder:ClearAllChildren()
  4106. end)
  4107. end
  4108. end
  4109. }
  4110. dwFakeLag:Keybind{
  4111. Default = Enum.KeyCode.C,
  4112. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  4113. Flag = "fakelagKeybind",
  4114. Mode = "nill", -- mode to nil if u dont want it to toggle the toggle
  4115. Callback = function(key, fromsetting)
  4116. if not fromsetting and not Typing then
  4117. FakeLagEnabled = not FakeLagEnabled
  4118. end
  4119. end
  4120. }
  4121. dwFakeLag:Slider{
  4122. Text = "Ticks: [value]/100",
  4123. Default = 0,
  4124. Min = 0,
  4125. Max = 100,
  4126. Float = 1,
  4127. Flag = "fakelagLimit",
  4128. Callback = function(value)
  4129. end
  4130. }
  4131. local Tick = 0
  4132. local sec = nil
  4133. sec = tick()
  4134.  
  4135. ServiceConnections.CameraConnection = Camera:GetPropertyChangedSignal("FieldOfView"):Connect(function()
  4136. if Running and Alive(plr) then
  4137. if library.flags["cameraFOVEnabled"] then
  4138. Camera.FieldOfView = library.flags["cameraFOVValue"]
  4139. end
  4140. if library.flags["cameraFOVZoomEnabled"] and FovZoomEnabled then
  4141. Camera.FieldOfView = library.flags["cameraFOVZoomValue"]
  4142. end
  4143. end
  4144. end)
  4145.  
  4146. Sections.Misc.Misc:Separator("LocalPlayer Chams")
  4147.  
  4148. --* LocalPlayer Chams *--
  4149. local LocalPlayerChamsToggle = Sections.Misc.Misc:Toggle{
  4150. Name = "Enabled",
  4151. Flag = "localchamsEnabled"
  4152. }
  4153. LocalPlayerChamsToggle:ColorPicker{
  4154. Default = Color3.fromRGB(255, 255, 255),
  4155. Flag = "localplayerchamsColor"
  4156. }
  4157. LocalPlayerChamsToggle:ColorPicker{
  4158. Default = Color3.fromRGB(0, 255, 255),
  4159. Flag = "localgunchamsColor"
  4160. }
  4161. Sections.Misc.Misc:Dropdown{
  4162. Name = "Player Material",
  4163. Default = "ForceField",
  4164. Content = {"ForceField", "Neon", "SmoothPlastic", "Glass", "Foil"},
  4165. Flag = "localplayerchamsMaterial"
  4166. }
  4167. Sections.Misc.Misc:Dropdown{
  4168. Name = "Gun Material",
  4169. Default = "ForceField",
  4170. Content = {"ForceField", "Neon", "SmoothPlastic", "Glass", "Foil"},
  4171. Flag = "localgunchamsMaterial"
  4172. }
  4173.  
  4174. --* ESP Functions *--
  4175. esp.NewDrawing = function(type, properties)
  4176. local newD = Drawing.new(type)
  4177. for i,v in next, properties or {} do
  4178. local s,e = pcall(function()
  4179. newD[i] = v
  4180. end)
  4181.  
  4182. if not s then
  4183. warn(e)
  4184. end
  4185. end
  4186. return newD
  4187. end
  4188. esp.HasCharacter = function(v)
  4189. local pass = false
  4190. if v.Character and v.Character:FindFirstChild("Humanoid") and v.Character:FindFirstChild("HumanoidRootPart") and v.Character:FindFirstChild("Head") then
  4191. pass = true
  4192. end
  4193.  
  4194. if s then return pass; end; return pass;
  4195. end
  4196. esp.NewPlayer = function(v)
  4197. esp.players[v] = {
  4198. name = esp.NewDrawing("Text", {Color = Color3.fromRGB(255, 255, 255), Outline = true, Center = true, Size = 13, Font = 2}),
  4199. boxOutline = esp.NewDrawing("Square", {Color = Color3.fromRGB(0, 255, 0), Thickness = 3}),
  4200. box = esp.NewDrawing("Square", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1, Filled = false}),
  4201. tool = esp.NewDrawing("Text", {Color = Color3.fromRGB(255, 255, 255), Outline = true, Center = true, Size = 13, Font = 2}),
  4202. healthBarOutline = esp.NewDrawing("Line", {Color = Color3.fromRGB(0, 0, 0), Thickness = 3}),
  4203. healthBar = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  4204. healthText = esp.NewDrawing("Text", {Color = Color3.fromRGB(255, 255, 255), Outline = true, Center = true, Size = 13, Font = 2}),
  4205. distance = esp.NewDrawing("Text", {Color = Color3.fromRGB(255, 255, 255), Outline = true, Center = true, Size = 13, Font = 2}),
  4206. viewAngle = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  4207. tracers = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  4208. chams = Instance.new("Highlight"),
  4209. offscreenarrows = {
  4210. Arrows = esp.NewDrawing("Triangle", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  4211. TextName = esp.NewDrawing("Text", {Color = Color3.fromRGB(255, 255, 255), Outline = true, Center = true, Size = 13, Font = 2}),
  4212. TextDistance = esp.NewDrawing("Text", {Color = Color3.fromRGB(255, 255, 255), Outline = true, Center = true, Size = 13, Font = 2}),
  4213. HealthBarOutline = esp.NewDrawing("Line", {Color = Color3.fromRGB(0, 0, 0), Thickness = 2}),
  4214. HealthBar = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  4215. },
  4216. skeleton = {
  4217. Head = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  4218. LeftHand = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  4219. RightHand = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  4220. LeftLowerArm = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  4221. RightLowerArm = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  4222. LeftUpperArm = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  4223. RightUpperArm = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  4224. LeftFoot = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  4225. LeftLowerLeg = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  4226. UpperTorso = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  4227. LeftUpperLeg = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  4228. RightFoot = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  4229. RightLowerLeg = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  4230. LowerTorso = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  4231. RightUpperLeg = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1})
  4232. }
  4233. }
  4234. end
  4235.  
  4236. --* Rainbow Function *--
  4237. local rcurrent, gcurrent, bcurrent = 255, 0, 0
  4238. local redtime, bluetime2, greentime = true, false, false
  4239.  
  4240. local function ResetRainbow()
  4241. redtime = true
  4242. bluetime2 = false
  4243. greentime = false
  4244. end
  4245.  
  4246. local function getRandomColor()
  4247. local rnum = 0
  4248. local bnum = 0
  4249. local gnum = 0
  4250.  
  4251. if rcurrent == 255 and gcurrent == 0 and bcurrent == 0 then
  4252. ResetRainbow()
  4253. rcurrent = 255
  4254. gcurrent = 0
  4255. bcurrent = 0
  4256. end
  4257.  
  4258. if gcurrent < 255 and not greentime then
  4259. gnum = gcurrent + 15
  4260. gcurrent = gnum
  4261.  
  4262. elseif gcurrent == 255 and rcurrent > 0 and redtime and rcurrent ~= 0 then
  4263. rnum = rcurrent - 15
  4264. rcurrent = rnum
  4265.  
  4266. elseif bcurrent < 255 and gcurrent == 255 and rcurrent == 0 and not bluetime2 then
  4267. bnum = bcurrent + 15
  4268. bcurrent = bnum
  4269.  
  4270. elseif gcurrent > 0 and gcurrent ~= 0 and bcurrent == 255 and rcurrent == 0 and not bluetime2 then
  4271. greentime = true
  4272. gnum = gcurrent - 15
  4273. gcurrent = gnum
  4274.  
  4275. elseif bcurrent == 255 and gcurrent == 0 and rcurrent < 255 then
  4276. redtime = false
  4277. rnum = rcurrent + 15
  4278. rcurrent = rnum
  4279.  
  4280. elseif bcurrent > 0 and bcurrent ~= 0 and gcurrent == 0 and rcurrent == 255 then
  4281. bluetime2 = true
  4282. bnum = bcurrent - 15
  4283. bcurrent = bnum
  4284. end
  4285. return Color3.fromRGB(rcurrent, gcurrent, bcurrent)
  4286. end
  4287.  
  4288. local rainbowespmode = Sections.Visuals.RainbowSettings:Toggle{
  4289. Name = "Rainbow Mode",
  4290. Flag = "rainbowmodeEnabled",
  4291. Callback = function(bool)
  4292. esp.rainbowmode = bool
  4293. end
  4294. }
  4295. rainbowespmode:Slider{
  4296. Text = "[value] ms",
  4297. Default = 0,
  4298. Min = 0,
  4299. Max = 0.25,
  4300. Float = 0.0001,
  4301. Flag = "rainbowmodeSpeed",
  4302. Callback = function(value)
  4303. end
  4304. }
  4305. Sections.Visuals.RainbowSettings:Toggle{
  4306. Name = "Local Chams",
  4307. Flag = "rainbowlocalchamsEnabled"
  4308. }
  4309.  
  4310. Sections.Visuals.RainbowSettings:Toggle{
  4311. Name = "ESP",
  4312. Flag = "rainbowallespEnabled"
  4313. }
  4314. task.spawn(function()
  4315. while wait(library.flags["rainbowmodeSpeed"]) do
  4316. if Running and Alive(plr) then
  4317. --* Rainbow Mode *--
  4318. if esp.rainbowmode then
  4319. local rand = getRandomColor()
  4320. esp.rainbowcolor = rand
  4321. for i,v in pairs(esp.players) do
  4322. if library.flags["rainbowallespEnabled"] then
  4323. library.flags["espnameColor"] = esp.rainbowcolor
  4324. library.flags["espboxColor"] = esp.rainbowcolor
  4325. library.flags["esptoolColor"] = esp.rainbowcolor
  4326. library.flags["esphealthtextColor"] = esp.rainbowcolor
  4327. library.flags["espdistanceColor"] = esp.rainbowcolor
  4328. library.flags["espviewangleColor"] = esp.rainbowcolor
  4329. library.flags["esptracersColor"] = esp.rainbowcolor
  4330. esp.settings.skeleton.color = esp.rainbowcolor
  4331. end
  4332. if library.flags["rainbowlocalchamsEnabled"] then
  4333. library.flags["localplayerchamsColor"] = esp.rainbowcolor
  4334. end
  4335. end
  4336. end
  4337. end
  4338. end
  4339. end)
  4340.  
  4341. local function calculateVelocity(PlayerToResolve)
  4342. local currentPosition = PlayerToResolve.HumanoidRootPart.Position
  4343. wait(0.1)
  4344. local newPosition = PlayerToResolve.HumanoidRootPart.Position
  4345. local positionDifference = newPosition - currentPosition
  4346.  
  4347. return positionDifference / 0.1
  4348. end
  4349.  
  4350.  
  4351. local ItemList = {
  4352. GoldenDV2 = "GoldenDV2",
  4353. DV2 = "DV2",
  4354. AnarchyTomahawk = "AnarchyTomahawk",
  4355. PlasmaNinjato = "PlasmaNinjato",
  4356.  
  4357. FlareGun = "FlareGun",
  4358. Lighter = "Lighter",
  4359.  
  4360. FuelingStationKey = "FuelingStationKey",
  4361. LighthouseKey = "LighthouseKey",
  4362. VillageKey = "VillageKey",
  4363. CraneKey = "CraneKey",
  4364. FactoryGarageKey = "FactoryGarageKey",
  4365.  
  4366. AA2 = "AA2",
  4367. Rags = "Rags",
  4368. AI2 = "AI2",
  4369. Bandage = "Bandage",
  4370.  
  4371. F1 = "F1",
  4372. RGO = "RGO",
  4373. RGD5 = "RGD5",
  4374. M84 = "M84",
  4375.  
  4376. ResKola = "ResKola",
  4377. CatfrogSoda = "CatfrogSoda",
  4378. BloxyCola = "BloxyCola",
  4379. Beans = "Beans",
  4380. MaxEnergy = "MaxEnergy"
  4381. }
  4382. local WeaponList = {
  4383. Mosin = "Mosin",
  4384. SVD = "SVD",
  4385.  
  4386. AsVal = "AsVal",
  4387. AKMN = "AKMN",
  4388. M4 = "M4",
  4389. AKM = "AKM",
  4390.  
  4391. PPSH41 = "PPSH41",
  4392. MP5SD = "MP5SD",
  4393. VZ61 = "VZ61",
  4394.  
  4395. Makarov = "Makarov",
  4396. TFZ0 = "TFZ0",
  4397. MP443 = "MP443",
  4398. TT33 = "TT33",
  4399.  
  4400. IZh81 = "IZh81"
  4401. }
  4402.  
  4403. ServiceConnections.RenderSteppedConnection = rs.RenderStepped:Connect(function()
  4404. if Running and Alive(plr) then
  4405. updateTick = updateTick + 1
  4406.  
  4407. if updateTick >= 2 then
  4408. updateTick = 0
  4409.  
  4410. --* Random Aimbot HitPart *--
  4411. if library.flags["aimbotrandomhitpartEnabled"] then
  4412. Environment.Settings.LockPart = tostring(dwHitBoxParts[math.random(1, #dwHitBoxParts)])
  4413. end
  4414.  
  4415. if Environment.Locked ~= nil then
  4416. local PlayerToResolve = nil
  4417.  
  4418. if not Environment.Settings.AILocked then
  4419. PlayerToResolve = Environment.Locked.Character
  4420. else
  4421. PlayerToResolve = Environment.Locked
  4422. end
  4423.  
  4424. if PlayerToResolve ~= nil then
  4425. if PlayerToResolve:FindFirstChild("Head") and PlayerToResolve:FindFirstChild("UpperTorso") then
  4426. if math.floor(PlayerToResolve.Head.Position.Y) < math.floor(PlayerToResolve.UpperTorso.Position.Y) then
  4427. Environment.Settings.LockPart = "UpperTorso"
  4428. end
  4429. end
  4430. end
  4431. end
  4432.  
  4433. --* Resolver *--
  4434. if library.flags["resolverEnabled"] then
  4435. if Environment.Locked ~= nil then
  4436. local PlayerToResolve = nil
  4437.  
  4438. if not Environment.Settings.AILocked then
  4439. PlayerToResolve = Environment.Locked.Character
  4440. end
  4441. if PlayerToResolve ~= nil then
  4442. PlayersEstimatedVelocity = calculateVelocity(PlayerToResolve)
  4443. end
  4444. end
  4445. end
  4446.  
  4447. --* Watermark *--
  4448. local fps
  4449. if game:GetService("Players")[tostring(plr.Name)]:FindFirstChild("PlayerGui") then
  4450. if game:GetService("Players")[tostring(plr.Name)].PlayerGui:FindFirstChild("PerformanceMonitor2") then
  4451. if game:GetService("Players")[tostring(plr.Name)].PlayerGui.PerformanceMonitor2:FindFirstChild("TextLabel2") then
  4452. fps = tostring(game:GetService("Players")[tostring(plr.Name)].PlayerGui.PerformanceMonitor2.TextLabel2.Text)
  4453. fps = fps:gsub("Client FPS: ", "")
  4454. fps = tonumber(fps)
  4455. fps = math.floor(fps)
  4456. end
  4457. end
  4458. end
  4459.  
  4460. local ping = tonumber(game:GetService("Stats"):FindFirstChild("PerformanceStats").Ping:GetValue())
  4461. ping = math.floor(ping)
  4462. watermark:Set("1NF1N17Y | " .. fps .. " fps | " .. ping .. "ms | " .. script_version_number .. " | Private")
  4463.  
  4464. --* Local Player Mods *--
  4465. local humanoid = plr.Character:FindFirstChildOfClass("Humanoid")
  4466. if humanoid then
  4467. if library.flags["bhopEnabled"] then
  4468. for _, connectTable in pairs({
  4469. getconnections(humanoid.StateChanged);
  4470. getconnections(humanoid:GetPropertyChangedSignal("JumpHeight"))
  4471. }) do
  4472. for _, event in pairs(connectTable) do
  4473. event:Disable()
  4474. end
  4475. end
  4476. end
  4477.  
  4478. if library.flags["jumppowerEnabled"] then
  4479. for _, connectTable in pairs({
  4480. getconnections(humanoid.StateChanged);
  4481. getconnections(humanoid:GetPropertyChangedSignal("JumpHeight"))
  4482. }) do
  4483. for _, event in pairs(connectTable) do
  4484. event:Disable()
  4485. end
  4486. end
  4487. plr.Character.Humanoid.JumpHeight = library.flags["jumppowerValue"]
  4488. end
  4489.  
  4490. -- if WalkSpeedKeybindToggledOld and library.flags["walkspeedEnabledOld"] then
  4491. -- for _, connectTable in pairs({
  4492. -- getconnections(humanoid.StateChanged);
  4493. -- getconnections(humanoid:GetPropertyChangedSignal("WalkSpeed"))
  4494. -- }) do
  4495. -- for _, event in pairs(connectTable) do
  4496. -- event:Disable()
  4497. -- end
  4498. -- end
  4499. -- end
  4500.  
  4501. if not library.flags["jumppowerEnabled"] and not library.flags["bhopEnabled"] then
  4502. for _, connectTable in pairs({
  4503. getconnections(humanoid.StateChanged);
  4504. getconnections(humanoid:GetPropertyChangedSignal("JumpHeight"))
  4505. }) do
  4506. for _, event in pairs(connectTable) do
  4507. event:Enable()
  4508. end
  4509. end
  4510. end
  4511.  
  4512. -- if not WalkSpeedKeybindToggledOld and library.flags["walkspeedEnabledOld"] then
  4513. -- for _, connectTable in pairs({
  4514. -- getconnections(humanoid.StateChanged);
  4515. -- getconnections(humanoid:GetPropertyChangedSignal("WalkSpeed"))
  4516. -- }) do
  4517. -- for _, event in pairs(connectTable) do
  4518. -- event:Enable()
  4519. -- end
  4520. -- end
  4521. -- end
  4522. end
  4523.  
  4524. if Environment.Settings.Enabled then
  4525. GetClosestPlayer() -- Only have to call this function once since Environment.Locked holds the closest player
  4526.  
  4527. --* FOV Circle *--
  4528. if Environment.FOVSettings.Enabled then
  4529. Environment.FOVCircle.Radius = Environment.FOVSettings.Amount
  4530. Environment.FOVCircle.Thickness = Environment.FOVSettings.Thickness
  4531. Environment.FOVCircle.Filled = Environment.FOVSettings.Filled
  4532. Environment.FOVCircle.NumSides = Environment.FOVSettings.Sides
  4533. Environment.FOVCircle.Color = GetColor(Environment.FOVSettings.Color)
  4534. Environment.FOVCircle.Transparency = Environment.FOVSettings.Transparency
  4535. Environment.FOVCircle.Visible = Environment.FOVSettings.Visible
  4536. Environment.FOVCircle.Position = Vector2.new(uis:GetMouseLocation().X, uis:GetMouseLocation().Y)
  4537.  
  4538. Environment.FOVCircleOutline1.Radius = Environment.FOVSettings.Amount + Environment.FOVSettings.Thickness
  4539. Environment.FOVCircleOutline1.Thickness = Environment.FOVSettings.Thickness
  4540. Environment.FOVCircleOutline1.Filled = Environment.FOVSettings.Filled
  4541. Environment.FOVCircleOutline1.NumSides = Environment.FOVSettings.Sides
  4542. Environment.FOVCircleOutline1.Color = Color3.fromRGB(0, 0, 0)
  4543. Environment.FOVCircleOutline1.Transparency = Environment.FOVSettings.Transparency
  4544. Environment.FOVCircleOutline1.Visible = Environment.FOVSettings.Visible
  4545. Environment.FOVCircleOutline1.Position = Vector2.new(uis:GetMouseLocation().X, uis:GetMouseLocation().Y)
  4546.  
  4547. Environment.FOVCircleOutline2.Radius = Environment.FOVSettings.Amount - Environment.FOVSettings.Thickness
  4548. Environment.FOVCircleOutline2.Thickness = Environment.FOVSettings.Thickness
  4549. Environment.FOVCircleOutline2.Filled = Environment.FOVSettings.Filled
  4550. Environment.FOVCircleOutline2.NumSides = Environment.FOVSettings.Sides
  4551. Environment.FOVCircleOutline2.Color = Color3.fromRGB(0, 0, 0)
  4552. Environment.FOVCircleOutline2.Transparency = Environment.FOVSettings.Transparency
  4553. Environment.FOVCircleOutline2.Visible = Environment.FOVSettings.Visible
  4554. Environment.FOVCircleOutline2.Position = Vector2.new(uis:GetMouseLocation().X, uis:GetMouseLocation().Y)
  4555. else
  4556. Environment.FOVCircle.Visible = false
  4557. Environment.FOVCircleOutline1.Visible = false
  4558. Environment.FOVCircleOutline2.Visible = false
  4559. end
  4560.  
  4561. --* Snaplines *--
  4562. if Environment.Settings.SnapLines then
  4563. if Environment.Locked ~= nil then
  4564. local player = Environment.Locked
  4565.  
  4566. if not Environment.Settings.AILocked then
  4567. player = Environment.Locked.Character
  4568. end
  4569.  
  4570. local Vector, OnScreen = Camera:WorldToViewportPoint(player[Environment.Settings.LockPart].Position)
  4571. if OnScreen then
  4572. Environment.SnapLine.Visible = true
  4573. Environment.SnapLine.From = Vector2.new(uis:GetMouseLocation().X, uis:GetMouseLocation().Y)
  4574. Environment.SnapLine.To = Vector2.new(Vector.X, Vector.Y)
  4575. Environment.SnapLine.Color = GetColor(Environment.Settings.SnapLineColor)
  4576. Environment.SnapLine.Thickness = 1
  4577. else
  4578. Environment.SnapLine.Visible = false
  4579. end
  4580. else
  4581. Environment.SnapLine.Visible = false
  4582. end
  4583. else
  4584. Environment.SnapLine.Visible = false
  4585. end
  4586.  
  4587. --* Normal Aimbot *--
  4588. if not Environment.Settings.SilentAimEnabled and IsDown(Enum.UserInputType[Environment.Settings.TriggerKey]) then
  4589. if Environment.Locked ~= nil then
  4590. local Prediction = Vector3.new(0, 0, 0)
  4591. local player = Environment.Locked
  4592.  
  4593. if not Environment.Settings.AILocked then
  4594. player = Environment.Locked.Character
  4595. end
  4596.  
  4597. head = player:FindFirstChild(Environment.Settings.LockPart).Position
  4598. Prediction = PredictionMath(player, head, Prediction)
  4599.  
  4600.  
  4601. if Environment.Settings.Sensitivity > 0 then
  4602. Animation = tweenService:Create(Camera, TweenInfo.new(Environment.Settings.Sensitivity, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {CFrame = CFrame.new(Camera.CFrame.Position, player[Environment.Settings.LockPart].Position + Prediction)})
  4603. Animation:Play()
  4604. else
  4605. Camera.CFrame = CFrame.new(Camera.CFrame.Position, player[Environment.Settings.LockPart].Position + Prediction)
  4606. end
  4607. Environment.FOVCircle.Color = GetColor(Environment.FOVSettings.LockedColor)
  4608. end
  4609. else
  4610. if Animation ~= nil then
  4611. Animation:Cancel()
  4612. end
  4613. Environment.FOVCircle.Color = GetColor(Environment.FOVSettings.Color)
  4614. end
  4615. else
  4616. if Environment.FOVCircle.Visible == true then
  4617. Environment.FOVCircle.Visible = false
  4618. Environment.FOVCircle.Color = GetColor(Environment.FOVSettings.Color)
  4619. end
  4620. if Environment.FOVCircleOutline1.Visible == true then
  4621. Environment.FOVCircleOutline1.Visible = false
  4622. end
  4623. if Environment.FOVCircleOutline2.Visible == true then
  4624. Environment.FOVCircleOutline2.Visible = false
  4625. end
  4626. if Environment.SnapLine.Visible == true then
  4627. Environment.SnapLine.Visible = false
  4628. end
  4629. Environment.Locked = nil
  4630. if Animation ~= nil then
  4631. Animation:Cancel()
  4632. end
  4633. end
  4634.  
  4635. --* LocalPlayer Chams *--
  4636. local dwViewModel = Camera:FindFirstChild("ViewModel")
  4637. if library.flags["localchamsEnabled"] and dwViewModel ~= nil then
  4638. for i,v in pairs(Camera.ViewModel:GetDescendants()) do
  4639. if v.ClassName == "MeshPart" then
  4640. if v.Parent.Name == "WastelandShirt" or v.Parent.Name == "GhillieTorso" or v.Parent.Name == "CivilianPants" or v.Parent.Name == "CamoShirt" or v.Parent.Name == "HandWraps" or v.Parent.Name == "CombatGloves" then
  4641. v.Transparency = 1
  4642. end
  4643. end
  4644. if v.ClassName == "MeshPart" then
  4645. if v.Name == "LeftHand" or v.Name == "LeftLowerArm" or v.Name == "LeftUpperArm" or v.Name == "RightHand" or v.Name == "RightLowerArm" or v.Name == "RightUpperArm" then
  4646. v.Material = (library.flags["localplayerchamsMaterial"])
  4647. v.Color = (library.flags["localplayerchamsColor"])
  4648.  
  4649. if tostring(library.flags["localplayerchamsMaterial"]) == "ForceField" then
  4650. v.TextureID = "rbxassetid://5101923607"
  4651. else
  4652. v.TextureID = ""
  4653. end
  4654. end
  4655. end
  4656. end
  4657. for i,v in pairs(Camera.ViewModel.Item:GetDescendants()) do
  4658. if v.ClassName == "Part" then
  4659. v.Material = (library.flags["localgunchamsMaterial"])
  4660. v.Color = (library.flags["localgunchamsColor"])
  4661. end
  4662. if v.ClassName == "MeshPart" then
  4663. v.Material = (library.flags["localgunchamsMaterial"])
  4664. v.Color = (library.flags["localgunchamsColor"])
  4665.  
  4666. if tostring(library.flags["localgunchamsMaterial"]) == "ForceField" then
  4667. v.TextureID = "rbxassetid://5101923607"
  4668. else
  4669. v.TextureID = ""
  4670. end
  4671. end
  4672. if v:FindFirstChild("SurfaceAppearance") then
  4673. v.SurfaceAppearance:Destroy()
  4674. end
  4675. end
  4676. end
  4677.  
  4678. elseif updateTick == 1 then
  4679.  
  4680. --* No Water Blur *--
  4681. if library.flags["nowaterblurEnabled"] then
  4682. waterBlur.Enabled = false
  4683. end
  4684.  
  4685. --* Get Muzzle Velocity *--
  4686. if Environment.Settings.Prediction and Environment.Settings.Enabled then
  4687. if repStorage.Players[tostring(plr.Name)].Status.GameplayVariables.EquippedTool.Value ~= nil then
  4688. local AbleToPass = false
  4689. for i,v in pairs(WeaponList) do
  4690. if tostring(v) == tostring(repStorage.Players[tostring(plr.Name)].Status.GameplayVariables.EquippedTool.Value) then
  4691. AbleToPass = true
  4692. break
  4693. end
  4694. end
  4695.  
  4696. if AbleToPass then
  4697. if game.Workspace[tostring(plr.Name)]:FindFirstChild("IZh81") or game.Workspace[tostring(plr.Name)]:FindFirstChild("Mosin") then
  4698. local Magazine = repStorage.Players[tostring(game.Players.LocalPlayer)].Inventory[tostring(repStorage.Players[tostring(plr.Name)].Status.GameplayVariables.EquippedTool.Value)].ItemProperties:FindFirstChildOfClass("StringValue")
  4699. if Magazine ~= nil then
  4700. Magazine = Magazine.ItemProperties.LoadedAmmo:FindFirstChildOfClass("Folder")
  4701. if Magazine ~= nil then
  4702. Magazine = Magazine:GetAttribute("AmmoType")
  4703. if Magazine ~= nil then
  4704. MuzzleVelocityValue = repStorage.AmmoTypes[tostring(Magazine)]:GetAttribute("MuzzleVelocity")
  4705. end
  4706. end
  4707. end
  4708. else
  4709. local Magazine = repStorage.Players[tostring(game.Players.LocalPlayer)].Inventory[tostring(repStorage.Players[tostring(plr.Name)].Status.GameplayVariables.EquippedTool.Value)].Attachments.Magazine:FindFirstChildOfClass("StringValue")
  4710. if Magazine ~= nil then
  4711. Magazine = Magazine.ItemProperties.LoadedAmmo:FindFirstChildOfClass("Folder")
  4712. if Magazine ~= nil then
  4713. Magazine = Magazine:GetAttribute("AmmoType")
  4714. if Magazine ~= nil then
  4715. MuzzleVelocityValue = repStorage.AmmoTypes[tostring(Magazine)]:GetAttribute("MuzzleVelocity")
  4716. end
  4717. end
  4718. end
  4719. end
  4720. end
  4721. end
  4722. end
  4723.  
  4724. --* Custom Hit Sounds *--
  4725. if library.flags["hitsoundsEnabled"] then
  4726. if Hit_Found then
  4727. local Hit = Hit_Target
  4728. if Hit.Name:lower():find("head") then
  4729. headSound:Play()
  4730. else
  4731. bodySound:Play()
  4732. end
  4733. Hit_Found = false
  4734. end
  4735. end
  4736.  
  4737. --* Monument ESP *--
  4738. if library.flags["espobjectsEnabled"] then
  4739. if library.flags["espobjectsmonumentsEnabled"] then
  4740. for _, Place in pairs(Monuments) do
  4741. local Vector, OnScreen = Camera:WorldToViewportPoint(Place.Vector)
  4742. local Distance = (Camera.CFrame.p - Place.Vector).Magnitude
  4743. Distance = Framework:Distance_Type_Change(Distance_Type_, Distance)
  4744. Place.Text.Text = tostring(Place.Name) .. " (" .. tostring(Distance) .. "m)"
  4745. Place.Text.Color = library.flags["espobjectsmonumentsColor"]
  4746.  
  4747. if OnScreen and Distance < library.flags["espobjectMaxDistance"] then
  4748. Place.Text.Visible = true
  4749. Place.Text.Position = Vector2.new(Vector.X, Vector.Y)
  4750. else
  4751. Place.Text.Visible = false
  4752. end
  4753. end
  4754. else
  4755. for _, Place in pairs(Monuments) do
  4756. Place.Text.Visible = false
  4757. end
  4758. end
  4759. else
  4760. for _, Place in pairs(Monuments) do
  4761. Place.Text.Visible = false
  4762. end
  4763. end
  4764.  
  4765. --* Fake Lag *--
  4766. if library.flags["fakelagEnabled"] and FakeLagEnabled then
  4767. Tick = Tick + 1
  4768. local Character = plr.Character
  4769. if Character then
  4770. local Head, HumanoidRootPart, Humanoid = Character:FindFirstChild("Head"), Character:FindFirstChild("HumanoidRootPart"), Character:FindFirstChild("Humanoid")
  4771. if Head and HumanoidRootPart and Humanoid and Humanoid.Health > 0 then
  4772. if Tick >= library.flags["fakelagLimit"] then
  4773. Tick = 0
  4774. NetworkClient:SetOutgoingKBPSLimit(math.huge)
  4775. if library.flags["visualizefakelagEnabled"] and FakeLagEnabled then
  4776. VisualizeLagFolder:ClearAllChildren()
  4777. Character.Archivable = true
  4778. local Clone = Character:Clone()
  4779. Character.Archivable = false
  4780. for _, Child in pairs(Clone:GetDescendants()) do
  4781. if Child:IsA("SurfaceAppearance") or Child:IsA("Humanoid") or Child:IsA("BillboardGui") or Child:IsA("Decal") or Child.Name == "HumanoidRootPart" then
  4782. Child:Destroy()
  4783. continue
  4784. end
  4785. if Child:IsA("BasePart") then
  4786. Child.CanCollide = false
  4787. Child.Anchored = true
  4788. Child.Material = Enum.Material.ForceField
  4789. Child.Color = library.flags["visualizefakelagColor"]
  4790. Child.Size = Child.Size + Vector3.new(0.025, 0.025, 0.025)
  4791. end
  4792. end
  4793. Clone.Parent = VisualizeLagFolder
  4794. else
  4795. VisualizeLagFolder:ClearAllChildren()
  4796. end
  4797. else
  4798. NetworkClient:SetOutgoingKBPSLimit(1)
  4799. end
  4800. end
  4801. end
  4802. else
  4803. if VisualizeLagFolder ~= nil then
  4804. VisualizeLagFolder:ClearAllChildren()
  4805. end
  4806. end
  4807.  
  4808. for i,v in pairs(esp.players) do
  4809. if esp.HasCharacter(i) and esp.enabled then
  4810. local hum = i.Character.Humanoid
  4811. local hrp = i.Character.HumanoidRootPart
  4812. local head = i.Character.Head
  4813.  
  4814. local Vector, onScreen = Camera:WorldToViewportPoint(i.Character.HumanoidRootPart.Position)
  4815.  
  4816. local Size = (Camera:WorldToViewportPoint(hrp.Position - Vector3.new(0, 3, 0)).Y - Camera:WorldToViewportPoint(hrp.Position + Vector3.new(0, 2.6, 0)).Y) / 2
  4817. local BoxSize = Vector2.new(math.floor(Size * 1.5), math.floor(Size * 1.9))
  4818. local BoxPos = Vector2.new(math.floor(Vector.X - Size * 1.5 / 2), math.floor(Vector.Y - Size * 1.6 / 2))
  4819.  
  4820. local BottomOffset = BoxSize.Y + BoxPos.Y + 1
  4821. local DistanceFromPlayer = (plr.Character.HumanoidRootPart.Position - hrp.Position).Magnitude
  4822. DistanceFromPlayer = Framework:Distance_Type_Change(Distance_Type_, DistanceFromPlayer)
  4823. local PlayerYPos = math.floor(hrp.Position.Y)
  4824.  
  4825. if esp.enabled and esp.settings.offscreenarrows.enabled and not onScreen and PlayerYPos ~= -362 then
  4826. if DistanceFromPlayer < library.flags["espMaxDistance"] then
  4827. v.offscreenarrows.Arrows.Visible = true
  4828.  
  4829. local Position = Camera.CFrame:PointToObjectSpace(hrp.Position)
  4830. local Angle = math.atan2(Position.Z, Position.X)
  4831. local Direction = Vector2.new(math.cos(Angle), math.sin(Angle))
  4832. local Pos = (Direction * library.flags["espoffscreenarrowsRadius"]) + Camera.ViewportSize / 2
  4833.  
  4834. v.offscreenarrows.Arrows.PointA = Pos
  4835. v.offscreenarrows.Arrows.PointB = Pos - rotateVector2(Direction, math.rad(30)) * 15
  4836. v.offscreenarrows.Arrows.PointC = Pos - rotateVector2(Direction, -math.rad(30)) * 15
  4837.  
  4838. local middle = (v.offscreenarrows.Arrows.PointA + v.offscreenarrows.Arrows.PointB + v.offscreenarrows.Arrows.PointC) / 3
  4839.  
  4840. -- Health Bar
  4841. v.offscreenarrows.HealthBar.From = Vector2.new(middle.X - 20, middle.Y + 20)
  4842. v.offscreenarrows.HealthBar.To = Vector2.new(v.offscreenarrows.HealthBar.From.X, v.offscreenarrows.HealthBar.From.Y - (hum.Health / hum.MaxHealth) * 25)
  4843. v.offscreenarrows.HealthBar.Color = Color3.fromRGB(255 - 255 / (hum["MaxHealth"] / hum["Health"]), 255 / (hum["MaxHealth"] / hum["Health"]), 0)
  4844.  
  4845. v.offscreenarrows.HealthBarOutline.From = Vector2.new(v.offscreenarrows.HealthBar.From.X, middle.Y + 20)
  4846. v.offscreenarrows.HealthBarOutline.To = Vector2.new(v.offscreenarrows.HealthBar.From.X, (v.offscreenarrows.HealthBar.From.Y - 1 * 25) -1)
  4847.  
  4848. -- Name
  4849. v.offscreenarrows.TextName.Position = Vector2.new(middle.X, middle.Y - 25)
  4850. v.offscreenarrows.TextName.Text = i.Name
  4851. v.offscreenarrows.TextName.Color = Color3.fromRGB(255, 255, 255)
  4852.  
  4853. -- Distance
  4854. v.offscreenarrows.TextDistance.Position = Vector2.new(middle.X, middle.Y + 20)
  4855. v.offscreenarrows.TextDistance.Text = DistanceFromPlayer .. "m"
  4856. v.offscreenarrows.TextDistance.Color = Color3.fromRGB(255, 255, 255)
  4857.  
  4858.  
  4859. v.offscreenarrows.TextDistance.Visible = library.flags["espoffscreenarrowsInfoEnabled"]
  4860. v.offscreenarrows.TextName.Visible = library.flags["espoffscreenarrowsInfoEnabled"]
  4861. v.offscreenarrows.HealthBar.Visible = library.flags["espoffscreenarrowsInfoEnabled"]
  4862. v.offscreenarrows.HealthBarOutline.Visible = library.flags["espoffscreenarrowsInfoEnabled"]
  4863.  
  4864. local ray = Ray.new(Camera.CFrame.Position, (hrp.Position - Camera.CFrame.Position).Unit * library.flags["espMaxDistance"])
  4865. local part, position = workspace:FindPartOnRayWithIgnoreList(ray, {plr.Character, Camera})
  4866. if part and part.Parent and part.Parent:FindFirstChild("Humanoid") then
  4867. v.offscreenarrows.Arrows.Color = Color3.fromRGB(0, 255, 0) -- Visible
  4868. else
  4869. v.offscreenarrows.Arrows.Color = Color3.fromRGB(255, 0, 0) -- Not Visible
  4870. end
  4871.  
  4872. else
  4873. v.offscreenarrows.HealthBar.Visible = false
  4874. v.offscreenarrows.HealthBarOutline.Visible = false
  4875.  
  4876. v.offscreenarrows.Arrows.Visible = false
  4877. v.offscreenarrows.TextName.Visible = false
  4878. v.offscreenarrows.TextDistance.Visible = false
  4879. end
  4880. else
  4881. v.offscreenarrows.HealthBar.Visible = false
  4882. v.offscreenarrows.HealthBarOutline.Visible = false
  4883. v.offscreenarrows.Arrows.Visible = false
  4884. v.offscreenarrows.TextName.Visible = false
  4885. v.offscreenarrows.TextDistance.Visible = false
  4886. end
  4887.  
  4888. if onScreen and esp.enabled and DistanceFromPlayer < library.flags["espMaxDistance"] and PlayerYPos ~= -362 then
  4889. if esp.settings.name.enabled then
  4890. v.name.Position = Vector2.new(BoxSize.X / 2 + BoxPos.X, BoxPos.Y - 16)
  4891. v.name.Outline = esp.settings.name.outline
  4892.  
  4893. if plr:GetFriendStatus(i) == Enum.FriendStatus.Friend and library.flags["friendcheckEnabled"] then
  4894. v.name.Color = library.flags["friendcheckColor"]
  4895. elseif Environment.Settings.HighlightTarget == i and library.flags["highlighttargetEnabled"] then
  4896. v.name.Color = library.flags["highlighttargetColor"]
  4897. else
  4898. v.name.Color = library.flags["espnameColor"]
  4899. end
  4900.  
  4901. v.name.Font = esp.font
  4902. v.name.Size = esp.fontsize
  4903.  
  4904. if esp.settings.name.displaynames then
  4905. v.name.Text = tostring(i.DisplayName)
  4906. else
  4907. v.name.Text = tostring(i.Name)
  4908. end
  4909.  
  4910. v.name.Visible = true
  4911. else
  4912. v.name.Visible = false
  4913. end
  4914.  
  4915. if esp.settings.distance.enabled then
  4916. v.distance.Position = Vector2.new(BoxSize.X / 2 + BoxPos.X, BoxPos.Y + BoxSize.Y + 1)
  4917. v.distance.Outline = esp.settings.distance.outline
  4918. v.distance.Text = "[" .. tostring(DistanceFromPlayer) .. "m]"
  4919.  
  4920. if plr:GetFriendStatus(i) == Enum.FriendStatus.Friend and library.flags["friendcheckEnabled"] then
  4921. v.distance.Color = library.flags["friendcheckColor"]
  4922. elseif Environment.Settings.HighlightTarget == i and library.flags["highlighttargetEnabled"] then
  4923. v.distance.Color = library.flags["highlighttargetColor"]
  4924. else
  4925. v.distance.Color = library.flags["espdistanceColor"]
  4926. end
  4927.  
  4928.  
  4929. BottomOffset = BottomOffset + 15
  4930.  
  4931. v.distance.Font = esp.font
  4932. v.distance.Size = esp.fontsize
  4933.  
  4934. v.distance.Visible = true
  4935. else
  4936. v.distance.Visible = false
  4937. end
  4938.  
  4939. if esp.settings.tool.enabled then
  4940. v.tool.Position = Vector2.new((BoxPos.X + BoxSize.X + 20), (BoxPos.Y + BoxSize.Y - 1 * BoxSize.Y) -1)
  4941. v.tool.Outline = esp.settings.tool.outline
  4942.  
  4943. if ReplicatedPlayers:FindFirstChild(i.Name) then
  4944. local Tool = ReplicatedPlayers[i.Name].Status.GameplayVariables.EquippedTool
  4945. local toolObject = Tool.Value
  4946. local FoundTool = toolObject ~= nil and toolObject.Name or "None"
  4947. v.tool.Text = tostring(FoundTool)
  4948.  
  4949. if plr:GetFriendStatus(i) == Enum.FriendStatus.Friend and library.flags["friendcheckEnabled"] then
  4950. v.tool.Color = library.flags["friendcheckColor"]
  4951. elseif Environment.Settings.HighlightTarget == i and library.flags["highlighttargetEnabled"] then
  4952. v.tool.Color = library.flags["highlighttargetColor"]
  4953. else
  4954. v.tool.Color = library.flags["esptoolColor"]
  4955. end
  4956.  
  4957. v.tool.Font = esp.font
  4958. v.tool.Size = esp.fontsize
  4959.  
  4960. v.tool.Visible = true
  4961. end
  4962. else
  4963. v.tool.Visible = false
  4964. end
  4965.  
  4966. if esp.settings.box.enabled then
  4967. BoxSize = BoxSize + Vector2.new(4, 4)
  4968. BoxPos = BoxPos - Vector2.new(2, 2)
  4969. v.boxOutline.Size = BoxSize
  4970. v.boxOutline.Position = BoxPos
  4971. v.boxOutline.Visible = esp.settings.box.outline
  4972. v.boxOutline.Filled = false
  4973. v.boxOutline.Color = library.flags["espboxoutlineColor"]
  4974. v.boxOutline.Thickness = 2
  4975.  
  4976. v.box.Size = BoxSize
  4977. v.box.Position = BoxPos
  4978.  
  4979. if plr:GetFriendStatus(i) == Enum.FriendStatus.Friend and library.flags["friendcheckEnabled"] then
  4980. v.box.Color = library.flags["friendcheckColor"]
  4981. elseif Environment.Settings.HighlightTarget == i and library.flags["highlighttargetEnabled"] then
  4982. v.box.Color = library.flags["highlighttargetColor"]
  4983. else
  4984. v.box.Color = library.flags["espboxColor"]
  4985. end
  4986.  
  4987. v.box.Filled = false
  4988. v.box.Visible = true
  4989. else
  4990. v.boxOutline.Visible = false
  4991. v.box.Visible = false
  4992. end
  4993.  
  4994. if esp.settings.healthbar.enabled then
  4995. v.healthBar.From = Vector2.new((BoxPos.X - 5), BoxPos.Y + BoxSize.Y)
  4996. v.healthBar.To = Vector2.new(v.healthBar.From.X, v.healthBar.From.Y - (hum.Health / hum.MaxHealth) * BoxSize.Y)
  4997. v.healthBar.Color = Color3.fromRGB(255 - 255 / (hum["MaxHealth"] / hum["Health"]), 255 / (hum["MaxHealth"] / hum["Health"]), 0)
  4998. v.healthBar.Visible = true
  4999.  
  5000. v.healthBarOutline.From = Vector2.new(v.healthBar.From.X, BoxPos.Y + BoxSize.Y + 1)
  5001. v.healthBarOutline.To = Vector2.new(v.healthBar.From.X, (v.healthBar.From.Y - 1 * BoxSize.Y) -1)
  5002. v.healthBarOutline.Visible = esp.settings.healthbar.outline
  5003. else
  5004. v.healthBarOutline.Visible = false
  5005. v.healthBar.Visible = false
  5006. end
  5007.  
  5008. if esp.settings.healthtext.enabled then
  5009. v.healthText.Text = tostring(math.floor((hum.Health / hum.MaxHealth) * 100 + 0.5))
  5010. v.healthText.Position = Vector2.new((BoxPos.X - 20), (BoxPos.Y + BoxSize.Y - 1 * BoxSize.Y) -1)
  5011.  
  5012. if plr:GetFriendStatus(i) == Enum.FriendStatus.Friend and library.flags["friendcheckEnabled"] then
  5013. v.healthText.Color = library.flags["friendcheckColor"]
  5014.  
  5015. elseif Environment.Settings.HighlightTarget == i and library.flags["highlighttargetEnabled"] then
  5016. v.healthText.Color = library.flags["highlighttargetColor"]
  5017. else
  5018. v.healthText.Color = library.flags["esphealthtextColor"]
  5019. end
  5020.  
  5021. v.healthText.Outline = esp.settings.healthtext.outline
  5022.  
  5023. v.healthText.Font = esp.font
  5024. v.healthText.Size = esp.fontsize
  5025.  
  5026. v.healthText.Visible = true
  5027. else
  5028. v.healthText.Visible = false
  5029. end
  5030.  
  5031. if esp.settings.viewangle.enabled then
  5032. local fromHead = Camera:worldToViewportPoint(head.CFrame.p)
  5033. local toPoint = Camera:worldToViewportPoint((head.CFrame + (head.CFrame.lookVector * 10)).p)
  5034.  
  5035. v.viewAngle.From = Vector2.new(fromHead.X, fromHead.Y)
  5036. v.viewAngle.To = Vector2.new(toPoint.X, toPoint.Y)
  5037.  
  5038. if plr:GetFriendStatus(i) == Enum.FriendStatus.Friend and library.flags["friendcheckEnabled"] then
  5039. v.viewAngle.Color = library.flags["friendcheckColor"]
  5040. elseif Environment.Settings.HighlightTarget == i and library.flags["highlighttargetEnabled"] then
  5041. v.viewAngle.Color = library.flags["highlighttargetColor"]
  5042. else
  5043. v.viewAngle.Color = library.flags["espviewangleColor"]
  5044. end
  5045.  
  5046. v.viewAngle.Visible = true
  5047. else
  5048. v.viewAngle.Visible = false
  5049. end
  5050.  
  5051. if esp.settings.skeleton.enabled then
  5052. local Head = i.Character.Head
  5053. local LeftHand = i.Character.LeftHand
  5054. local RightHand = i.Character.RightHand
  5055. local LeftLowerArm = i.Character.LeftLowerArm
  5056. local RightLowerArm = i.Character.RightLowerArm
  5057. local LeftUpperArm = i.Character.LeftUpperArm
  5058. local RightUpperArm = i.Character.RightUpperArm
  5059. local LeftFoot = i.Character.LeftFoot
  5060. local LeftLowerLeg = i.Character.LeftLowerLeg
  5061. local UpperTorso = i.Character.UpperTorso
  5062. local LeftUpperLeg = i.Character.LeftUpperLeg
  5063. local RightFoot = i.Character.RightFoot
  5064. local RightLowerLeg = i.Character.RightLowerLeg
  5065. local LowerTorso = i.Character.LowerTorso
  5066. local RightUpperLeg = i.Character.RightUpperLeg
  5067.  
  5068. local HeadPos = Camera:WorldToViewportPoint(Head.Position)
  5069. local LeftHandPos = Camera:WorldToViewportPoint(LeftHand.Position)
  5070. local RightHandPos = Camera:WorldToViewportPoint(RightHand.Position)
  5071. local LeftLowerArmPos = Camera:WorldToViewportPoint(LeftLowerArm.Position)
  5072. local RightLowerArmPos = Camera:WorldToViewportPoint(RightLowerArm.Position)
  5073. local LeftUpperArmPos = Camera:WorldToViewportPoint(LeftUpperArm.Position)
  5074. local RightUpperArmPos = Camera:WorldToViewportPoint(RightUpperArm.Position)
  5075. local LeftFootPos = Camera:WorldToViewportPoint(LeftFoot.Position)
  5076. local LeftLowerLegPos = Camera:WorldToViewportPoint(LeftLowerLeg.Position)
  5077. local UpperTorsoPos = Camera:WorldToViewportPoint(UpperTorso.Position)
  5078. local LeftUpperLegPos = Camera:WorldToViewportPoint(LeftUpperLeg.Position)
  5079. local RightFootPos = Camera:WorldToViewportPoint(RightFoot.Position)
  5080. local RightLowerLegPos = Camera:WorldToViewportPoint(RightLowerLeg.Position)
  5081. local LowerTorsoPos = Camera:WorldToViewportPoint(LowerTorso.Position)
  5082. local RightUpperLegPos = Camera:WorldToViewportPoint(RightUpperLeg.Position)
  5083.  
  5084. local function CheckFriend()
  5085. if Environment.Settings.HighlightTarget == i and library.flags["highlighttargetEnabled"] then
  5086. return library.flags["highlighttargetColor"]
  5087. end
  5088. if plr:GetFriendStatus(i) == Enum.FriendStatus.Friend and library.flags["friendcheckEnabled"] then
  5089. return library.flags["friendcheckColor"]
  5090. end
  5091. if not library.flags["rainbowskeletonEnabled"] then
  5092. return esp.settings.skeleton.color
  5093. end
  5094. if not esp.rainbowmode then
  5095. return esp.settings.skeleton.color
  5096. end
  5097.  
  5098. return esp.rainbowcolor
  5099. end
  5100.  
  5101. if HeadPos and UpperTorsoPos then
  5102. v.skeleton.Head.From = Vector2.new(HeadPos.X, HeadPos.Y)
  5103. v.skeleton.Head.To = Vector2.new(UpperTorsoPos.X, UpperTorsoPos.Y)
  5104. v.skeleton.Head.Color = CheckFriend()
  5105. v.skeleton.Head.Visible = true
  5106.  
  5107. v.skeleton.LeftHand.From = Vector2.new(LeftHandPos.X, LeftHandPos.Y)
  5108. v.skeleton.LeftHand.To = Vector2.new(LeftLowerArmPos.X, LeftLowerArmPos.Y)
  5109. v.skeleton.LeftHand.Color = CheckFriend()
  5110. v.skeleton.LeftHand.Visible = true
  5111.  
  5112. v.skeleton.RightHand.From = Vector2.new(RightHandPos.X, RightHandPos.Y)
  5113. v.skeleton.RightHand.To = Vector2.new(RightLowerArmPos.X, RightLowerArmPos.Y)
  5114. v.skeleton.RightHand.Color = CheckFriend()
  5115. v.skeleton.RightHand.Visible = true
  5116.  
  5117. v.skeleton.LeftLowerArm.From = Vector2.new(LeftLowerArmPos.X, LeftLowerArmPos.Y)
  5118. v.skeleton.LeftLowerArm.To = Vector2.new(LeftUpperArmPos.X, LeftUpperArmPos.Y)
  5119. v.skeleton.LeftLowerArm.Color = CheckFriend()
  5120. v.skeleton.LeftLowerArm.Visible = true
  5121.  
  5122. v.skeleton.RightLowerArm.From = Vector2.new(RightLowerArmPos.X, RightLowerArmPos.Y)
  5123. v.skeleton.RightLowerArm.To = Vector2.new(RightUpperArmPos.X, RightUpperArmPos.Y)
  5124. v.skeleton.RightLowerArm.Color = CheckFriend()
  5125. v.skeleton.RightLowerArm.Visible = true
  5126.  
  5127. v.skeleton.LeftUpperArm.From = Vector2.new(LeftUpperArmPos.X, LeftUpperArmPos.Y)
  5128. v.skeleton.LeftUpperArm.To = Vector2.new(UpperTorsoPos.X, UpperTorsoPos.Y)
  5129. v.skeleton.LeftUpperArm.Color = CheckFriend()
  5130. v.skeleton.LeftUpperArm.Visible = true
  5131.  
  5132. v.skeleton.RightUpperArm.From = Vector2.new(RightUpperArmPos.X, RightUpperArmPos.Y)
  5133. v.skeleton.RightUpperArm.To = Vector2.new(UpperTorsoPos.X, UpperTorsoPos.Y)
  5134. v.skeleton.RightUpperArm.Color = CheckFriend()
  5135. v.skeleton.RightUpperArm.Visible = true
  5136.  
  5137. v.skeleton.LeftFoot.From = Vector2.new(LeftFootPos.X, LeftFootPos.Y)
  5138. v.skeleton.LeftFoot.To = Vector2.new(LeftLowerLegPos.X, LeftLowerLegPos.Y)
  5139. v.skeleton.LeftFoot.Color = CheckFriend()
  5140. v.skeleton.LeftFoot.Visible = true
  5141.  
  5142. v.skeleton.LeftLowerLeg.From = Vector2.new(LeftLowerLegPos.X, LeftLowerLegPos.Y)
  5143. v.skeleton.LeftLowerLeg.To = Vector2.new(LeftUpperLegPos.X, LeftUpperLegPos.Y)
  5144. v.skeleton.LeftLowerLeg.Color = CheckFriend()
  5145. v.skeleton.LeftLowerLeg.Visible = true
  5146.  
  5147. v.skeleton.UpperTorso.From = Vector2.new(UpperTorsoPos.X, UpperTorsoPos.Y)
  5148. v.skeleton.UpperTorso.To = Vector2.new(LowerTorsoPos.X, LowerTorsoPos.Y)
  5149. v.skeleton.UpperTorso.Color = CheckFriend()
  5150. v.skeleton.UpperTorso.Visible = true
  5151.  
  5152. v.skeleton.LeftUpperLeg.From = Vector2.new(LeftUpperLegPos.X, LeftUpperLegPos.Y)
  5153. v.skeleton.LeftUpperLeg.To = Vector2.new(LowerTorsoPos.X, LowerTorsoPos.Y)
  5154. v.skeleton.LeftUpperLeg.Color = CheckFriend()
  5155. v.skeleton.LeftUpperLeg.Visible = true
  5156.  
  5157. v.skeleton.RightFoot.From = Vector2.new(RightFootPos.X, RightFootPos.Y)
  5158. v.skeleton.RightFoot.To = Vector2.new(RightLowerLegPos.X, RightLowerLegPos.Y)
  5159. v.skeleton.RightFoot.Color = CheckFriend()
  5160. v.skeleton.RightFoot.Visible = true
  5161.  
  5162. v.skeleton.RightLowerLeg.From = Vector2.new(RightLowerLegPos.X, RightLowerLegPos.Y)
  5163. v.skeleton.RightLowerLeg.To = Vector2.new(RightUpperLegPos.X, RightUpperLegPos.Y)
  5164. v.skeleton.RightLowerLeg.Color = CheckFriend()
  5165. v.skeleton.RightLowerLeg.Visible = true
  5166.  
  5167. v.skeleton.LowerTorso.From = Vector2.new(LowerTorsoPos.X, LowerTorsoPos.Y)
  5168. v.skeleton.LowerTorso.To = Vector2.new(RightUpperLegPos.X, RightUpperLegPos.Y)
  5169. v.skeleton.LowerTorso.Color = CheckFriend()
  5170. v.skeleton.LowerTorso.Visible = true
  5171.  
  5172. v.skeleton.RightUpperLeg.From = Vector2.new(RightUpperLegPos.X, RightUpperLegPos.Y)
  5173. v.skeleton.RightUpperLeg.To = Vector2.new(LowerTorsoPos.X, LowerTorsoPos.Y)
  5174. v.skeleton.RightUpperLeg.Color = CheckFriend()
  5175. v.skeleton.RightUpperLeg.Visible = true
  5176. end
  5177. else
  5178. v.skeleton.Head.Visible = false
  5179. v.skeleton.LeftHand.Visible = false
  5180. v.skeleton.RightHand.Visible = false
  5181. v.skeleton.LeftLowerArm.Visible = false
  5182. v.skeleton.RightLowerArm.Visible = false
  5183. v.skeleton.LeftUpperArm.Visible = false
  5184. v.skeleton.RightUpperArm.Visible = false
  5185. v.skeleton.LeftFoot.Visible = false
  5186. v.skeleton.LeftLowerLeg.Visible = false
  5187. v.skeleton.UpperTorso.Visible = false
  5188. v.skeleton.LeftUpperLeg.Visible = false
  5189. v.skeleton.RightFoot.Visible = false
  5190. v.skeleton.RightLowerLeg.Visible = false
  5191. v.skeleton.LowerTorso.Visible = false
  5192. v.skeleton.RightUpperLeg.Visible = false
  5193. end
  5194.  
  5195. if esp.settings.tracers.enabled then
  5196. local HRPPos = Camera:WorldToViewportPoint(hrp.CFrame.p)
  5197.  
  5198. if library.flags["tracerFromLocation"] == "Bottom" then
  5199. v.tracers.From = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y)
  5200. elseif library.flags["tracerFromLocation"] == "Middle" then
  5201. v.tracers.From = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2)
  5202. end
  5203. v.tracers.To = Vector2.new(HRPPos.X, HRPPos.Y)
  5204.  
  5205. if plr:GetFriendStatus(i) == Enum.FriendStatus.Friend and library.flags["friendcheckEnabled"] then
  5206. v.tracers.Color = library.flags["friendcheckColor"]
  5207. elseif Environment.Settings.HighlightTarget == i and library.flags["highlighttargetEnabled"] then
  5208. v.tracers.Color = library.flags["highlighttargetColor"]
  5209. else
  5210. v.tracers.Color = library.flags["esptracersColor"]
  5211. end
  5212.  
  5213. v.tracers.Visible = true
  5214. else
  5215. v.tracers.Visible = false
  5216. end
  5217.  
  5218. if esp.settings.chams.enabled then
  5219. if not i.Character:FindFirstChild("Highlight") then
  5220. v.chams = Instance.new("Highlight")
  5221. end
  5222.  
  5223. v.chams.FillTransparency = 0
  5224.  
  5225. if IsPartVisible(i.Character.HumanoidRootPart, i.Character) then
  5226. v.chams.FillColor = library.flags["chamsvisibleColor"]
  5227. else
  5228. v.chams.FillColor = library.flags["chamsnotvisibleColor"]
  5229. end
  5230.  
  5231. if esp.settings.chamsOutline.enabled then
  5232. v.chams.OutlineTransparency = 0
  5233. v.chams.OutlineColor = esp.settings.chamsOutline.color
  5234. else
  5235. v.chams.OutlineTransparency = 1
  5236. end
  5237. pcall(function()
  5238. v.chams.Parent = i.Character
  5239. end)
  5240. else
  5241. v.chams.FillTransparency = 1
  5242. v.chams.OutlineTransparency = 1
  5243. end
  5244. else
  5245. -- Disable ESP if player is off screen or out of Max render distance
  5246. v.name.Visible = false
  5247. v.boxOutline.Visible = false
  5248. v.box.Visible = false
  5249. v.tool.Visible = false
  5250. v.healthBarOutline.Visible = false
  5251. v.healthBar.Visible = false
  5252. v.healthText.Visible = false
  5253. v.distance.Visible = false
  5254. v.viewAngle.Visible = false
  5255. v.tracers.Visible = false
  5256.  
  5257. v.chams.FillTransparency = 1
  5258. v.chams.OutlineTransparency = 1
  5259.  
  5260. v.skeleton.Head.Visible = false
  5261. v.skeleton.LeftHand.Visible = false
  5262. v.skeleton.RightHand.Visible = false
  5263. v.skeleton.LeftLowerArm.Visible = false
  5264. v.skeleton.RightLowerArm.Visible = false
  5265. v.skeleton.LeftUpperArm.Visible = false
  5266. v.skeleton.RightUpperArm.Visible = false
  5267. v.skeleton.LeftFoot.Visible = false
  5268. v.skeleton.LeftLowerLeg.Visible = false
  5269. v.skeleton.UpperTorso.Visible = false
  5270. v.skeleton.LeftUpperLeg.Visible = false
  5271. v.skeleton.RightFoot.Visible = false
  5272. v.skeleton.RightLowerLeg.Visible = false
  5273. v.skeleton.LowerTorso.Visible = false
  5274. v.skeleton.RightUpperLeg.Visible = false
  5275. end
  5276. else
  5277. -- Disable ESP if player has no character
  5278. v.name.Visible = false
  5279. v.boxOutline.Visible = false
  5280. v.box.Visible = false
  5281. v.tool.Visible = false
  5282. v.healthBarOutline.Visible = false
  5283. v.healthBar.Visible = false
  5284. v.healthText.Visible = false
  5285. v.distance.Visible = false
  5286. v.viewAngle.Visible = false
  5287. v.tracers.Visible = false
  5288.  
  5289. v.chams.FillTransparency = 1
  5290. v.chams.OutlineTransparency = 1
  5291.  
  5292. v.offscreenarrows.HealthBar.Visible = false
  5293. v.offscreenarrows.HealthBarOutline.Visible = false
  5294. v.offscreenarrows.Arrows.Visible = false
  5295. v.offscreenarrows.TextName.Visible = false
  5296. v.offscreenarrows.TextDistance.Visible = false
  5297.  
  5298. v.skeleton.Head.Visible = false
  5299. v.skeleton.LeftHand.Visible = false
  5300. v.skeleton.RightHand.Visible = false
  5301. v.skeleton.LeftLowerArm.Visible = false
  5302. v.skeleton.RightLowerArm.Visible = false
  5303. v.skeleton.LeftUpperArm.Visible = false
  5304. v.skeleton.RightUpperArm.Visible = false
  5305. v.skeleton.LeftFoot.Visible = false
  5306. v.skeleton.LeftLowerLeg.Visible = false
  5307. v.skeleton.UpperTorso.Visible = false
  5308. v.skeleton.LeftUpperLeg.Visible = false
  5309. v.skeleton.RightFoot.Visible = false
  5310. v.skeleton.RightLowerLeg.Visible = false
  5311. v.skeleton.LowerTorso.Visible = false
  5312. v.skeleton.RightUpperLeg.Visible = false
  5313. end
  5314. end
  5315. end
  5316. end
  5317. end)
  5318.  
  5319. ---------------------------------
  5320. --* CONFIGS TAB *--
  5321. ---------------------------------
  5322. local configs = main:Tab("Configuration")
  5323.  
  5324.  
  5325. keybind_viewer = configs:Section{Name = "Keybind Viewer", Side = "Left"}
  5326. KeybindviewerToggle = keybind_viewer:Toggle{
  5327. Name = "Show Keybind Viewer",
  5328. Flag = "showkeybindsEnabled",
  5329. Default = true,
  5330. Callback = function(bool)
  5331. KeybindUI.Toggle(bool)
  5332. end
  5333. }
  5334.  
  5335. item_scanner = configs:Section{Name = "Item Scanner", Side = "Left"}
  5336. ItemScannerText = Drawing.new("Text")
  5337. ItemScannerShowPos = item_scanner:Toggle{
  5338. Name = "Enabled",
  5339. Flag = "itemscannerEnabled",
  5340. Callback = function(bool)
  5341. if not bool then
  5342. ItemScannerText.Visible = false
  5343. end
  5344. end
  5345. }
  5346. ItemScannerShowPos:ColorPicker{
  5347. Default = Color3.fromRGB(255, 255, 255),
  5348. Flag = "itemscannerposcolor",
  5349. Callback = function(color)
  5350. ItemScannerText.Color = color
  5351. end
  5352. }
  5353. ItemScannerShowPos:Slider{
  5354. Text = "Duration: [value]s",
  5355. Default = 5,
  5356. Min = 0,
  5357. Max = 120,
  5358. Float = 1,
  5359. Flag = "itemscannerposDuration"
  5360. }
  5361. item_scanner:Dropdown{
  5362. Name = "Item To Scan For",
  5363. Default = "FlareGun",
  5364. Content = ItemScannerTable,
  5365. Flag = "itemscanner_item"
  5366. }
  5367. item_scanner:Button{
  5368. Name = "Scan For Item",
  5369. Callback = function()
  5370. if library.flags["itemscannerEnabled"] then
  5371. local FoundSomething = false
  5372.  
  5373. for _, v in pairs(ws:GetDescendants()) do
  5374. if tostring(v.Name) == tostring(library.flags["itemscanner_item"]) then
  5375. local MeshPart = nil
  5376.  
  5377. for _, v2 in pairs(v:GetDescendants()) do
  5378. if v2:IsA("MeshPart") or v2:IsA("Part") then
  5379. MeshPart = v2
  5380. break
  5381. end
  5382. end
  5383.  
  5384. if MeshPart ~= nil then
  5385. FoundSomething = true
  5386. local PlayerPos = MeshPart.Position
  5387.  
  5388. local Distance = (PlayerPos - plr.Character.HumanoidRootPart.Position).Magnitude
  5389. Distance = Framework:Distance_Type_Change(Distance_Type_, Distance)
  5390. Library:SendNotification(("Found " .. tostring(library.flags["itemscanner_item"]) .. " (" .. Distance .. "m)"), 5, Color3.fromRGB(255, 255, 255))
  5391. local Vector, OnScreen = Camera:WorldToViewportPoint(PlayerPos)
  5392.  
  5393. ItemScannerText.Text = tostring(library.flags["itemscanner_item"]) .. " (" .. tostring(Distance) .. "m)"
  5394. ItemScannerText.Size = 20
  5395. ItemScannerText.Outline = true
  5396. ItemScannerText.Color = library.flags["itemscannerposcolor"]
  5397. ItemScannerText.Position = Vector2.new(Vector.X, Vector.Y)
  5398. ItemScannerText.Visible = true
  5399.  
  5400. local StartTime = tick()
  5401.  
  5402. while math.floor(tick() - StartTime) < tonumber(library.flags["itemscannerposDuration"]) do
  5403. local PlayerPos = MeshPart.Position
  5404. local Distance = (PlayerPos - plr.Character.HumanoidRootPart.Position).Magnitude
  5405. Distance = Framework:Distance_Type_Change(Distance_Type_, Distance)
  5406. local Vector, OnScreen = Camera:WorldToViewportPoint(PlayerPos)
  5407. ItemScannerText.Text = tostring(library.flags["itemscanner_item"]) .. " (" .. tostring(Distance) .. "m)"
  5408. ItemScannerText.Position = Vector2.new(Vector.X, Vector.Y)
  5409. ItemScannerText.Visible = OnScreen
  5410.  
  5411. if not library.flags["itemscannerEnabled"] then
  5412. ItemScannerText.Visible = false
  5413. return
  5414. end
  5415.  
  5416. task.wait()
  5417. end
  5418. ItemScannerText.Visible = false
  5419. return
  5420. end
  5421. end
  5422. end
  5423. if FoundSomething == false then
  5424. for i,v in next, repStorage.Players:GetChildren() do
  5425. if v.Name ~= plr.Name then
  5426. for a,x in next, v:GetDescendants() do
  5427. if x:IsA('StringValue') then
  5428. if x.Parent.Name == 'Inventory' or x.Parent.Name == 'Equipment' then
  5429. if tostring(x.Name) == tostring(library.flags["itemscanner_item"]) then
  5430. local PlayerName = v.Name
  5431. if game.Players[PlayerName].Character:FindFirstChild("HumanoidRootPart") then
  5432. FoundSomething = true
  5433. local PlayerPos = game.Players[PlayerName].Character.HumanoidRootPart.Position
  5434.  
  5435. local Distance = (PlayerPos - plr.Character.HumanoidRootPart.Position).Magnitude
  5436. Distance = Framework:Distance_Type_Change(Distance_Type_, Distance)
  5437. Library:SendNotification(("Found " .. tostring(library.flags["itemscanner_item"]) .. " on " .. PlayerName .. " (" .. Distance .. "m)"), 5, Color3.fromRGB(255, 255, 255))
  5438. local Vector, OnScreen = Camera:WorldToViewportPoint(PlayerPos)
  5439.  
  5440. ItemScannerText.Text = tostring(library.flags["itemscanner_item"]) .. " (" .. tostring(Distance) .. "m)"
  5441. ItemScannerText.Size = 20
  5442. ItemScannerText.Outline = true
  5443. ItemScannerText.Color = library.flags["itemscannerposcolor"]
  5444. ItemScannerText.Position = Vector2.new(Vector.X, Vector.Y)
  5445. ItemScannerText.Visible = true
  5446.  
  5447. local StartTime = tick()
  5448.  
  5449. while math.floor(tick() - StartTime) < tonumber(library.flags["itemscannerposDuration"]) do
  5450. local PlayerPos = game.Players[PlayerName].Character.HumanoidRootPart.Position
  5451. local Distance = (PlayerPos - plr.Character.HumanoidRootPart.Position).Magnitude
  5452. Distance = Framework:Distance_Type_Change(Distance_Type_, Distance)
  5453. local Vector, OnScreen = Camera:WorldToViewportPoint(PlayerPos)
  5454. ItemScannerText.Text = tostring(library.flags["itemscanner_item"]) .. " (" .. tostring(Distance) .. "m)"
  5455. ItemScannerText.Position = Vector2.new(Vector.X, Vector.Y)
  5456. ItemScannerText.Visible = OnScreen
  5457.  
  5458. if not library.flags["itemscannerEnabled"] then
  5459. ItemScannerText.Visible = false
  5460. return
  5461. end
  5462.  
  5463. task.wait()
  5464. end
  5465. ItemScannerText.Visible = false
  5466.  
  5467. return
  5468. end
  5469. end
  5470. end
  5471. end
  5472. end
  5473. end
  5474. end
  5475. end
  5476.  
  5477. if FoundSomething == false then
  5478. Library:SendNotification(("Could not find " .. tostring(library.flags["itemscanner_item"])), 5, Color3.fromRGB(255, 255, 255))
  5479. end
  5480. else
  5481. Library:SendNotification(("Item Scanner is not enabled!"), 5, Color3.fromRGB(255, 255, 255))
  5482. end
  5483. end
  5484. }
  5485.  
  5486. themepickers = {}
  5487. customtheme = configs:Section{Name = "Custom Themes", Side = "Right"}
  5488. themepickers["Accent"] = customtheme:ColorPicker{
  5489. Name = "Accent",
  5490. Default = library.theme["Accent"],
  5491. Flag = "Accent",
  5492. Callback = function(color)
  5493. library:ChangeThemeOption("Accent", color)
  5494. end
  5495. }
  5496. library:ConfigIgnore("Accent")
  5497. themepickers["Window Background"] = customtheme:ColorPicker{
  5498. Name = "Window Background",
  5499. Default = library.theme["Window Background"],
  5500. Flag = "Window Background",
  5501. Callback = function(color)
  5502. library:ChangeThemeOption("Window Background", color)
  5503. InventoryViewer.Border.Color = color
  5504. end
  5505. }
  5506. library:ConfigIgnore("Window Background")
  5507. themepickers["Tab Background"] = customtheme:ColorPicker{
  5508. Name = "Tab Background",
  5509. Default = library.theme["Tab Background"],
  5510. Flag = "Tab Background",
  5511. Callback = function(color)
  5512. library:ChangeThemeOption("Tab Background", color)
  5513. InventoryViewer.Main.Color = color
  5514. Frame.BackgroundColor3 = color
  5515. end
  5516. }
  5517. library:ConfigIgnore("Tab Background")
  5518. configsection = configs:Section{Name = "Configs", Side = "Right"}
  5519. configlist = configsection:Dropdown{
  5520. Name = "",
  5521. Content = library:GetConfigs(), -- GetConfigs(true) if you want universal configs
  5522. Flag = "Config Dropdown"
  5523. }
  5524. library:ConfigIgnore("Config Dropdown")
  5525. loadconfig = configsection:Button{
  5526. Name = "Load Config",
  5527. Callback = function()
  5528. library:LoadConfig(library.flags["Config Dropdown"])
  5529. configlist:Refresh(library:GetConfigs())
  5530. end
  5531. }
  5532. delconfig = configsection:Button{
  5533. Name = "Delete Config",
  5534. Callback = function()
  5535. library:DeleteConfig(library.flags["Config Dropdown"])
  5536. configlist:Refresh(library:GetConfigs())
  5537. end
  5538. }
  5539. configbox = configsection:Box{
  5540. Name = "Config Name",
  5541. Placeholder = "Enter Config Name Here",
  5542. Flag = "Config Name"
  5543. }
  5544. library:ConfigIgnore("Config Name")
  5545. save = configsection:Button{
  5546. Name = "Save Config",
  5547. Callback = function()
  5548. library:SaveConfig(library.flags["Config Dropdown"] or library.flags["Config Name"])
  5549. configlist:Refresh(library:GetConfigs())
  5550. end
  5551. }
  5552.  
  5553. staffInServer, staffDatabase, cheatersInServer, cheaterDatabase, cheatersNames, AddedNames = {}, {}, {}, {}, {}, {}
  5554. PlrDetectorUI.Toggle(true)
  5555.  
  5556. PlayerDetector = configs:Section{Name = "Player Detector", Side = "Left"}
  5557. PlayerDetector:Slider{
  5558. Name = "Alert Volume",
  5559. Text = "[value]/10",
  5560. Default = 5,
  5561. Min = 0,
  5562. Max = 10,
  5563. Float = 1,
  5564. Flag = "adminAlertVolume"
  5565. }
  5566.  
  5567. PlayerDetector:Separator("Add Cheaters")
  5568. PlayerDetector:Box{
  5569. Name = "Cheater Name",
  5570. Placeholder = "Enter Cheaters Name Here",
  5571. Flag = "Cheater Name"
  5572. }
  5573. PlayerDetector:Button{
  5574. Name = "Add Cheater",
  5575. Callback = function()
  5576. local CheaterFound = false
  5577.  
  5578. for _, Player in pairs(game:GetService("Players"):GetPlayers()) do
  5579. if Player.Name:lower() == library.flags["Cheater Name"]:lower() or Player.DisplayName:lower() == library.flags["Cheater Name"]:lower() then
  5580. success, response = pcall(function()
  5581. return game:HttpGetAsync("https://infinity-api.flashout24.repl.co/add/" .. Player.UserId)
  5582. end)
  5583. if success then
  5584. table.insert(cheatersInServer, Player.UserId)
  5585. table.insert(cheatersNames, Player.Name)
  5586. table.insert(cheaterDatabase, Player.UserId)
  5587. Library:SendNotification("Added " .. Player.Name .. " to the cheater list.")
  5588. CheaterFound = true
  5589. break
  5590. end
  5591. end
  5592. end
  5593.  
  5594. if not CheaterFound then
  5595. Library:SendNotification("Failed to find " .. library.flags["Cheater Name"] .. " in the server.")
  5596. end
  5597. end
  5598. }
  5599.  
  5600. rs.Heartbeat:Connect(function()
  5601. if Running and Alive(plr) then
  5602. if library.flags["antipredictionEnabled"] and AntiPrediction_ then
  5603. Anti_Predicition(library.flags["antiaimX"], 0, library.flags["antiaimZ"], library.flags["antiaimPower"], library.flags["antiaimRandom"])
  5604. end
  5605.  
  5606. if library.flags["blatantantiaimyawEnabled"] then
  5607. Anti_Aim.Yaw(library.flags["blatantantiaimYaw"], tostring(library.flags["blatantantiaimyawType"]))
  5608. end
  5609. if library.flags["blatantantiaimpitchEnabled"] then
  5610. Anti_Aim.Pitch(library.flags["blatantantiaimPitch"], tostring(library.flags["blatantantiaimpitchType"]))
  5611. end
  5612. if library.flags["blatantantiaimleanEnabled"] then
  5613. Anti_Aim.Roll(library.flags["blatantantiaimlean"], tostring(library.flags["blatantantiaimleanType"]), library.flags["blatantantiaimRandomleanTick"])
  5614. end
  5615. end
  5616. end)
  5617.  
  5618. PlayerDetectorStats = configs:Section{Name = "", Side = "Right"}
  5619. PlayerDetectorLabel_Total_Staff = PlayerDetectorStats:Label("Staff In Server: " .. tostring(#staffInServer))
  5620. PlayerDetectorLabel_Total_Cheaters = PlayerDetectorStats:Label("Cheaters In Server: " .. tostring(#cheatersInServer))
  5621. PlayerDetectorStats:Toggle{
  5622. Name = "Kick On Staff Join",
  5623. Flag = "staffjoinkickEnabled",
  5624. Tooltip = "Instantly kick you from the game if a staff member is found.",
  5625. Tooltipplace = "Right"
  5626. }
  5627.  
  5628.  
  5629. task.spawn(function()
  5630. while wait(library.flags["trashtalkDelay"]) do
  5631. if Running and Alive(plr) then
  5632. if library.flags["trashtalkEnabled"] then
  5633. if #cheatersNames == 0 then
  5634. Library:SendNotification("No cheaters found in the server.")
  5635. else
  5636. local TrashMessage = tostring(library.flags["trashtalkMessage"])
  5637. local RandomName = tostring(cheatersNames[math.random(1, #cheatersNames)])
  5638. TrashMessage = TrashMessage .. " " .. RandomName
  5639.  
  5640. print("TrashMessage: " .. TrashMessage)
  5641. local args = {
  5642. [1] = tostring(TrashMessage),
  5643. [2] = "Global"
  5644. }
  5645. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(args))
  5646. end
  5647. end
  5648. end
  5649. end
  5650. end)
  5651.  
  5652. task.spawn(function()
  5653. while wait(0.3) do
  5654. if Running and Alive(plr) then
  5655.  
  5656. PlayerDetectorLabel_Total_Staff:Set("Staff In Server: " .. tostring(#staffInServer))
  5657. PlayerDetectorLabel_Total_Cheaters:Set("Cheaters In Server: " .. tostring(#cheatersInServer))
  5658.  
  5659. for _, Name in pairs(cheatersNames) do
  5660. if not table.find(AddedNames, Name) then
  5661. PlrDetectorUI.AddPlayer(Name)
  5662. table.insert(AddedNames, Name)
  5663. end
  5664. end
  5665. end
  5666. end
  5667. end)
  5668.  
  5669. adminAlarm = Framework:Instance("Sound", {SoundId = "rbxassetid://176820116", Volume = library.flags["adminAlertVolume"], Parent = cgui})
  5670.  
  5671. autoloot = configs:Section{Name = "Auto Loot", Side = "Left"}
  5672. autoloot:Keybind{
  5673. Name = "Shirts",
  5674. Flag = "autolootShirts",
  5675. Default = Enum.KeyCode.P,
  5676. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  5677. Callback = function(_, fromsetting)
  5678. if not fromsetting and not Typing then
  5679. for i = 1, AutoLootSettings.Shirt.Size do
  5680. local args = {[1] = "Shirt" .. tostring(i)}
  5681. repStorage.Remotes.QuickLoot:FireServer(unpack(args))
  5682. end
  5683. end
  5684. end
  5685. }
  5686. autoloot:Keybind{
  5687. Name = "Pants",
  5688. Flag = "autolootPants",
  5689. Default = Enum.KeyCode.P,
  5690. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  5691. Callback = function(_, fromsetting)
  5692. if not fromsetting and not Typing then
  5693. for i = 1, AutoLootSettings.Pants.Size do
  5694. local args = {[1] = "Pants" .. tostring(i)}
  5695. repStorage.Remotes.QuickLoot:FireServer(unpack(args))
  5696. end
  5697. end
  5698. end
  5699. }
  5700. autoloot:Keybind{
  5701. Name = "Chest Rig",
  5702. Flag = "autolootChestRig",
  5703. Default = Enum.KeyCode.P,
  5704. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  5705. Callback = function(_, fromsetting)
  5706. if not fromsetting and not Typing then
  5707. for i = 1, AutoLootSettings.Chestrig.Size do
  5708. local args = {[1] = "Chestrig" .. tostring(i)}
  5709. repStorage.Remotes.QuickLoot:FireServer(unpack(args))
  5710. end
  5711. end
  5712. end
  5713. }
  5714. autoloot:Keybind{
  5715. Name = "Backpack",
  5716. Flag = "autolootBackpack",
  5717. Default = Enum.KeyCode.P,
  5718. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  5719. Callback = function(_, fromsetting)
  5720. if not fromsetting and not Typing then
  5721. for i = 1, AutoLootSettings.Backpack.Size do
  5722. local args = {[1] = "Backpack" .. tostring(i)}
  5723. repStorage.Remotes.QuickLoot:FireServer(unpack(args))
  5724. end
  5725. end
  5726. end
  5727. }
  5728. autoloot:Keybind{
  5729. Name = "Container",
  5730. Flag = "autolootContainer",
  5731. Default = Enum.KeyCode.P,
  5732. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  5733. Callback = function(_, fromsetting)
  5734. if not fromsetting and not Typing then
  5735. for i = 1, AutoLootSettings.Container.Size do
  5736. local args = {[1] = "Container" .. tostring(i)}
  5737. repStorage.Remotes.QuickLoot:FireServer(unpack(args))
  5738. end
  5739. end
  5740. end
  5741. }
  5742.  
  5743.  
  5744. themes = configs:Section{Name = "Settings", Side = "Right"}
  5745. themes:Button{
  5746. Name = "Unhook",
  5747. Callback = function()
  5748. for _, v in next, ServiceConnections do
  5749. v:Disconnect()
  5750. end
  5751.  
  5752. Environment.Settings.Enabled = false
  5753. Environment.FOVCircle:Remove()
  5754. Environment.SnapLine:Remove()
  5755.  
  5756. ESP.Objects_Enabled = false
  5757.  
  5758. gethiddenproperty(Terrain, "Decoration", Old_Decoration)
  5759.  
  5760. KeybindUI.Toggle(false)
  5761. PlrDetectorUI.Toggle(false)
  5762.  
  5763. for i,v in pairs(Old_Lighting) do
  5764. lighting[i] = v
  5765. end
  5766.  
  5767. Running = false
  5768. library:Unload()
  5769. end
  5770. }
  5771. themes:Button{
  5772. Name = "Rejoin Server",
  5773. Callback = function()
  5774. local Rejoin = coroutine.create(function()
  5775. local Success, ErrorMessage = pcall(function()
  5776. game:GetService("TeleportService"):Teleport(game.PlaceId, plr)
  5777. end)
  5778.  
  5779. if ErrorMessage and not Success then
  5780. warn(ErrorMessage)
  5781. end
  5782. end)
  5783.  
  5784. coroutine.resume(Rejoin)
  5785. end
  5786. }
  5787. themes:Button{
  5788. Name = "Copy Game Invite Code",
  5789. Callback = function()
  5790. local ServerID = plr.PlayerGui.PerformanceMonitor2.TextLabel3.Text:split("|")
  5791. local ServerID = ServerID[4]
  5792. local ServerID = ServerID:sub(2)
  5793. setclipboard("game:GetService('TeleportService'):TeleportToPlaceInstance(" .. game.PlaceId .. ", '" .. ServerID .. "')")
  5794. end
  5795. }
  5796. themes:Dropdown{
  5797. Name = "Distance Type",
  5798. Default = "Studs",
  5799. Content = {"Meters", "Studs"},
  5800. Flag = "distanceType",
  5801. Callback = function(option)
  5802. ESP.Distance_Type = tostring(option)
  5803. Distance_Type_ = tostring(option)
  5804. end
  5805. }
  5806. local UIOpen = true
  5807. themes:Keybind{
  5808. Name = "UI Toggle",
  5809. Flag = "UI Toggle",
  5810. Default = Enum.KeyCode.RightShift,
  5811. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  5812. Callback = function(_, fromsetting)
  5813. if not fromsetting and not Typing then
  5814. library:Close()
  5815.  
  5816. UIOpen = not UIOpen
  5817.  
  5818. if UIOpen then
  5819. ShowESPPreview()
  5820. else
  5821. HideESPPreview()
  5822. end
  5823. end
  5824. end
  5825. }
  5826.  
  5827. success, response = pcall(function()
  5828. return game:HttpGetAsync("https://infinity-api.flashout24.repl.co/get/staffdatabase")
  5829. end)
  5830. if success then
  5831. local dwstaffDatabase = hs:JSONDecode(response)
  5832. for _, Data in pairs(dwstaffDatabase["ids"]) do
  5833. table.insert(staffDatabase, tonumber(Data))
  5834. end
  5835. Library:SendNotification("Loaded the staff database.")
  5836. else
  5837. Library:SendNotification("Failed to load staff database.")
  5838. end
  5839.  
  5840. function adminFinder_Check(Player, Joined)
  5841. task.spawn(function()
  5842. local ReplicatedPlayersPlayer = ReplicatedPlayers:WaitForChild(Player.Name)
  5843. local Status = ReplicatedPlayersPlayer:WaitForChild("Status")
  5844. local GameplayVariables = Status:WaitForChild("GameplayVariables")
  5845. local GodMode = GameplayVariables:GetAttribute("GodMode")
  5846. local Reason, inStaffDatabase = "", table.find(staffDatabase, Player.UserId)
  5847. local UACRole, VikingRole = "", ""
  5848. pcall(function()
  5849. UACRole = Player:GetRoleInGroup(13810797)
  5850. end)
  5851. pcall(function()
  5852. VikingRole = Player:GetRoleInGroup(3765739)
  5853. end)
  5854. if Reason == "" and inStaffDatabase then
  5855. Reason = "Database"
  5856. end
  5857. if Reason == "" and GodMode == true then
  5858. Reason = "GodMode"
  5859. end
  5860. if Reason == "" and UACRole ~= "Guest" then
  5861. Reason = UACRole == "Member" and "Staff" or UACRole
  5862. end
  5863. if Reason == "" and not table.find({"Guest", "Member", "Elite Member", "Early Access", "Prime", "OG"}, VikingRole) then
  5864. Reason = VikingRole
  5865. end
  5866. if Reason ~= "" then
  5867. if not table.find(staffInServer, Player.UserId) then
  5868. table.insert(staffInServer, Player.UserId)
  5869. end
  5870. if Joined then
  5871. success, response = pcall(function()
  5872. return game:HttpGetAsync("https://infinity-api.flashout24.repl.co/add/staff/" .. Player.UserId)
  5873. end)
  5874. if library.flags["staffjoinkickEnabled"] then
  5875. plr:Kick(("Staff joined your server. | Name: %s, Reason: %s"):format(Player.Name, Reason))
  5876. end
  5877. Library:SendNotification(("Staff joined your server. | Name: %s, Reason: %s"):format(Player.Name, Reason))
  5878. else
  5879. success, response = pcall(function()
  5880. return game:HttpGetAsync("https://infinity-api.flashout24.repl.co/add/staff/" .. Player.UserId)
  5881. end)
  5882. if library.flags["staffjoinkickEnabled"] then
  5883. plr:Kick(("Staff joined your server. | Name: %s, Reason: %s"):format(Player.Name, Reason))
  5884. end
  5885. Library:SendNotification(("Staff was found in your server. | Name: %s, Reason: %s"):format(Player.Name, Reason))
  5886. end
  5887. adminAlarm:Play()
  5888. end
  5889. end)
  5890. end
  5891.  
  5892. success, response = pcall(function()
  5893. return game:HttpGetAsync("https://infinity-api.flashout24.repl.co/get/cheaterdatabase")
  5894. end)
  5895. if success then
  5896. dwcheaterDatabase = hs:JSONDecode(response)
  5897. for _, Data in pairs(dwcheaterDatabase["ids"]) do
  5898. table.insert(cheaterDatabase, tonumber(Data))
  5899. end
  5900. Library:SendNotification("Loaded the cheater database.")
  5901. else
  5902. Library:SendNotification("Failed to load cheater database.")
  5903. end
  5904.  
  5905. function cheaterFinder_Check(Player, Joined)
  5906. task.spawn(function()
  5907. local Reason = ""
  5908.  
  5909. local function Alert_Of_Cheaters(Player, Reason)
  5910. if not table.find(cheatersInServer, Player.UserId) then
  5911. table.insert(cheatersInServer, Player.UserId)
  5912. end
  5913. if not table.find(cheatersNames, Player.Name) then
  5914. table.insert(cheatersNames, Player.Name)
  5915. end
  5916. if Joined then
  5917. Library:SendNotification(("Cheater joined your server. | Name: %s, Reason: %s"):format(Player.Name, Reason))
  5918. else
  5919. Library:SendNotification(("Cheater was found in your server. | Name: %s, Reason: %s"):format(Player.Name, Reason))
  5920. end
  5921. end
  5922.  
  5923. if table.find(cheatersInServer, Player.UserId) then
  5924. Reason = "Server"
  5925. if Joined then
  5926. Library:SendNotification(("Cheater joined your server. | Name: %s"):format(Player.Name))
  5927. else
  5928. Library:SendNotification(("Cheater was found in your server. | Name: %s"):format(Player.Name))
  5929. end
  5930.  
  5931. elseif table.find(cheaterDatabase, Player.UserId) then
  5932. Reason = "Database"
  5933. Alert_Of_Cheaters(Player, Reason)
  5934. end
  5935.  
  5936. pcall(function()
  5937. if Player.Character.Humanoid.WalkSpeed > 20 and Reason == "" then
  5938. Reason = "WalkSpeed"
  5939. Alert_Of_Cheaters(Player, Reason)
  5940. end
  5941. if Player.Character.Humanoid.HipHeight > 2 and Reason == "" then
  5942. Reason = "HipHeight"
  5943. Alert_Of_Cheaters(Player, Reason)
  5944. end
  5945. if Player.Character.Humanoid.JumpHeight > 2 and Reason == "" then
  5946. Reason = "JumpHeight"
  5947. Alert_Of_Cheaters(Player, Reason)
  5948. end
  5949. if Player.Character.Humanoid.JumpPower > 50 and Reason == "" then
  5950. Reason = "JumpPower"
  5951. Alert_Of_Cheaters(Player, Reason)
  5952. end
  5953. if Player.Character.Humanoid.Health > 100 and Reason == "" then
  5954. Reason = "HealthModifier"
  5955. Alert_Of_Cheaters(Player, Reason)
  5956. end
  5957. if Player.Character.Humanoid.MaxHealth > 100 and Reason == "" then
  5958. Reason = "MaxHealthModifier"
  5959. Alert_Of_Cheaters(Player, Reason)
  5960. end
  5961. if Player.Character.Humanoid.MaxHealth > 100 and Reason == "" then
  5962. Reason = "MaxHealthModifier"
  5963. Alert_Of_Cheaters(Player, Reason)
  5964. end
  5965. if Player.Character.Humanoid.AutoRotate == false and Reason == "" then
  5966. Reason = "AntiAim"
  5967. Alert_Of_Cheaters(Player, Reason)
  5968. end
  5969. if Player.Character.Humanoid.PlatformStand == true and Reason == "" then
  5970. Reason = "Fly"
  5971. Alert_Of_Cheaters(Player, Reason)
  5972. end
  5973. if math.floor(Player.Character.HumanoidRootPart.Velocity.X) > 45 and Reason == "" then
  5974. Reason = "Speed"
  5975. Alert_Of_Cheaters(Player, Reason)
  5976. end
  5977. if math.floor(Player.Character.HumanoidRootPart.Velocity.Z) > 45 and Reason == "" then
  5978. Reason = "Speed"
  5979. Alert_Of_Cheaters(Player, Reason)
  5980. end
  5981. end)
  5982. end)
  5983. end
  5984.  
  5985. ServiceConnections.ESPPlayerAddedConnection = plrs.PlayerAdded:Connect(function(Player)
  5986. if Running then
  5987. esp.NewPlayer(Player)
  5988.  
  5989. if Player ~= plr then
  5990. adminFinder_Check(Player, true)
  5991. cheaterFinder_Check(Player, true)
  5992. task.spawn(function()
  5993. local ReplicatedPlayersPlayer = ReplicatedPlayers:WaitForChild(Player.Name)
  5994. local Status = ReplicatedPlayersPlayer:WaitForChild("Status")
  5995. local GameplayVariables = Status:WaitForChild("GameplayVariables")
  5996. local c; c = GameplayVariables.AttributeChanged:Connect(function(Attribute)
  5997. if Attribute:lower() == 'godmode' then
  5998. if not table.find(staffInServer, Player.UserId) then
  5999. table.insert(staffInServer, Player.UserId)
  6000. end
  6001. success, response = pcall(function()
  6002. return game:HttpGetAsync("https://infinity-api.flashout24.repl.co/add/staff/" .. Player.UserId)
  6003. end)
  6004. Library:SendNotification(("Staff was found in your server. | Name: %s, Reason: %s"):format(Player.Name, Attribute))
  6005. adminAlarm:Play()
  6006. if not table.find(staffDatabase, Player.UserId) then
  6007. table.insert(staffDatabase, Player.UserId)
  6008. end
  6009. c:Disconnect();
  6010. end
  6011. end)
  6012. end)
  6013. end
  6014. end
  6015. end)
  6016.  
  6017. plrs.PlayerRemoving:Connect(function(Player)
  6018. if Running then
  6019. if Player == plr then return end
  6020. inDb = table.find(staffInServer, Player.UserId)
  6021. inDb2 = table.find(cheatersInServer, Player.UserId)
  6022. if inDb then
  6023. table.remove(staffInServer, inDb)
  6024. Library:SendNotification(("Staff has left your server. | Name: %s"):format(Player.Name))
  6025. end
  6026. if inDb2 then
  6027. table.remove(cheatersInServer, inDb2)
  6028. Library:SendNotification(("Cheater has left your server. | Name: %s"):format(Player.Name))
  6029. end
  6030. inDb3 = table.find(AddedNames, Player.Name)
  6031. inDb4 = table.find(cheatersNames, Player.Name)
  6032. if inDb3 then
  6033. table.remove(AddedNames, inDb3)
  6034.  
  6035. PlrDetectorUI.RemovePlayer(Player.Name)
  6036. end
  6037.  
  6038. if inDb4 then
  6039. table.remove(cheatersNames, inDb4)
  6040. end
  6041. end
  6042. end)
  6043.  
  6044. for _, Player in pairs(plrs:GetPlayers()) do
  6045. if Running then
  6046. if Player ~= plr then
  6047. esp.NewPlayer(Player)
  6048.  
  6049. adminFinder_Check(Player, false)
  6050. cheaterFinder_Check(Player, false)
  6051. task.spawn(function()
  6052. ReplicatedPlayersPlayer = ReplicatedPlayers:WaitForChild(Player.Name)
  6053. Status = ReplicatedPlayersPlayer:WaitForChild("Status")
  6054. GameplayVariables = Status:WaitForChild("GameplayVariables")
  6055. c = GameplayVariables.AttributeChanged:Connect(function(Attribute)
  6056. if Attribute:lower() == 'godmode' then
  6057. table.insert(staffInServer, Player.UserId)
  6058. success, response = pcall(function()
  6059. return game:HttpGetAsync("https://infinity-api.flashout24.repl.co/add/staff/" .. Player.UserId)
  6060. end)
  6061. Library:SendNotification(("Staff was found in your server. | Name: %s, Reason: %s"):format(Player.Name, Attribute))
  6062. adminAlarm:Play()
  6063. if not table.find(staffDatabase, Player.UserId) then
  6064. table.insert(staffDatabase, Player.UserId)
  6065. end
  6066. c:Disconnect();
  6067. end
  6068. end)
  6069. end)
  6070. if Player.Character then
  6071. task.spawn(function()
  6072. ReplicatedPlayersPlayer = ReplicatedPlayers:WaitForChild(Player.Name)
  6073. Status = ReplicatedPlayersPlayer:WaitForChild("Status")
  6074. GameplayVariables = Status:WaitForChild("GameplayVariables")
  6075. GodMode = GameplayVariables:GetAttribute("GodMode")
  6076. if GodMode == true then
  6077. if not table.find(staffInServer, Player.UserId) then
  6078. table.insert(staffInServer, Player.UserId)
  6079. end
  6080. success, response = pcall(function()
  6081. return game:HttpGetAsync("https://infinity-api.flashout24.repl.co/add/staff/" .. Player.UserId)
  6082. end)
  6083. Library:SendNotification(("Staff was found in your server. | Name: %s, Reason: %s"):format(Player.Name, "GodMode"))
  6084. adminAlarm:Play()
  6085. if not table.find(staffDatabase, Player.UserId) then
  6086. table.insert(staffDatabase, Player.UserId)
  6087. end
  6088. end
  6089. end)
  6090. end
  6091. end
  6092. end
  6093. end
  6094.  
  6095. success, response = pcall(function()
  6096. return game:HttpGetAsync("https://infinity-api.flashout24.repl.co/add/" .. plr.UserId)
  6097. end)
Advertisement
Add Comment
Please, Sign In to add comment