SPAMMER_WHO

Project Delta DoggyWare

Dec 5th, 2022
1,972
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 206.40 KB | Source Code | 0 0
  1. -- Optimzation functions
  2. if not LPH_OBFUSCATED and not LPH_JIT_ULTRA then
  3. LPH_JIT_ULTRA = function(f) return f end
  4. LPH_JIT_MAX = function(f) return f end
  5. LPH_JIT = function(f) return f end
  6. LPH_ENCSTR = function(s) return s end
  7. LPH_STRENC = function(s) return s end
  8. LPH_CRASH = function() while true do end return end
  9. end
  10.  
  11. -- Script shit
  12. local script_version_number = "v1.0"
  13. local last_updated = "5/12/2022"
  14.  
  15. --* Setup Script *--
  16. repeat task.wait() until game:IsLoaded() -- Wait for game to load
  17.  
  18.  
  19. -- Main veriables
  20. local plrs = game["Players"]
  21. local ws = game["Workspace"]
  22. local Workspace = game["Workspace"]
  23. local uis = game["UserInputService"]
  24. local rs = game["RunService"]
  25. local hs = game["HttpService"]
  26. local cgui = game["CoreGui"]
  27. local lighting = game["Lighting"]
  28. local GuiService = game["GuiService"]
  29. local repStorage = game["ReplicatedStorage"]
  30. local tweenService = game["TweenService"]
  31.  
  32. local Terrain = ws:FindFirstChildOfClass("Terrain")
  33. local plr = plrs.LocalPlayer
  34. local mouse = plr:GetMouse()
  35. local Camera = ws.CurrentCamera
  36. local VFXModule = require(repStorage.Modules.VFX)
  37. local ReplicatedPlayers = repStorage:FindFirstChild("Players")
  38. local worldToViewportPoint = Camera.worldToViewportPoint
  39.  
  40. -- Aimbot
  41. local Environment = {}
  42. local updateTick = 0
  43. local UniversalTables = require(repStorage.Modules:WaitForChild("UniversalTables"))
  44.  
  45. repeat task.wait() until ReplicatedPlayers -- Wait for ReplicatedPlayers to load
  46.  
  47. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  48. local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/CookiesServices/Roblox-Scripts/main/uiold"))()
  49. local watermark = library:Watermark("DOGGYWARE | 60 fps | 60ms | " .. script_version_number .. " | Paid")
  50. local ESP, ESP_RenderStepped, Framework = loadstring(game:HttpGet("https://cdn.sourceb.in/bins/Nebt1OQGxC/0"))()
  51.  
  52. -- Player scanner
  53. local InGameCheaters = {}
  54. local InGameStaff = {}
  55.  
  56. -- Removals
  57. local serverLabel
  58.  
  59. local mt = getrawmetatable(game)
  60. setreadonly(mt, false)
  61.  
  62. -- Break solters anti cheat
  63. local badremote = repStorage.Remotes:WaitForChild("\208\149rrrorLog")
  64. badremote:Destroy()
  65.  
  66. -- local function checkRobloxUsername(id)
  67. -- local success, response = pcall(function()
  68. -- return game:HttpGetAsync("https://infinity-api.flashout24.repl.co/check/" .. id)
  69. -- end)
  70. -- if success then
  71. -- local data = game:GetService("HttpService"):JSONDecode(response)
  72. -- if data.status == "success" then
  73. -- return true
  74. -- else
  75. -- return false
  76. -- end
  77. -- else
  78. -- return false
  79. -- end
  80. -- end
  81. -- local function checkRobloxUsernameStaff(id)
  82. -- local success, response = pcall(function()
  83. -- return game:HttpGetAsync("https://infinity-api.flashout24.repl.co/check/staff/" .. id)
  84. -- end)
  85. -- if success then
  86. -- local data = game:GetService("HttpService"):JSONDecode(response)
  87. -- if data.status == "success" then
  88. -- return true
  89. -- else
  90. -- return false
  91. -- end
  92. -- else
  93. -- return false
  94. -- end
  95. -- end
  96. -- local function addRobloxUsername(id)
  97. -- local success, response = pcall(function()
  98. -- return game:HttpGetAsync("https://infinity-api.flashout24.repl.co/add/" .. id)
  99. -- end)
  100. -- if success then
  101. -- local data = game:GetService("HttpService"):JSONDecode(response)
  102. -- if data.status == "success" then
  103. -- return true
  104. -- else
  105. -- return false
  106. -- end
  107. -- else
  108. -- return false
  109. -- end
  110. -- end
  111. -- local function addRobloxUsernameStaff(id)
  112. -- local success, response = pcall(function()
  113. -- return game:HttpGetAsync("https://infinity-api.flashout24.repl.co/add/staff/" .. id)
  114. -- end)
  115. -- if success then
  116. -- local data = game:GetService("HttpService"):JSONDecode(response)
  117. -- if data.status == "success" then
  118. -- return true
  119. -- else
  120. -- return false
  121. -- end
  122. -- else
  123. -- return false
  124. -- end
  125. -- end
  126. -- if addRobloxUsername(plr.UserId) then
  127. -- end
  128. -- table.insert(InGameCheaters, plr.UserId)
  129. -- function CheckCheaterTable(UserID)
  130. -- for i, v in pairs(InGameCheaters) do
  131. -- if v == UserID then
  132. -- print("Cheater Found")
  133. -- return true
  134. -- end
  135. -- end
  136. -- return false
  137. -- end
  138. -- function CheckStaffTable(UserID)
  139. -- for i, v in pairs(InGameStaff) do
  140. -- if v == UserID then
  141. -- print("Staff Found")
  142. -- return true
  143. -- end
  144. -- end
  145. -- return false
  146. -- end
  147. -- function CheckCheaterTable2(UserID)
  148. -- print("Cheater Table: " .. InGameCheaters)
  149. -- for i, v in pairs(InGameCheaters) do
  150. -- print(i, v)
  151. -- if v == UserID then
  152. -- return false
  153. -- end
  154. -- end
  155. -- return true
  156. -- end
  157. -- function CheckStaffTable2(UserID)
  158. -- print("Staff Table: " .. InGameStaff)
  159. -- for i, v in pairs(InGameStaff) do
  160. -- print(i, v)
  161. -- if v == UserID then
  162. -- return false
  163. -- end
  164. -- end
  165. -- return true
  166. -- end
  167.  
  168.  
  169. --[Main Variables]
  170.  
  171. --* Aimbot *--
  172. -- Variables
  173. local RequiredDistance = math.huge
  174. local Typing = false
  175. local Running = false
  176. local Animation = nil
  177. local ServiceConnections = {RenderSteppedConnection = nil, InputBeganConnection = nil, InputEndedConnection = nil, TypingStartedConnection = nil, TypingEndedConnection = nil, MouseMoveConnection = nil}
  178. local IsPartVisible = loadstring(game:HttpGet("https://raw.githubusercontent.com/TechHog8984/TechHub-V3/main/script/misc/ispartvisible.lua"))()
  179. local mousemoverel = mousemoverel or (Input and Input.MouseMove)
  180.  
  181. local BulletLineVisible = false
  182.  
  183. -- Script Settings
  184. Environment.Settings = {
  185. SaveSettings = false, -- Re-execute upon changing
  186. ReloadOnTeleport = true,
  187. Enabled = false,
  188. TargetLock = false, -- Script will relock to the closet person if locked if false
  189. SilentAimEnabled = false,
  190. TimeToTarget = 0,
  191. SilentAimMisschance = 0,
  192. AliveCheck = true,
  193. WallCheck = false, -- Laggy
  194. Sensitivity = 0, -- Animation length (in seconds) before fully locking onto target
  195. ThirdPerson = false, -- Uses mousemoverel instead of CFrame to support locking in third person (could be choppy)
  196. ThirdPersonSensitivity = 3, -- Boundary: 0.1 - 5
  197. TriggerKey = "MouseButton2",
  198. SnapLines = false,
  199. SnapLineColor = "255, 0, 0",
  200. Prediction = false,
  201. PredictionMultiplier = 20,
  202. MaxDistance = 1000,
  203. AiAimbotEnabled = false,
  204. WallBang = false,
  205. WallType = "Wood",
  206. WallTypes = {"Wood", "WoodPlanks", "Fabric", "CorrodedMetal", "Plastic"},
  207. Toggle = false,
  208. LockPart = "Head", -- Body part to lock on
  209. AILocked = false
  210. }
  211.  
  212. Environment.FOVSettings = {
  213. Enabled = false,
  214. Visible = true,
  215. Amount = 90,
  216. Color = "255, 255, 255",
  217. LockedColor = "255, 0, 0",
  218. Transparency = 0.5,
  219. Sides = 60,
  220. Thickness = 1,
  221. Filled = false
  222. }
  223.  
  224. Environment.FOVCircle = Drawing.new("Circle")
  225. Environment.SnapLine = Drawing.new("Line")
  226. Environment.Locked = nil
  227.  
  228. -- Core Functions
  229. local function GetColor(Color)
  230. local R = tonumber(string.match(Color, "([%d]+)[%s]*,[%s]*[%d]+[%s]*,[%s]*[%d]+"))
  231. local G = tonumber(string.match(Color, "[%d]+[%s]*,[%s]*([%d]+)[%s]*,[%s]*[%d]+"))
  232. local B = tonumber(string.match(Color, "[%d]+[%s]*,[%s]*[%d]+[%s]*,[%s]*([%d]+)"))
  233.  
  234. return Color3.fromRGB(R, G, B)
  235. end
  236.  
  237. local function IsDown(EnumItem)
  238. -- Check if a key being held down is down
  239. return (EnumItem.EnumType == Enum.KeyCode and uis:IsKeyDown(EnumItem)) or (EnumItem.EnumType == Enum.UserInputType and uis:IsMouseButtonPressed(EnumItem))
  240. end
  241.  
  242. ServiceConnections.MouseMoveConnection = mouse.Move:Connect(function()
  243. if Environment.Settings.WallBang then
  244. out = (tostring(mouse.Target.Material)):gsub("Enum.Material.", "")
  245. Environment.Settings.WallType = out
  246. end
  247. end)
  248.  
  249. local function GetClosestPlayer()
  250. local ClosestPlayer = nil
  251. local RequiredDistanceFOV = nil
  252. local RequiredDistancePlayer = Environment.Settings.MaxDistance
  253. local WallBangPossible = false
  254. if Environment.Locked == nil then
  255. Environment.Settings.AILocked = false
  256. end
  257.  
  258. if Environment.FOVSettings.Enabled then
  259. RequiredDistanceFOV = Environment.FOVSettings.Amount
  260. else
  261. RequiredDistanceFOV = Camera.ViewportSize.X / 2
  262. end
  263.  
  264. if Environment.Settings.AiAimbotEnabled then
  265. local AiZones = Workspace:FindFirstChild("AiZones")
  266. for _, Zone in pairs(AiZones:GetChildren()) do
  267. for _, Item in pairs(Zone:GetChildren()) do
  268. if Item:FindFirstChild("HumanoidRootPart") then
  269. if Environment.Settings.AliveCheck and Item.Humanoid.Health <= 0 then continue end
  270.  
  271. local Vector, OnScreen = Camera:WorldToViewportPoint(Item.HumanoidRootPart.Position)
  272. local DistanceFromMouse = (Vector2.new(uis:GetMouseLocation().X, uis:GetMouseLocation().Y) - Vector2.new(Vector.X, Vector.Y)).Magnitude
  273. local DistanceFromPlayer = math.floor((plr.Character.HumanoidRootPart.Position - Item.HumanoidRootPart.Position).Magnitude + 0.5)
  274. if OnScreen then
  275. if DistanceFromMouse <= RequiredDistanceFOV then
  276. if DistanceFromPlayer <= RequiredDistancePlayer then
  277. RequiredDistancePlayer = DistanceFromPlayer
  278. ClosestPlayer = Item
  279. if Environment.Locked == nil then
  280. Environment.Settings.AILocked = true
  281. end
  282. end
  283. end
  284. end
  285. end
  286. end
  287. end
  288. end
  289.  
  290. if not Environment.Settings.AILocked then
  291. for _, v in next, plrs:GetPlayers() do
  292. if v ~= plr then
  293. local HumanoidRootPart = v.Character and v.Character:FindFirstChild("HumanoidRootPart")
  294. if v.Character and HumanoidRootPart then
  295. local dwHumanoid = v.Character:FindFirstChild("Humanoid")
  296. if Environment.Settings.AliveCheck and dwHumanoid and v.Character.Humanoid.Health <= 0 then continue end
  297. if Environment.Settings.WallBang then
  298. for i,v in pairs(Environment.Settings.WallTypes) do
  299. if v == Environment.Settings.WallType then
  300. WallBangPossible = true
  301. break
  302. end
  303. end
  304. if not WallBangPossible then
  305. if Environment.Settings.WallCheck and not IsPartVisible(HumanoidRootPart, v.Character) then continue end
  306. end
  307. else
  308. if Environment.Settings.WallCheck and not IsPartVisible(HumanoidRootPart, v.Character) then continue end
  309. end
  310.  
  311. local Vector, OnScreen = Camera:WorldToViewportPoint(v.Character[Environment.Settings.LockPart].Position)
  312. local DistanceFromMouse = (Vector2.new(uis:GetMouseLocation().X, uis:GetMouseLocation().Y) - Vector2.new(Vector.X, Vector.Y)).Magnitude
  313. local DistanceFromPlayer = math.floor((plr.Character.HumanoidRootPart.Position - v.Character.HumanoidRootPart.Position).Magnitude + 0.5)
  314. if OnScreen then
  315. if DistanceFromMouse <= RequiredDistanceFOV then
  316. if DistanceFromPlayer <= RequiredDistancePlayer then
  317. RequiredDistancePlayer = DistanceFromPlayer
  318. ClosestPlayer = v
  319.  
  320. if Environment.Locked == nil then
  321. Environment.Settings.AILocked = false
  322. end
  323. end
  324. end
  325. end
  326. end
  327. end
  328. end
  329. end
  330.  
  331. Environment.Locked = ClosestPlayer
  332. end
  333.  
  334. -- Silent Aim hook function
  335. LPH_JIT_MAX(function()
  336. local oldHook = nil
  337. oldHook = hookfunction(require(repStorage.Modules.FPS.Bullet).CreateBullet, function(...)
  338. local args = {...}
  339. if Environment.Settings.SilentAimEnabled then
  340. local shouldMiss = false
  341. if Environment.Settings.SilentAimMisschance >= math.random(1, 100) then
  342. shouldMiss = true
  343. end
  344.  
  345. if Environment.Locked ~= nil then
  346. local head = nil
  347. local Prediction = Vector3.new(0, 0, 0)
  348.  
  349. if Environment.Settings.AILocked then
  350. head = Environment.Locked:FindFirstChild(Environment.Settings.LockPart).Position
  351. if Environment.Settings.Prediction then
  352. local PlayerRoot = Environment.Locked:FindFirstChild("HumanoidRootPart")
  353.  
  354. if PlayerRoot.Velocity.Magnitude > 0 then
  355. local MuzzleVelocity = game.ReplicatedStorage.AmmoTypes[
  356. tostring(
  357. game.ReplicatedStorage.Players[tostring(game.Players.LocalPlayer)].Inventory[
  358. tostring(
  359. game.ReplicatedStorage.Players[tostring(game.Players.LocalPlayer.Name)].Status.GameplayVariables.EquippedTool.Value
  360. )
  361. ].Attachments.Magazine:FindFirstChildOfClass("StringValue").ItemProperties.LoadedAmmo:FindFirstChildOfClass(
  362. "Folder"
  363. ):GetAttribute("AmmoType")
  364. )
  365. ]:GetAttribute("MuzzleVelocity")
  366. if MuzzleVelocity ~= nil then
  367. local TargetStuds = math.floor((head - Camera.CFrame.p).Magnitude + 0.5)
  368. MuzzleVelocity = MuzzleVelocity / 1.1
  369. local TimeToTarget = TargetStuds / MuzzleVelocity
  370.  
  371. Prediction = PlayerRoot.Velocity * TimeToTarget
  372. end
  373. end
  374. end
  375. else
  376. head = Environment.Locked.Character:FindFirstChild(Environment.Settings.LockPart).Position
  377. if Environment.Settings.Prediction then
  378. local PlayerRoot = Environment.Locked.Character:FindFirstChild("HumanoidRootPart")
  379. if PlayerRoot.Velocity.Magnitude > 0 then
  380. local MuzzleVelocity = game.ReplicatedStorage.AmmoTypes[
  381. tostring(
  382. game.ReplicatedStorage.Players[tostring(game.Players.LocalPlayer)].Inventory[
  383. tostring(
  384. game.ReplicatedStorage.Players[tostring(game.Players.LocalPlayer.Name)].Status.GameplayVariables.EquippedTool.Value
  385. )
  386. ].Attachments.Magazine:FindFirstChildOfClass("StringValue").ItemProperties.LoadedAmmo:FindFirstChildOfClass(
  387. "Folder"
  388. ):GetAttribute("AmmoType")
  389. )
  390. ]:GetAttribute("MuzzleVelocity")
  391. if MuzzleVelocity ~= nil then
  392. local TargetStuds = math.floor((head - Camera.CFrame.p).Magnitude + 0.5)
  393. MuzzleVelocity = MuzzleVelocity / 1.1
  394. local TimeToTarget = TargetStuds / MuzzleVelocity
  395.  
  396. Prediction = PlayerRoot.Velocity * TimeToTarget
  397. end
  398. end
  399. end
  400. end
  401.  
  402. if shouldMiss then
  403. local Where = math.random(1, 4)
  404. if Where == 1 then
  405. head = head + Vector3.new(0, 0, 10)
  406. elseif Where == 2 then
  407. head = head + Vector3.new(0, 0, -10)
  408. elseif Where == 3 then
  409. head = head + Vector3.new(10, 0, 0)
  410. elseif Where == 4 then
  411. head = head + Vector3.new(-10, 0, 0)
  412. end
  413. end
  414. if head ~= nil then
  415. args[9] = {CFrame = CFrame.lookAt(
  416. plr.Character.HumanoidRootPart.Position + Vector3.new(
  417. 0, UniversalTables.UniversalTable.GameSettings.RootScanHeight, 0
  418. ),
  419. head + Prediction
  420. )}
  421. end
  422. return oldHook(table.unpack(args))
  423. end
  424. end
  425.  
  426. return oldHook(table.unpack(args))
  427. end)
  428. end)()
  429.  
  430.  
  431. ServiceConnections.InputBeganConnection = uis.InputBegan:Connect(function(Input)
  432. if not Typing then
  433. pcall(function()
  434. if Input.UserInputType == Enum.UserInputType[Environment.Settings.TriggerKey] then
  435. if Environment.Settings.Toggle then
  436. Running = not Running
  437.  
  438. if not Running then
  439. Environment.Locked = nil
  440. Animation:Cancel()
  441. Environment.FOVCircle.Color = GetColor(Environment.FOVSettings.Color)
  442. end
  443. else
  444. Running = true
  445. end
  446. end
  447. end)
  448. end
  449. end)
  450. ServiceConnections.InputEndedConnection = uis.InputEnded:Connect(function(Input)
  451. if not Typing then
  452. pcall(function()
  453. if Input.UserInputType == Enum.UserInputType[Environment.Settings.TriggerKey] then
  454. if not Environment.Settings.Toggle then
  455. Running = false
  456. Environment.Locked = nil
  457. Animation:Cancel()
  458. Environment.FOVCircle.Color = GetColor(Environment.FOVSettings.Color)
  459. end
  460. end
  461. end)
  462. end
  463. end)
  464.  
  465.  
  466. local Loaded, Running = false, true
  467. local Keybinds = {
  468. Aimbot = "MouseButton2",
  469. Walkspeed = "Z",
  470. CameraZoom = "X",
  471. FakeLag = "C",
  472. }
  473. local HitBoxParts = {'Head', 'LeftUpperArm', 'LeftLowerArm', 'LeftHand', 'RightUpperArm', 'RightLowerArm', 'RightHand', 'LeftUpperLeg', 'LeftLowerLeg', 'LeftFoot', 'RightUpperLeg', 'RightLowerLeg', 'RightFoot', 'UpperTorso', 'LowerTorso'}
  474.  
  475. --* Keybind Viewer Init *--
  476. KeybindViewer = {
  477. Size = Vector2.new(300, 14),
  478.  
  479. Main = Framework:Draw("Square", {Thickness = 0, Size = Vector2.new(155, 165), Filled = true, Position = Vector2.new(0, Camera.ViewportSize.Y / 2), Color = library.flags["Tab Background"], Visible = false}),
  480. Border = Framework:Draw("Square", {Thickness = 2, Size = Vector2.new(155, 165), Filled = false, Position = Vector2.new(0, Camera.ViewportSize.Y / 2), Color = library.flags["Window Background"], Visible = false}),
  481. TopBorder = Framework:Draw("Square", {Thickness = 1, Size = Vector2.new(149, 3), Filled = true, Position = Vector2.new(2, Camera.ViewportSize.Y / 2 + 2), Color = library.flags["Accent"], Visible = false}),
  482.  
  483. Texts = {}
  484. }
  485. local Title = Framework:Draw("Text", {
  486. Text = "Keybinds",
  487. Font = 3,
  488. Size = 18,
  489. Position = Vector2.new(KeybindViewer.Main.Position.X + 7, KeybindViewer.Main.Position.Y + 5),
  490. Color = Color3.fromRGB(255,255,255),
  491. Visible = false,
  492. Outline = true
  493. })
  494. table.insert(KeybindViewer.Texts, Title)
  495. local WalkspeedKeybindOld = Framework:Draw("Text", {
  496. Text = "Walk Speed [C]",
  497. Font = 3,
  498. Size = 16,
  499. Position = Vector2.new(KeybindViewer.Main.Position.X + 30, KeybindViewer.Main.Position.Y + 40),
  500. Color = Color3.fromRGB(255,255,255),
  501. Visible = false,
  502. Outline = true
  503. })
  504. table.insert(KeybindViewer.Texts, WalkspeedKeybindOld)
  505. local InventoryViewerKeybind = Framework:Draw("Text", {
  506. Text = "Inventorys [Y]",
  507. Font = 3,
  508. Size = 16,
  509. Position = Vector2.new(KeybindViewer.Main.Position.X + 30, KeybindViewer.Main.Position.Y + 60),
  510. Color = Color3.fromRGB(255,255,255),
  511. Visible = false,
  512. Outline = true
  513. })
  514. table.insert(KeybindViewer.Texts, InventoryViewerKeybind)
  515. local CameraZoomKeybind = Framework:Draw("Text", {
  516. Text = "Camera Zoom [X]",
  517. Font = 3,
  518. Size = 16,
  519. Position = Vector2.new(KeybindViewer.Main.Position.X + 30, KeybindViewer.Main.Position.Y + 80),
  520. Color = Color3.fromRGB(255,255,255),
  521. Visible = false,
  522. Outline = true
  523. })
  524. table.insert(KeybindViewer.Texts, CameraZoomKeybind)
  525. local ThirdPersonKeybind = Framework:Draw("Text", {
  526. Text = "Third Person [N]",
  527. Font = 3,
  528. Size = 16,
  529. Position = Vector2.new(KeybindViewer.Main.Position.X + 30, KeybindViewer.Main.Position.Y + 100),
  530. Color = Color3.fromRGB(255,255,255),
  531. Visible = false,
  532. Outline = true
  533. })
  534. table.insert(KeybindViewer.Texts, ThirdPersonKeybind)
  535. local HipHeightKeybind = Framework:Draw("Text", {
  536. Text = "Hip Height [L]",
  537. Font = 3,
  538. Size = 16,
  539. Position = Vector2.new(KeybindViewer.Main.Position.X + 30, KeybindViewer.Main.Position.Y + 120),
  540. Color = Color3.fromRGB(255,255,255),
  541. Visible = false,
  542. Outline = true
  543. })
  544. table.insert(KeybindViewer.Texts, HipHeightKeybind)
  545. local UnlockDoorKeybind = Framework:Draw("Text", {
  546. Text = "Unlock Door [O]",
  547. Font = 3,
  548. Size = 16,
  549. Position = Vector2.new(KeybindViewer.Main.Position.X + 30, KeybindViewer.Main.Position.Y + 140),
  550. Color = Color3.fromRGB(255,255,255),
  551. Visible = false,
  552. Outline = true
  553. })
  554. table.insert(KeybindViewer.Texts, UnlockDoorKeybind)
  555.  
  556.  
  557. -- Setup Table
  558. local Old_Gravity = workspace.Gravity
  559. local Old_Decoration = gethiddenproperty(Terrain, "Decoration")
  560. local Default_Walkspeed = plr.Character.Humanoid.WalkSpeed
  561. local Default_JumpHeight = plr.Character.Humanoid.JumpHeight
  562. local Old_FOV = Camera.FieldOfView
  563. local Old_Lighting = {
  564. Ambient = lighting.Ambient,
  565. Brightness = lighting.Brightness,
  566. ColorShift_Bottom = lighting.ColorShift_Bottom,
  567. ColorShift_Top = lighting.ColorShift_Top,
  568. EnvironmentDiffuseScale = lighting.EnvironmentDiffuseScale,
  569. EnvironmentSpecularScale = lighting.EnvironmentSpecularScale,
  570. GlobalShadows = lighting.GlobalShadows,
  571. OutdoorAmbient = lighting.OutdoorAmbient,
  572. ClockTime = lighting.ClockTime,
  573. TimeOfDay = lighting.TimeOfDay,
  574. ExposureCompensation = lighting.ExposureCompensation
  575. }
  576. local Old_Ammo = {
  577. ["762x54AP"] = {
  578. ["Drop"] = repStorage.AmmoTypes["762x54AP"]:GetAttribute("ProjectileDrop"),
  579. ["Speed"] = repStorage.AmmoTypes["762x54AP"]:GetAttribute("MuzzleVelocity"),
  580. ["Damage"] = repStorage.AmmoTypes["762x54AP"]:GetAttribute("Damage"),
  581. ["Pellets"] = repStorage.AmmoTypes["762x54AP"]:GetAttribute("Pellets"),
  582. ["ArmorPen"] = repStorage.AmmoTypes["762x54AP"]:GetAttribute("ArmorPen")
  583. },
  584. ["9x18AP"] = {
  585. ["Drop"] = repStorage.AmmoTypes["9x18AP"]:GetAttribute("ProjectileDrop"),
  586. ["Speed"] = repStorage.AmmoTypes["9x18AP"]:GetAttribute("MuzzleVelocity"),
  587. ["Damage"] = repStorage.AmmoTypes["9x18AP"]:GetAttribute("Damage"),
  588. ["Pellets"] = repStorage.AmmoTypes["9x18AP"]:GetAttribute("Pellets"),
  589. ["ArmorPen"] = repStorage.AmmoTypes["9x18AP"]:GetAttribute("ArmorPen")
  590. },
  591. ["762x39AP"] = {
  592. ["Drop"] = repStorage.AmmoTypes["762x39AP"]:GetAttribute("ProjectileDrop"),
  593. ["Speed"] = repStorage.AmmoTypes["762x39AP"]:GetAttribute("MuzzleVelocity"),
  594. ["Damage"] = repStorage.AmmoTypes["762x39AP"]:GetAttribute("Damage"),
  595. ["Pellets"] = repStorage.AmmoTypes["762x39AP"]:GetAttribute("Pellets"),
  596. ["ArmorPen"] = repStorage.AmmoTypes["762x39AP"]:GetAttribute("ArmorPen")
  597. },
  598. ["9x18Z"] = {
  599. ["Drop"] = repStorage.AmmoTypes["9x18Z"]:GetAttribute("ProjectileDrop"),
  600. ["Speed"] = repStorage.AmmoTypes["9x18Z"]:GetAttribute("MuzzleVelocity"),
  601. ["Damage"] = repStorage.AmmoTypes["9x18Z"]:GetAttribute("Damage"),
  602. ["Pellets"] = repStorage.AmmoTypes["9x18Z"]:GetAttribute("Pellets"),
  603. ["ArmorPen"] = repStorage.AmmoTypes["9x18Z"]:GetAttribute("ArmorPen")
  604. },
  605. ["762x25Tracer"] = {
  606. ["Drop"] = repStorage.AmmoTypes["762x25Tracer"]:GetAttribute("ProjectileDrop"),
  607. ["Speed"] = repStorage.AmmoTypes["762x25Tracer"]:GetAttribute("MuzzleVelocity"),
  608. ["Damage"] = repStorage.AmmoTypes["762x25Tracer"]:GetAttribute("Damage"),
  609. ["Pellets"] = repStorage.AmmoTypes["762x25Tracer"]:GetAttribute("Pellets"),
  610. ["ArmorPen"] = repStorage.AmmoTypes["762x25Tracer"]:GetAttribute("ArmorPen")
  611. },
  612. ["556x45Tracer"] = {
  613. ["Drop"] = repStorage.AmmoTypes["556x45Tracer"]:GetAttribute("ProjectileDrop"),
  614. ["Speed"] = repStorage.AmmoTypes["556x45Tracer"]:GetAttribute("MuzzleVelocity"),
  615. ["Damage"] = repStorage.AmmoTypes["556x45Tracer"]:GetAttribute("Damage"),
  616. ["Pellets"] = repStorage.AmmoTypes["556x45Tracer"]:GetAttribute("Pellets"),
  617. ["ArmorPen"] = repStorage.AmmoTypes["556x45Tracer"]:GetAttribute("ArmorPen")
  618. },
  619. ["762x25AP"] = {
  620. ["Drop"] = repStorage.AmmoTypes["762x25AP"]:GetAttribute("ProjectileDrop"),
  621. ["Speed"] = repStorage.AmmoTypes["762x25AP"]:GetAttribute("MuzzleVelocity"),
  622. ["Damage"] = repStorage.AmmoTypes["762x25AP"]:GetAttribute("Damage"),
  623. ["Pellets"] = repStorage.AmmoTypes["762x25AP"]:GetAttribute("Pellets"),
  624. ["ArmorPen"] = repStorage.AmmoTypes["762x25AP"]:GetAttribute("ArmorPen")
  625. },
  626. ["762x39Tracer"] = {
  627. ["Drop"] = repStorage.AmmoTypes["762x39Tracer"]:GetAttribute("ProjectileDrop"),
  628. ["Speed"] = repStorage.AmmoTypes["762x39Tracer"]:GetAttribute("MuzzleVelocity"),
  629. ["Damage"] = repStorage.AmmoTypes["762x39Tracer"]:GetAttribute("Damage"),
  630. ["Pellets"] = repStorage.AmmoTypes["762x39Tracer"]:GetAttribute("Pellets"),
  631. ["ArmorPen"] = repStorage.AmmoTypes["762x39Tracer"]:GetAttribute("ArmorPen")
  632. },
  633. ["762x54Tracer"] = {
  634. ["Drop"] = repStorage.AmmoTypes["762x54Tracer"]:GetAttribute("ProjectileDrop"),
  635. ["Speed"] = repStorage.AmmoTypes["762x54Tracer"]:GetAttribute("MuzzleVelocity"),
  636. ["Damage"] = repStorage.AmmoTypes["762x54Tracer"]:GetAttribute("Damage"),
  637. ["Pellets"] = repStorage.AmmoTypes["762x54Tracer"]:GetAttribute("Pellets"),
  638. ["ArmorPen"] = repStorage.AmmoTypes["762x54Tracer"]:GetAttribute("ArmorPen")
  639. },
  640. ["9x19Tracer"] = {
  641. ["Drop"] = repStorage.AmmoTypes["9x19Tracer"]:GetAttribute("ProjectileDrop"),
  642. ["Speed"] = repStorage.AmmoTypes["9x19Tracer"]:GetAttribute("MuzzleVelocity"),
  643. ["Damage"] = repStorage.AmmoTypes["9x19Tracer"]:GetAttribute("Damage"),
  644. ["Pellets"] = repStorage.AmmoTypes["9x19Tracer"]:GetAttribute("Pellets"),
  645. ["ArmorPen"] = repStorage.AmmoTypes["9x19Tracer"]:GetAttribute("ArmorPen")
  646. },
  647. ["9x18Tracer"] = {
  648. ["Drop"] = repStorage.AmmoTypes["9x18Tracer"]:GetAttribute("ProjectileDrop"),
  649. ["Speed"] = repStorage.AmmoTypes["9x18Tracer"]:GetAttribute("MuzzleVelocity"),
  650. ["Damage"] = repStorage.AmmoTypes["9x18Tracer"]:GetAttribute("Damage"),
  651. ["Pellets"] = repStorage.AmmoTypes["9x18Tracer"]:GetAttribute("Pellets"),
  652. ["ArmorPen"] = repStorage.AmmoTypes["9x18Tracer"]:GetAttribute("ArmorPen")
  653. },
  654. ["9x19AP"] = {
  655. ["Drop"] = repStorage.AmmoTypes["9x19AP"]:GetAttribute("ProjectileDrop"),
  656. ["Speed"] = repStorage.AmmoTypes["9x19AP"]:GetAttribute("MuzzleVelocity"),
  657. ["Damage"] = repStorage.AmmoTypes["9x19AP"]:GetAttribute("Damage"),
  658. ["Pellets"] = repStorage.AmmoTypes["9x19AP"]:GetAttribute("Pellets"),
  659. ["ArmorPen"] = repStorage.AmmoTypes["9x19AP"]:GetAttribute("ArmorPen")
  660. },
  661. ["556x45AP"] = {
  662. ["Drop"] = repStorage.AmmoTypes["556x45AP"]:GetAttribute("ProjectileDrop"),
  663. ["Speed"] = repStorage.AmmoTypes["556x45AP"]:GetAttribute("MuzzleVelocity"),
  664. ["Damage"] = repStorage.AmmoTypes["556x45AP"]:GetAttribute("Damage"),
  665. ["Pellets"] = repStorage.AmmoTypes["556x45AP"]:GetAttribute("Pellets"),
  666. ["ArmorPen"] = repStorage.AmmoTypes["556x45AP"]:GetAttribute("ArmorPen")
  667. },
  668. ["9x39Z"] = {
  669. ["Drop"] = repStorage.AmmoTypes["9x39Z"]:GetAttribute("ProjectileDrop"),
  670. ["Speed"] = repStorage.AmmoTypes["9x39Z"]:GetAttribute("MuzzleVelocity"),
  671. ["Damage"] = repStorage.AmmoTypes["9x39Z"]:GetAttribute("Damage"),
  672. ["Pellets"] = repStorage.AmmoTypes["9x39Z"]:GetAttribute("Pellets"),
  673. ["ArmorPen"] = repStorage.AmmoTypes["9x39Z"]:GetAttribute("ArmorPen")
  674. },
  675. ["9x39AP"] = {
  676. ["Drop"] = repStorage.AmmoTypes["9x39AP"]:GetAttribute("ProjectileDrop"),
  677. ["Speed"] = repStorage.AmmoTypes["9x39AP"]:GetAttribute("MuzzleVelocity"),
  678. ["Damage"] = repStorage.AmmoTypes["9x39AP"]:GetAttribute("Damage"),
  679. ["Pellets"] = repStorage.AmmoTypes["9x39AP"]:GetAttribute("Pellets"),
  680. ["ArmorPen"] = repStorage.AmmoTypes["9x39AP"]:GetAttribute("ArmorPen")
  681. },
  682. ["12gaSlug"] = {
  683. ["Drop"] = repStorage.AmmoTypes["12gaSlug"]:GetAttribute("ProjectileDrop"),
  684. ["Speed"] = repStorage.AmmoTypes["12gaSlug"]:GetAttribute("MuzzleVelocity"),
  685. ["Damage"] = repStorage.AmmoTypes["12gaSlug"]:GetAttribute("Damage"),
  686. ["Pellets"] = repStorage.AmmoTypes["12gaSlug"]:GetAttribute("Pellets"),
  687. ["ArmorPen"] = repStorage.AmmoTypes["12gaSlug"]:GetAttribute("ArmorPen"),
  688. ["Spread"] = repStorage.AmmoTypes["12gaSlug"]:GetAttribute("AccuracyDeviation")
  689. },
  690. ["12gaBuckshot"] = {
  691. ["Drop"] = repStorage.AmmoTypes["12gaBuckshot"]:GetAttribute("ProjectileDrop"),
  692. ["Speed"] = repStorage.AmmoTypes["12gaBuckshot"]:GetAttribute("MuzzleVelocity"),
  693. ["Damage"] = repStorage.AmmoTypes["12gaBuckshot"]:GetAttribute("Damage"),
  694. ["Pellets"] = repStorage.AmmoTypes["12gaBuckshot"]:GetAttribute("Pellets"),
  695. ["ArmorPen"] = repStorage.AmmoTypes["12gaBuckshot"]:GetAttribute("ArmorPen"),
  696. ["Spread"] = repStorage.AmmoTypes["12gaBuckshot"]:GetAttribute("AccuracyDeviation")
  697. },
  698. ["12gaFlechette"] = {
  699. ["Drop"] = repStorage.AmmoTypes["12gaFlechette"]:GetAttribute("ProjectileDrop"),
  700. ["Speed"] = repStorage.AmmoTypes["12gaFlechette"]:GetAttribute("MuzzleVelocity"),
  701. ["Damage"] = repStorage.AmmoTypes["12gaFlechette"]:GetAttribute("Damage"),
  702. ["Pellets"] = repStorage.AmmoTypes["12gaFlechette"]:GetAttribute("Pellets"),
  703. ["ArmorPen"] = repStorage.AmmoTypes["12gaFlechette"]:GetAttribute("ArmorPen"),
  704. ["Spread"] = repStorage.AmmoTypes["12gaFlechette"]:GetAttribute("AccuracyDeviation")
  705. }
  706. }
  707. local esp = {
  708. players = {},
  709. objects = {},
  710. otherObjects = {},
  711. enabled = false,
  712. teamcheck = false,
  713. fontsize = 13,
  714. rainbowmode = false,
  715. rainbowcolor = Color3.fromHSV(0, 1, 1),
  716. font = 3,
  717. settings = {
  718. name = {enabled = false, outline = false, displaynames = false, color = Color3.fromRGB(255, 255, 255)},
  719. box = {enabled = false, outline = false, color = Color3.fromRGB(255, 255, 255)},
  720. tool = {enabled = false, outline = false, color = Color3.fromRGB(255, 255, 255)},
  721. healthbar = {enabled = false, outline = false},
  722. healthtext = {enabled = false, outline = false, color = Color3.fromRGB(255, 255, 255)},
  723. distance = {enabled = false, outline = false, color = Color3.fromRGB(255, 255, 255)},
  724. viewangle = {enabled = false, color = Color3.fromRGB(255, 255, 255)},
  725. tracers = {enabled = false, color = Color3.fromRGB(255, 255, 255)},
  726. skeleton = {enabled = false, color = Color3.fromRGB(255, 255, 255)},
  727. chams = {enabled = false, color = Color3.fromRGB(255, 255, 255)},
  728. chamsOutline = {enabled = false, color = Color3.fromRGB(255, 255, 255)},
  729. }
  730. }
  731.  
  732. local function IsDown(EnumItem)
  733. return (EnumItem.EnumType == Enum.KeyCode and uis:IsKeyDown(EnumItem)) or (EnumItem.EnumType == Enum.UserInputType and uis:IsMouseButtonPressed(EnumItem))
  734. end
  735.  
  736.  
  737.  
  738. local ThirdPersonToggled
  739. local BanRemote
  740. local Character = plr.Character
  741. if Character then
  742. local Humanoid = Character:FindFirstChildOfClass("Humanoid")
  743. if Humanoid then
  744. for _, connection in pairs(getconnections(Humanoid.StateChanged)) do
  745. local Function = connection.Function
  746. local Constants = getconstants(Function)
  747. if table.find(Constants, "FireServer") then
  748. connection:Disable()
  749. local Upvalues = getupvalues(Function)
  750. for i, v in pairs(Upvalues) do
  751. if typeof(v) == "Instance" and v:IsA("RemoteEvent") then
  752. BanRemote = v
  753. end
  754. end
  755. end
  756. end
  757. end
  758. end
  759. local LocalPlayerName = plr.Name
  760. LPH_JIT_MAX(function()
  761. local emptyFunction = function() end
  762. __newindex = hookmetamethod(game, "__newindex", function(i, v, n_v)
  763. --if not Running or checkcaller() or not Loaded then return __newindex(i, v, n_v) end
  764.  
  765. if i == Camera and v == "CFrame" then
  766. LastCameraCFrame = n_v
  767. if library.flags["thirdpersonEnabled"] and ThirdPersonToggled then
  768. return __newindex(i, v, n_v + Camera.CFrame.LookVector * - library.flags["thirdpersonValue"])
  769. end
  770. if library.flags["nocamerabobEnabled"] then
  771. local Script = getcallingscript()
  772. if tostring(Script) == "CharacterController" then
  773. return __newindex(i, v, Camera.CFrame)
  774. end
  775. end
  776. end
  777. return __newindex(i, v, n_v)
  778. end)
  779. __namecall = hookmetamethod(game, "__namecall", function(self, ...)
  780. local args = {...}
  781.  
  782. -- Remove Character Tilt
  783. if getnamecallmethod() == "FireServer" and tostring(self) == "CharacterTilt" then
  784. if library.flags["noplayertiltEnabled"] then
  785. return
  786. end
  787. end
  788.  
  789. -- Anti Error
  790. if getnamecallmethod() == "FireServer" and tostring(self) == "ErrorLog" then
  791. return
  792. end
  793.  
  794. -- Anti Drown
  795. if getnamecallmethod() == "FireServer" and tostring(self) == "Drowning" then
  796. if library.flags["antidrownEnabled"] then
  797. return
  798. end
  799. end
  800.  
  801.  
  802. -- local args = {
  803. -- [1] = game:GetService("Players").shoniel.Character,
  804. -- [2] = game:GetService("Players").shoniel.Character.HeadTopHitBox,
  805. -- [3] = "36.9302864074707posY3261694156Id1670047558.0819144",
  806. -- [4] = {
  807. -- [1] = {
  808. -- ["step"] = 0.022019293159246445
  809. -- }
  810. -- },
  811. -- [5] = Vector3.new(-148.32179260253906, 14.491833686828613, -413.7900390625),
  812. -- [6] = 14.49183464050293,
  813. -- [7] = 0.6133880615234375,
  814. -- [8] = 0.084930419921875,
  815. -- [9] = {
  816. -- ["a1"] = 128,
  817. -- ["a2"] = 2300
  818. -- }
  819. -- }
  820.  
  821. -- Hit Notification
  822. if getnamecallmethod() == "FireServer" and tostring(self) == "ProjectileInflict" then
  823. if library.flags["hitnotificationsEnabled"] then
  824. local Hit = args[2]
  825. local TargetStuds = math.floor((Hit.Position - Camera.CFrame.p).Magnitude + 0.5)
  826.  
  827. -- Remake the notification into a library
  828. OrionLib:MakeNotification({
  829. Name = "Hit Notification",
  830. Content = " Player Hit: " .. Hit.Parent.Name .. "\nPart Hit: " .. Hit.Name .. "\nDistance Away: " .. TargetStuds,
  831. Image = "rbxassetid://4483345998",
  832. Time = library.flags["hitnotificationsDelay"]
  833. })
  834. end
  835.  
  836. if library.flags["nobulletdropEnabled"] then
  837. args[9]["a1"] = 0
  838. return __namecall(self, unpack(args))
  839. end
  840. end
  841.  
  842. return __namecall(self, ...)
  843. end)
  844. end)()
  845.  
  846. function Bypass_Client()
  847. for i, v in pairs(getgc(true)) do
  848. if type(v) == "table" and rawget(v, "A1Sent") ~= nil then
  849. rawset(v, "A1Sent", true)
  850. end
  851. end
  852. end
  853.  
  854. local FPS = nil
  855. for i, v in next, getgc(true) do
  856. if type(v) == "table" and rawget(v, "updateClient") then
  857. FPS = v
  858. end
  859. end
  860.  
  861. local Visor
  862. local Utility
  863. Bypass_Client()
  864. local FPS_new = FPS.new
  865. FPS.new = function(...)
  866. local Call = FPS_new(...)
  867. Bypass_Client()
  868. for i, v in pairs(plr.PlayerGui:GetDescendants()) do
  869. if v:IsA("TextLabel") then
  870. if v.Text:find("| Server") or v.Text:find(game.JobId:lower()) or v.Text:find(plr.UserId) or v.Text:find("Development") then
  871. serverLabel = v
  872. end
  873. end
  874. end
  875. if serverLabel then
  876. serverLabel:GetPropertyChangedSignal("Text"):Connect(LPH_JIT_MAX(function()
  877. if library.flags["noserverinfoEnabled"] then
  878. serverLabel.Text = ""
  879. end
  880. end))
  881. end
  882. task.spawn(function()
  883. LPH_JIT_MAX(function()
  884. local MainGui = plr.PlayerGui:WaitForChild("MainGui")
  885. if MainGui then
  886. local MainFrame = MainGui:WaitForChild("MainFrame")
  887. if MainFrame then
  888. local ScreenEffects = MainFrame:WaitForChild("ScreenEffects")
  889. Visor = ScreenEffects:WaitForChild("Visor")
  890. if Visor then
  891. Visor:GetPropertyChangedSignal("Visible"):Connect(LPH_JIT_MAX(function()
  892. if library.flags["novisorEnabled"] then
  893. Visor.Visible = false
  894. else
  895. Visor.Visible = true
  896. end
  897. end))
  898. end
  899. end
  900. end
  901. end)()
  902. end)
  903. return Call
  904. end
  905. local function hookfunc(a,b)
  906. local old
  907. old = hookfunction(a,function(...)
  908. return old(b({...}))
  909. end)
  910. end
  911. do
  912. function a(...)
  913. if library.flags["norecoilEnabled"] then
  914. return 0
  915. end
  916. return unpack({...})
  917. end
  918.  
  919. local old
  920. old = hookfunction(VFXModule.RecoilCamera, function(...)
  921. return old(a(...));
  922. end)
  923. end
  924.  
  925. local main = library:Load{
  926. Name = "MOUSEPAD - " .. script_version_number .. " - Paid - Last Updated: " .. last_updated,
  927. SizeX = 600,
  928. SizeY = 650,
  929. Theme = "Midnight",
  930. Extension = "json",
  931. Folder = "MOUSEPAD Configs"
  932. }
  933.  
  934. --* Tabs *--
  935. local Tabs = {
  936. Combat = main:Tab("Combat"),
  937. Visuals = main:Tab("Visuals"),
  938. Misc = main:Tab("Misc"),
  939. }
  940.  
  941. --* Sections *--
  942. local Sections = {
  943. Combat = {
  944. Aimbot = Tabs.Combat:Section{Name = "Aimbot", Side = "Left"},
  945. FOVCircle = Tabs.Combat:Section{Name = "FOVCircle", Side = "Right"},
  946. WeaponMods = Tabs.Combat:Section{Name = "Weapon Mods", Side = "Right"},
  947. },
  948. Visuals = {
  949. ESP = Tabs.Visuals:Section{Name = "ESP", Side = "Left"},
  950. Objects = Tabs.Visuals:Section{Name = "Objects", Side = "Left"},
  951. InventoryScanner = Tabs.Visuals:Section{Name = "Inventory Viewer", Side = "Right"},
  952. FreeCamera = Tabs.Visuals:Section{Name = "Free Camera", Side = "Right"},
  953. RainbowSettings = Tabs.Visuals:Section{Name = "Rainbow ESP", Side = "Right"},
  954. },
  955. Misc = {
  956. Lighting = Tabs.Misc:Section{Name = "Lighting", Side = "Left"},
  957. Removals = Tabs.Misc:Section{Name = "Removals", Side = "Right"},
  958. LocalPlayer = Tabs.Misc:Section{Name = "Local Player", Side = "Left"},
  959. Misc = Tabs.Misc:Section{Name = "Misc", Side = "Right"},
  960. ChatSpammer = Tabs.Misc:Section{Name = "Misc", Side = "Left"},
  961. },
  962. }
  963.  
  964. --* Aimbot *--
  965. local AimbotToggle = Sections.Combat.Aimbot:Toggle{
  966. Name = "Enabled",
  967. Flag = "aimbotEnabled",
  968. Default = false,
  969. Callback = function(bool)
  970. Environment.Settings.Enabled = bool
  971. end
  972. }
  973.  
  974. AimbotToggle:Keybind{
  975. Default = Enum.UserInputType.MouseButton2,
  976. Blacklist = {Enum.UserInputType.MouseButton1},
  977. Flag = "aimbotKeybind",
  978. Mode = "nil", -- mode to nil if u dont want it to toggle the toggle
  979. Callback = function(key, fromsetting)
  980. local key = tostring(key):gsub("Enum.UserInputType.", "")
  981. Environment.Settings.TriggerKey = key
  982. end
  983. }
  984.  
  985. local SilentAim = Sections.Combat.Aimbot:Toggle{
  986. Name = "Silent Aim",
  987. Flag = "silentaimEnabled",
  988. -- Default = false,
  989. Callback = function(bool)
  990. Environment.Settings.SilentAimEnabled = bool
  991. end
  992. }
  993. SilentAim:Slider{
  994. Text = "Misschance: [value]%",
  995. Default = 1,
  996. Min = 1,
  997. Max = 100,
  998. Float = 1,
  999. Flag = "silentaimMisschance",
  1000. Callback = function(value)
  1001. Environment.Settings.SilentAimMisschance = value
  1002. end
  1003. }
  1004.  
  1005.  
  1006. Sections.Combat.Aimbot:Toggle{
  1007. Name = "AI",
  1008. Flag = "aiaimbotEnabled",
  1009. -- Default = false,
  1010. Callback = function(bool)
  1011. Environment.Settings.AiAimbotEnabled = bool
  1012. end
  1013. }
  1014.  
  1015. Sections.Combat.Aimbot:Toggle{
  1016. Name = "Wall Bang Check",
  1017. Flag = "aimbotallbangcheckEnabled",
  1018. -- Default = false,
  1019. Callback = function(bool)
  1020. Environment.Settings.WallBang = bool
  1021. end
  1022. }
  1023. Sections.Combat.Aimbot:Toggle{
  1024. Name = "Visible Check",
  1025. Flag = "visiblecheckEnabled",
  1026. -- Default = false,
  1027. Callback = function(bool)
  1028. Environment.Settings.WallCheck = bool
  1029. end
  1030. }
  1031. local aimbotSnaplines = Sections.Combat.Aimbot:Toggle{
  1032. Name = "Snap Lines",
  1033. Flag = "snaplinesEnabled",
  1034. -- Default = false,
  1035. Callback = function(bool)
  1036. Environment.Settings.SnapLines = bool
  1037. end
  1038. }
  1039. aimbotSnaplines:ColorPicker{
  1040. Default = Color3.fromRGB(255, 0, 0),
  1041. Flag = "snaplinesColor",
  1042. Callback = function(color)
  1043. Environment.Settings.SnapLineColor = string.format("%s, %s, %s", math.round(color.R * 255), math.round(color.G * 255), math.round(color.B * 255))
  1044. end
  1045. }
  1046.  
  1047. Sections.Combat.Aimbot:Toggle{
  1048. Name = "Prediction",
  1049. Flag = "predictionEnabled",
  1050. -- Default = false,
  1051. Callback = function(bool)
  1052. Environment.Settings.Prediction = bool
  1053. end
  1054. }
  1055.  
  1056. -- local BulletLines = Sections.Combat.Aimbot:Toggle{
  1057. -- Name = "Bullet Lines",
  1058. -- Flag = "bulletlineEnabled",
  1059. -- -- Default = false,
  1060. -- Callback = function(bool)
  1061. -- Environment.Settings.Prediction = bool
  1062. -- end
  1063. -- }
  1064. -- BulletLines:ColorPicker{
  1065. -- Default = Color3.fromRGB(255, 0, 0),
  1066. -- Flag = "bulletlineColor",
  1067. -- Callback = function(color)
  1068. -- end
  1069. -- }
  1070. -- BulletLines:Slider{
  1071. -- Text = "Delay: [value]s",
  1072. -- Default = 0.5,
  1073. -- Min = 0,
  1074. -- Max = 5,
  1075. -- Float = 0.05,
  1076. -- Flag = "bulletlineFadeoutDelay",
  1077. -- Callback = function(value)
  1078. -- end
  1079. -- }
  1080.  
  1081. Sections.Combat.Aimbot:Separator("Aimbot Settings")
  1082.  
  1083. Sections.Combat.Aimbot:Dropdown{
  1084. Name = "Walls To Check",
  1085. Default = {"Wood", "WoodPlanks", "Fabric"},
  1086. Max = 5, -- makes it multi
  1087. Content = {"Wood", "WoodPlanks", "Fabric", "CorrodedMetal", "Plastic"},
  1088. Flag = "aimbotallbangcheckDropdown",
  1089. Callback = function(option)
  1090. local Walls = {}
  1091. for i,v in pairs(library.flags["aimbotallbangcheckDropdown"]) do
  1092. table.insert(Walls, v)
  1093. end
  1094. Environment.Settings.WallTypes = Walls
  1095. end
  1096. }
  1097.  
  1098. Sections.Combat.Aimbot:Dropdown{
  1099. Name = "Aim Part",
  1100. Default = "Head",
  1101. Content = HitBoxParts,
  1102. Flag = "aimbotSnapPart",
  1103. Callback = function(option)
  1104. Environment.Settings.LockPart = tostring(option)
  1105. end
  1106. }
  1107.  
  1108. Sections.Combat.Aimbot:Slider{
  1109. Name = "Sensitivity",
  1110. Text = "[value] ms",
  1111. Default = 0,
  1112. Min = 0,
  1113. Max = 1,
  1114. Float = 0.01,
  1115. Flag = "aimbotSensitivity",
  1116. Callback = function(value)
  1117. Environment.Settings.Sensitivity = value
  1118. end
  1119. }
  1120.  
  1121. Sections.Combat.Aimbot:Slider{
  1122. Name = "Max Aim Distance",
  1123. Text = "[value] m",
  1124. Default = 1000,
  1125. Min = 0,
  1126. Max = 5000,
  1127. Float = 1,
  1128. Flag = "aimbotMaxDistance",
  1129. Callback = function(value)
  1130. Environment.Settings.MaxDistance = value
  1131. end
  1132. }
  1133. local HitReg = Sections.Combat.Aimbot:Toggle{
  1134. Name = "Hit Notifications",
  1135. Flag = "hitnotificationsEnabled",
  1136. Callback = function(bool)
  1137. end
  1138. }
  1139. HitReg:Slider{
  1140. Text = "Notification Time: [value]s",
  1141. Default = 2,
  1142. Min = 0,
  1143. Max = 5,
  1144. Float = 0.05,
  1145. Flag = "hitnotificationsDelay",
  1146. Callback = function(value)
  1147. end
  1148. }
  1149.  
  1150. --* FOV Circle *--
  1151. local fovCircle = Sections.Combat.FOVCircle:Toggle{
  1152. Name = "Enabled",
  1153. Flag = "fovcircleEnabled",
  1154. -- Default = false,
  1155. Callback = function(bool)
  1156. Environment.FOVSettings.Enabled = bool
  1157. end
  1158. }
  1159. fovCircle:ColorPicker{
  1160. Default = Color3.fromRGB(255, 255, 255),
  1161. Flag = "fovcircleColor",
  1162. Callback = function(color)
  1163. Environment.FOVSettings.Color = string.format("%s, %s, %s", math.round(color.R * 255), math.round(color.G * 255), math.round(color.B * 255))
  1164. end
  1165. }
  1166.  
  1167. Sections.Combat.FOVCircle:Slider{
  1168. Name = "Size",
  1169. Text = "[value]",
  1170. Default = 90,
  1171. Min = 1,
  1172. Max = Camera.ViewportSize.X / 2 + 200,
  1173. Float = 1,
  1174. Flag = "fovcircleSize",
  1175. Callback = function(value)
  1176. Environment.FOVSettings.Amount = value
  1177. end
  1178. }
  1179.  
  1180. Sections.Combat.FOVCircle:Slider{
  1181. Name = "Sides",
  1182. Text = "[value]",
  1183. Default = 50,
  1184. Min = 1,
  1185. Max = 65,
  1186. Float = 1,
  1187. Flag = "fovcircleSides",
  1188. Callback = function(value)
  1189. Environment.FOVSettings.Sides = value
  1190. end
  1191. }
  1192. Environment.FOVSettings.Thickness = 1
  1193. Sections.Combat.FOVCircle:Slider{
  1194. Name = "Thickness",
  1195. Text = "[value]",
  1196. Default = 1,
  1197. Min = 1,
  1198. Max = 10,
  1199. Float = 1,
  1200. Flag = "fovcircleThickness",
  1201. Callback = function(value)
  1202. Environment.FOVSettings.Thickness = value
  1203. end
  1204. }
  1205.  
  1206. --* Weapon Mods *--
  1207. local OldWeaponMods_QuickReload = {}
  1208. local OldWeaponMods_QuickAim = {}
  1209. local OldWeaponMods_Sway = {}
  1210. local OldWeaponMods_NoRecoil = {}
  1211. Sections.Combat.WeaponMods:Toggle{
  1212. Name = "Quicker Reload",
  1213. Flag = "quickerreloadEnabled",
  1214. -- Default = false,
  1215. Callback = function(bool)
  1216. if bool then
  1217. OldWeaponMods_QuickReload = {}
  1218. for i,v in next, repStorage.Players[plr.Name].Inventory:GetChildren() do
  1219. local module = require(v.SettingsModule)
  1220.  
  1221. table.insert(OldWeaponMods_QuickReload, module.ReloadFadeIn)
  1222. table.insert(OldWeaponMods_QuickReload, module.ReloadFadeOut)
  1223. table.insert(OldWeaponMods_QuickReload, module.ReloadFadeInTimePos)
  1224. table.insert(OldWeaponMods_QuickReload, module.ReloadFadeOutTimePos)
  1225.  
  1226. module.ReloadFadeIn = 0
  1227. module.ReloadFadeOut = 0
  1228. module.ReloadFadeInTimePos = 0
  1229. module.ReloadFadeOutTimePos = 0
  1230. end
  1231. else
  1232. for i,v in next, repStorage.Players[plr.Name].Inventory:GetChildren() do
  1233. local module = require(v.SettingsModule)
  1234.  
  1235. for i2,v2 in next, OldWeaponMods_QuickReload do
  1236. module.ReloadFadeIn = v2
  1237. module.ReloadFadeOut = v2
  1238. module.ReloadFadeInTimePos = v2
  1239. module.ReloadFadeOutTimePos = v2
  1240. end
  1241. end
  1242. end
  1243. end
  1244. }
  1245. Sections.Combat.WeaponMods:Toggle{
  1246. Name = "Quick Aim",
  1247. Flag = "quickaimEnabled",
  1248. -- Default = false,
  1249. Callback = function(bool)
  1250. if bool then
  1251. OldWeaponMods_QuickAim = {}
  1252. for i,v in next, repStorage.Players[plr.Name].Inventory:GetChildren() do
  1253. local module = require(v.SettingsModule)
  1254.  
  1255. table.insert(OldWeaponMods_QuickAim, module.AimInSpeed)
  1256. table.insert(OldWeaponMods_QuickAim, module.AimOutSpeed)
  1257.  
  1258. module.AimInSpeed = 0
  1259. module.AimOutSpeed = 0
  1260. end
  1261. else
  1262. for i,v in next, repStorage.Players[plr.Name].Inventory:GetChildren() do
  1263. local module = require(v.SettingsModule)
  1264.  
  1265. for i2,v2 in next, OldWeaponMods_QuickAim do
  1266. module.AimInSpeed = v2
  1267. module.AimOutSpeed = v2
  1268. end
  1269. end
  1270. end
  1271. end
  1272. }
  1273. Sections.Combat.WeaponMods:Toggle{
  1274. Name = "No Recoil",
  1275. Flag = "norecoilEnabled",
  1276. -- Default = false,
  1277. Callback = function(bool)
  1278. if bool then
  1279. OldWeaponMods_NoRecoil = {}
  1280. for i,v in next, repStorage.Players[plr.Name].Inventory:GetChildren() do
  1281. local module = require(v.SettingsModule)
  1282.  
  1283. table.insert(OldWeaponMods_Sway, module.MaxRecoil)
  1284. table.insert(OldWeaponMods_Sway, module.RecoilTValueMax)
  1285. table.insert(OldWeaponMods_Sway, module.RecoilReductionMax)
  1286.  
  1287. module.MaxRecoil = 0
  1288. module.RecoilTValueMax = 0
  1289. module.RecoilReductionMax = 0
  1290. end
  1291. else
  1292. for i,v in next, repStorage.Players[plr.Name].Inventory:GetChildren() do
  1293. local module = require(v.SettingsModule)
  1294.  
  1295. for i2,v2 in next, OldWeaponMods_NoRecoil do
  1296. module.MaxRecoil = v2
  1297. module.RecoilTValueMax = v2
  1298. module.RecoilReductionMax = v2
  1299. end
  1300. end
  1301. end
  1302. end
  1303. }
  1304. Sections.Combat.WeaponMods:Toggle{
  1305. Name = "No Bullet Drop",
  1306. Flag = "nobulletdropEnabled",
  1307. -- Default = false,
  1308. Callback = function(bool)
  1309. for _, Item in pairs(repStorage.AmmoTypes:GetChildren()) do
  1310. if bool then
  1311. Item:SetAttribute("ProjectileDrop", 0)
  1312. else
  1313. Item:SetAttribute("ProjectileDrop", Old_Ammo[Item.Name]["Drop"])
  1314. end
  1315. end
  1316. end
  1317. }
  1318. Sections.Combat.WeaponMods:Toggle{
  1319. Name = "No Shotgun Spread",
  1320. Flag = "noshotgunspreadEnabled",
  1321. -- Default = false,
  1322. Callback = function(bool)
  1323. for _, Item in pairs(repStorage.AmmoTypes:GetChildren()) do
  1324. if bool and Item:GetAttribute("AccuracyDeviation") ~= nil then
  1325. Item:SetAttribute("AccuracyDeviation", 0)
  1326. elseif Item:GetAttribute("AccuracyDeviation") ~= nil and not bool then
  1327. Item:SetAttribute("AccuracyDeviation", Old_Ammo[Item.Name]["Spread"])
  1328. end
  1329. end
  1330. end
  1331. }
  1332. Sections.Combat.WeaponMods:Toggle{
  1333. Name = "No Muzzle Flash",
  1334. Flag = "nomuzzleflashEnabled",
  1335. -- Default = false,
  1336. Callback = function(bool)
  1337. for i,v in pairs(repStorage.RangedWeapons:GetChildren()) do
  1338. v:SetAttribute("MuzzleEffect", not bool)
  1339. end
  1340. end
  1341. }
  1342. Sections.Combat.WeaponMods:Toggle{
  1343. Name = "Hard Damage Bullets",
  1344. Flag = "hardbulletsEnabled",
  1345. -- Default = false,
  1346. Callback = function(bool)
  1347. for _, Item in pairs(repStorage.AmmoTypes:GetChildren()) do
  1348. if bool then
  1349. Item:SetAttribute("ArmorPen", Old_Ammo[Item.Name]["ArmorPen"] * 3)
  1350. Item:SetAttribute("Damage", Old_Ammo[Item.Name]["Damage"] * 3)
  1351. else
  1352. Item:SetAttribute("ArmorPen", Old_Ammo[Item.Name]["ArmorPen"])
  1353. Item:SetAttribute("Damage", Old_Ammo[Item.Name]["Damage"])
  1354. end
  1355. end
  1356. end
  1357. }
  1358. Sections.Combat.WeaponMods:Toggle{
  1359. Name = "Double Bullet",
  1360. Flag = "doublebulletEnabled",
  1361. -- Default = false,
  1362. Callback = function(bool)
  1363. for _, Item in pairs(repStorage.AmmoTypes:GetChildren()) do
  1364. if bool and Item:GetAttribute("Pellets") ~= nil then
  1365. Item:SetAttribute("Pellets", Old_Ammo[Item.Name]["Pellets"] * 2)
  1366. elseif not bool and Item:GetAttribute("Pellets") ~= nil then
  1367. Item:SetAttribute("Pellets", Old_Ammo[Item.Name]["Pellets"])
  1368. end
  1369. end
  1370. end
  1371. }
  1372. local rapidfireEnabledd = false
  1373. local FireRate = Sections.Combat.WeaponMods:Toggle{
  1374. Name = "Fire Rate",
  1375. Flag = "rapidfireEnabled",
  1376. -- Default = false,
  1377. Callback = function(bool)
  1378. if bool and not rapidfireEnabledd then
  1379. rapidfireEnabledd = true
  1380. for i,v in next, repStorage.Players[plr.Name].Inventory:GetChildren() do
  1381. local module = require(v.SettingsModule)
  1382.  
  1383. module.FireRate = library.flags["firerateValue"]
  1384. module.FireModes = { "Semi", "Auto" }
  1385. module.FireMode = 'Auto'
  1386. end
  1387. end
  1388. end
  1389. }
  1390. FireRate:Slider{
  1391. Text = "[value] ms",
  1392. Default = 0,
  1393. Min = 0,
  1394. Max = 1,
  1395. Float = 0.0001,
  1396. Flag = "firerateValue",
  1397. Callback = function(value)
  1398.  
  1399. end
  1400. }
  1401.  
  1402. -- * ESP * --
  1403. Sections.Visuals.ESP:Toggle{
  1404. Name = "Enabled",
  1405. Flag = "espEnabled",
  1406. -- Default = false,
  1407. Callback = function(bool)
  1408. esp.enabled = bool
  1409. end
  1410. }
  1411. local espFriendCheck = Sections.Visuals.ESP:Toggle{
  1412. Name = "Friend Check",
  1413. Flag = "friendcheckEnabled",
  1414. -- Default = false,
  1415. Callback = function(bool)
  1416.  
  1417. end
  1418. }
  1419. espFriendCheck:ColorPicker{
  1420. Default = Color3.fromRGB(255, 255, 255),
  1421. Flag = "friendcheckColor",
  1422. Callback = function(color)
  1423.  
  1424. end
  1425. }
  1426. local espName = Sections.Visuals.ESP:Toggle{
  1427. Name = "Name",
  1428. Flag = "espnameEnabled",
  1429. -- Default = false,
  1430. Callback = function(bool)
  1431. esp.settings.name.enabled = bool
  1432. end
  1433. }
  1434. espName:ColorPicker{
  1435. Default = Color3.fromRGB(255, 255, 255),
  1436. Flag = "espnameColor",
  1437. Callback = function(color)
  1438. esp.settings.name.color = color
  1439. end
  1440. }
  1441. local espBox = Sections.Visuals.ESP:Toggle{
  1442. Name = "Box",
  1443. Flag = "espboxEnabled",
  1444. -- Default = false,
  1445. Callback = function(bool)
  1446. esp.settings.box.enabled = bool
  1447. end
  1448. }
  1449. espBox:ColorPicker{
  1450. Default = Color3.fromRGB(255, 255, 255),
  1451. Flag = "espboxColor",
  1452. Callback = function(color)
  1453. esp.settings.box.color = color
  1454. end
  1455. }
  1456. local espTool = Sections.Visuals.ESP:Toggle{
  1457. Name = "Tool",
  1458. Flag = "esptoolEnabled",
  1459. -- Default = false,
  1460. Callback = function(bool)
  1461. esp.settings.tool.enabled = bool
  1462. end
  1463. }
  1464. espTool:ColorPicker{
  1465. Default = Color3.fromRGB(255, 255, 255),
  1466. Flag = "esptoolColor",
  1467. Callback = function(color)
  1468. esp.settings.tool.color = color
  1469. end
  1470. }
  1471. Sections.Visuals.ESP:Toggle{
  1472. Name = "Health Bar",
  1473. Flag = "esphealthbarEnabled",
  1474. -- Default = false,
  1475. Callback = function(bool)
  1476. esp.settings.healthbar.enabled = bool
  1477. end
  1478. }
  1479. local espHealthText = Sections.Visuals.ESP:Toggle{
  1480. Name = "Health Text",
  1481. Flag = "esphealthtextEnabled",
  1482. -- Default = false,
  1483. Callback = function(bool)
  1484. esp.settings.healthtext.enabled = bool
  1485. end
  1486. }
  1487. espHealthText:ColorPicker{
  1488. Default = Color3.fromRGB(255, 255, 255),
  1489. Flag = "esphealthtextColor",
  1490. Callback = function(color)
  1491. esp.settings.healthtext.color = color
  1492. end
  1493. }
  1494. local espDistance = Sections.Visuals.ESP:Toggle{
  1495. Name = "Distance",
  1496. Flag = "espdistanceEnabled",
  1497. -- Default = false,
  1498. Callback = function(bool)
  1499. esp.settings.distance.enabled = bool
  1500. end
  1501. }
  1502. espDistance:ColorPicker{
  1503. Default = Color3.fromRGB(255, 255, 255),
  1504. Flag = "espdistanceColor",
  1505. Callback = function(color)
  1506. esp.settings.distance.color = color
  1507. end
  1508. }
  1509. local espViewAngle = Sections.Visuals.ESP:Toggle{
  1510. Name = "View Angle",
  1511. Flag = "espviewangleEnabled",
  1512. -- Default = false,
  1513. Callback = function(bool)
  1514. esp.settings.viewangle.enabled = bool
  1515. end
  1516. }
  1517. espViewAngle:ColorPicker{
  1518. Default = Color3.fromRGB(255, 255, 255),
  1519. Flag = "espviewangleColor",
  1520. Callback = function(color)
  1521. esp.settings.viewangle.color = color
  1522. end
  1523. }
  1524. local espTracers = Sections.Visuals.ESP:Toggle{
  1525. Name = "Tracers",
  1526. Flag = "esptracersEnabled",
  1527. -- Default = false,
  1528. Callback = function(bool)
  1529. esp.settings.tracers.enabled = bool
  1530. end
  1531. }
  1532. espTracers:ColorPicker{
  1533. Default = Color3.fromRGB(255, 255, 255),
  1534. Flag = "esptracersColor",
  1535. Callback = function(color)
  1536. esp.settings.tracers.color = color
  1537. end
  1538. }
  1539. local espSkeleton = Sections.Visuals.ESP:Toggle{
  1540. Name = "Skeleton",
  1541. Flag = "espskeletonEnabled",
  1542. -- Default = false,
  1543. Callback = function(bool)
  1544. esp.settings.skeleton.enabled = bool
  1545. end
  1546. }
  1547. espSkeleton:ColorPicker{
  1548. Default = Color3.fromRGB(255, 255, 255),
  1549. Flag = "espskeletonColor",
  1550. Callback = function(color)
  1551. esp.settings.skeleton.color = color
  1552. end
  1553. }
  1554. local espChams = Sections.Visuals.ESP:Toggle{
  1555. Name = "Chams",
  1556. Flag = "espchamsEnabled",
  1557. -- Default = false,
  1558. Callback = function(bool)
  1559. esp.settings.chams.enabled = bool
  1560. end
  1561. }
  1562. espChams:ColorPicker{
  1563. Default = Color3.fromRGB(255, 255, 255),
  1564. Flag = "espchamsColor",
  1565. Callback = function(color)
  1566. esp.settings.chams.color = color
  1567. end
  1568. }
  1569. local espChamsOutline = Sections.Visuals.ESP:Toggle{
  1570. Name = "Chams Outline",
  1571. Flag = "espchamsoutlineEnabled",
  1572. -- Default = false,
  1573. Callback = function(bool)
  1574. esp.settings.chamsOutline.enabled = bool
  1575. end
  1576. }
  1577. espChamsOutline:ColorPicker{
  1578. Default = Color3.fromRGB(255, 255, 255),
  1579. Flag = "espchamsoutlineColor",
  1580. Callback = function(color)
  1581. esp.settings.chamsOutline.color = color
  1582. end
  1583. }
  1584. Sections.Visuals.ESP:Separator("ESP Settings")
  1585. Sections.Visuals.ESP:Dropdown{
  1586. Name = "Tracer Location",
  1587. Default = "Bottom",
  1588. Content = {
  1589. "Bottom",
  1590. "Middle",
  1591. },
  1592. Flag = "tracerFromLocation",
  1593. Callback = function(option)
  1594.  
  1595. end
  1596. }
  1597. Sections.Visuals.ESP:Slider{
  1598. Name = "Max Distance",
  1599. Text = "[value] m",
  1600. Default = 1000,
  1601. Min = 1,
  1602. Max = 5000,
  1603. Float = 1,
  1604. Flag = "espMaxDistance",
  1605. Callback = function(value)
  1606. end
  1607. }
  1608. Sections.Visuals.ESP:Slider{
  1609. Name = "Font Size",
  1610. Text = "[value]/13",
  1611. Default = 13,
  1612. Min = 5,
  1613. Max = 30,
  1614. Float = 0.01,
  1615. Flag = "espFontSize",
  1616. Callback = function(value)
  1617. esp.fontsize = value
  1618. end
  1619. }
  1620.  
  1621. --* Object Visuals *--
  1622. LPH_JIT_MAX(function()
  1623. local objectConnections = {}
  1624. Sections.Visuals.Objects:Toggle{
  1625. Name = "Enabled",
  1626. Flag = "espobjectsEnabled",
  1627. -- Default = false,
  1628. Callback = function(bool)
  1629. ESP:Toggle(bool)
  1630. ESP.Settings.Objects_Enabled = bool
  1631. end
  1632. }
  1633. local AiZones = Workspace:FindFirstChild("AiZones")
  1634. if AiZones then
  1635. for _, Zone in pairs(AiZones:GetChildren()) do
  1636. Zone.ChildAdded:Connect(LPH_JIT_MAX(function(Child)
  1637. if Child:IsA("Model") then
  1638. if Child.PrimaryPart and library.flags["espobjectsEnabled"] and library.flags["espobjectsaientitiesEnabled"] then
  1639. print(Child)
  1640. ESP:Object(Child, {
  1641. Type = "Bandit",
  1642. Color = library.flags["espobjectsaientitiesColor"]
  1643. })
  1644. end
  1645. if objectConnections[Child] == nil then
  1646. objectConnections[Child] = Child:GetPropertyChangedSignal("PrimaryPart"):Connect(LPH_JIT_MAX(function()
  1647. if Child.PrimaryPart == nil then
  1648. local Object = ESP:GetObject(Child)
  1649. if Object then
  1650. Object:Destroy()
  1651. end
  1652. elseif library.flags["espobjectsEnabled"] and library.flags["espobjectsaientitiesEnabled"] then
  1653. print(Child)
  1654. ESP:Object(Child, {
  1655. Type = "Bandit",
  1656. Color = library.flags["espobjectsaientitiesColor"]
  1657. })
  1658. end
  1659. end))
  1660. end
  1661. end
  1662. end))
  1663. Zone.ChildRemoved:Connect(LPH_JIT_MAX(function(Child)
  1664. if Child:IsA("Model") then
  1665. local Object = ESP:GetObject(Child)
  1666. if Object then
  1667. Object:Destroy()
  1668. end
  1669. end
  1670. end))
  1671. end
  1672. local espobjectsAiEntities = Sections.Visuals.Objects:Toggle{
  1673. Name = "AI Entities",
  1674. Flag = "espobjectsaientitiesEnabled",
  1675. -- Default = false,
  1676. Callback = function(bool)
  1677. if bool then
  1678. for _, Zone in pairs(AiZones:GetChildren()) do
  1679. for _, Item in pairs(Zone:GetChildren()) do
  1680. if Item.Name ~= "PMN2" then
  1681. ESP:Object(Item, {
  1682. Type = "Bandit",
  1683. Color = library.flags["espobjectsaientitiesColor"]
  1684. })
  1685. end
  1686. if objectConnections[Item] == nil then
  1687. objectConnections[Item] = Item:GetPropertyChangedSignal("PrimaryPart"):Connect(function()
  1688. if Item.PrimaryPart == nil then
  1689. local Object = ESP:GetObject(Item)
  1690. if Object then
  1691. Object:Destroy()
  1692. end
  1693. elseif library.flags["espobjectsEnabled"] and library.flags["espobjectsaientitiesEnabled"] then
  1694. if Item.Name ~= "PMN2" then
  1695. ESP:Object(Item, {
  1696. Type = "Bandit",
  1697. Color = library.flags["espobjectsaientitiesColor"]
  1698. })
  1699. end
  1700. end
  1701. end)
  1702. end
  1703. end
  1704. end
  1705. else
  1706. for _, Object in pairs(ESP.Objects) do
  1707. if Object.Type == "Bandit" then
  1708. Object:Destroy()
  1709. end
  1710. end
  1711. end
  1712. end
  1713. }
  1714. espobjectsAiEntities:ColorPicker{
  1715. Default = Color3.fromRGB(255, 255, 255),
  1716. Flag = "espobjectsaientitiesColor",
  1717. Callback = function(color)
  1718. for _, Object in pairs(ESP.Objects) do
  1719. if Object.Type == "Bandit" then
  1720. for _, Drawing in pairs(Object.Components) do
  1721. Drawing.Color = color
  1722. end
  1723. end
  1724. end
  1725. end
  1726. }
  1727. end
  1728. local DroppedItems = Workspace:FindFirstChild("DroppedItems")
  1729. if DroppedItems then
  1730. DroppedItems.ChildAdded:Connect(function(Child)
  1731. if Child:IsA("Model") then
  1732. if Child.PrimaryPart and library.flags["espobjectsEnabled"] and library.flags["espobjectsdroppeditemsEnabled"] then
  1733. ESP:Object(Child, {
  1734. Type = "Dropped",
  1735. Color = library.flags["espobjectsdroppeditemsColor"]
  1736. })
  1737. end
  1738. if objectConnections[Child] == nil then
  1739. objectConnections[Child] = Child:GetPropertyChangedSignal("PrimaryPart"):Connect(function()
  1740. if Child.PrimaryPart == nil then
  1741. local Object = ESP:GetObject(Child)
  1742. if Object then
  1743. Object:Destroy()
  1744. end
  1745. elseif library.flags["espobjectsEnabled"] and library.flags["espobjectsdroppeditemsEnabled"] then
  1746. ESP:Object(Child, {
  1747. Type = "Dropped",
  1748. Color = library.flags["espobjectsdroppeditemsColor"]
  1749. })
  1750. end
  1751. end)
  1752. end
  1753. end
  1754. end)
  1755. DroppedItems.ChildRemoved:Connect(function(Child)
  1756. if Child:IsA("Model") then
  1757. local Object = ESP:GetObject(Child)
  1758. if Object then
  1759. Object:Destroy()
  1760. end
  1761. end
  1762. end)
  1763. local espobjectsDroppedItems = Sections.Visuals.Objects:Toggle{
  1764. Name = "Dropped Items",
  1765. Flag = "espobjectsdroppeditemsEnabled",
  1766. -- Default = false,
  1767. Callback = function(bool)
  1768. if bool then
  1769. for _, Item in pairs(DroppedItems:GetChildren()) do
  1770. ESP:Object(Item, {
  1771. Type = "Dropped",
  1772. Color = library.flags["espobjectsdroppeditemsColor"]
  1773. })
  1774. if objectConnections[Item] == nil then
  1775. objectConnections[Item] = Item:GetPropertyChangedSignal("PrimaryPart"):Connect(function()
  1776. if Item.PrimaryPart == nil then
  1777. local Object = ESP:GetObject(Item)
  1778. if Object then
  1779. Object:Destroy()
  1780. end
  1781. elseif library.flags["espobjectsEnabled"] and library.flags["espobjectsdroppeditemsEnabled"] then
  1782. ESP:Object(Item, {
  1783. Type = "Dropped",
  1784. Color = library.flags["espobjectsdroppeditemsColor"]
  1785. })
  1786. end
  1787. end)
  1788. end
  1789. end
  1790. else
  1791. for _, Object in pairs(ESP.Objects) do
  1792. if Object.Type == "Dropped" then
  1793. Object:Destroy()
  1794. end
  1795. end
  1796. end
  1797. end
  1798. }
  1799. espobjectsDroppedItems:ColorPicker{
  1800. Default = Color3.fromRGB(255, 255, 255),
  1801. Flag = "espobjectsdroppeditemsColor",
  1802. Callback = function(color)
  1803. for _, Object in pairs(ESP.Objects) do
  1804. if Object.Type == "Dropped" then
  1805. for _, Drawing in pairs(Object.Components) do
  1806. Drawing.Color = color
  1807. end
  1808. end
  1809. end
  1810. end
  1811. }
  1812. end
  1813. local NoCollision = Workspace:FindFirstChild("NoCollision")
  1814. if NoCollision then
  1815. local ExitLocations = NoCollision:FindFirstChild("ExitLocations")
  1816. if ExitLocations then
  1817. ExitLocations.ChildAdded:Connect(function(Child)
  1818. if Child:IsA("BasePart") then
  1819. if library.flags["espobjectsEnabled"] and library.flags["espobjectsextractsEnabled"] then
  1820. ESP:Object(Child, {
  1821. Type = "Exit",
  1822. Color = library.flags["espobjectsextractsColor"]
  1823. })
  1824. end
  1825. end
  1826. end)
  1827. ExitLocations.ChildRemoved:Connect(function(Child)
  1828. if Child:IsA("BasePart") then
  1829. local Object = ESP:GetObject(Child)
  1830. if Object then
  1831. Object:Destroy()
  1832. end
  1833. end
  1834. end)
  1835. local espobjectsExtracts = Sections.Visuals.Objects:Toggle{
  1836. Name = "Extracts",
  1837. Flag = "espobjectsextractsEnabled",
  1838. -- Default = false,
  1839. Callback = function(bool)
  1840. if bool then
  1841. for _, Item in pairs(ExitLocations:GetChildren()) do
  1842. if Item:IsA("BasePart") then
  1843. ESP:Object(Item, {
  1844. Type = "Exit",
  1845. Color = library.flags["espobjectsextractsColor"]
  1846. })
  1847. end
  1848. end
  1849. else
  1850. for _, Object in pairs(ESP.Objects) do
  1851. if Object.Type == "Exit" then
  1852. Object:Destroy()
  1853. end
  1854. end
  1855. end
  1856. end
  1857. }
  1858. espobjectsExtracts:ColorPicker{
  1859. Default = Color3.fromRGB(255, 255, 255),
  1860. Flag = "espobjectsextractsColor",
  1861. Callback = function(color)
  1862. for _, Object in pairs(ESP.Objects) do
  1863. if Object.Type == "Exit" then
  1864. for _, Drawing in pairs(Object.Components) do
  1865. Drawing.Color = color
  1866. end
  1867. end
  1868. end
  1869. end
  1870. }
  1871. end
  1872. end
  1873. local LockedDoors = Workspace:FindFirstChild("Door")
  1874. if LockedDoors then
  1875. LockedDoors.ChildAdded:Connect(LPH_JIT_MAX(function(Child)
  1876. if Child.Name == "Hinge" then
  1877. if v:FindFirstChild("Unlock") then
  1878. if library.flags["espobjectsEnabled"] and library.flags["espobjectslockeddoorsEnabled"] then
  1879. ESP:Object(Child, {
  1880. Name = "Locked Door",
  1881. Type = "Locked Door",
  1882. Color = library.flags["espobjectslockeddoorsColor"]
  1883. })
  1884. end
  1885. end
  1886. end
  1887. end))
  1888. LockedDoors.ChildRemoved:Connect(LPH_JIT_MAX(function(Child)
  1889. if Child:IsA("BasePart") then
  1890. local Object = ESP:GetObject(Child)
  1891. if Object then
  1892. Object:Destroy()
  1893. end
  1894. end
  1895. end))
  1896. local espobjectsLockedDoors = Sections.Visuals.Objects:Toggle{
  1897. Name = "Locked Doors",
  1898. Flag = "espobjectslockeddoorsEnabled",
  1899. -- Default = false,
  1900. Callback = function(bool)
  1901. if bool then
  1902. for _, v in pairs(game:GetService("Workspace"):GetDescendants()) do
  1903. if v.Name == "Hinge" then
  1904. if v:FindFirstChild("Unlock") then
  1905. ESP:Object(v, {
  1906. Name = "Locked Door",
  1907. Type = "Locked Door",
  1908. Color = library.flags["espobjectslockeddoorsColor"]
  1909. })
  1910. end
  1911. end
  1912. end
  1913. else
  1914. for _, Object in pairs(ESP.Objects) do
  1915. if Object.Type == "Locked Door" then
  1916. Object:Destroy()
  1917. end
  1918. end
  1919. end
  1920. end
  1921. }
  1922. espobjectsLockedDoors:ColorPicker{
  1923. Default = Color3.fromRGB(255, 255, 255),
  1924. Flag = "espobjectslockeddoorsColor",
  1925. Callback = function(color)
  1926. for _, Object in pairs(ESP.Objects) do
  1927. if Object.Type == "Locked Door" then
  1928. for _, Drawing in pairs(Object.Components) do
  1929. Drawing.Color = color
  1930. end
  1931. end
  1932. end
  1933. end
  1934. }
  1935. end
  1936. local VehiclesUAZ = Workspace:FindFirstChild("Vehicles")
  1937. if VehiclesUAZ then
  1938. VehiclesUAZ.ChildAdded:Connect(LPH_JIT_MAX(function(Child)
  1939. if Child.Name == "UAZ" then
  1940. if v:FindFirstChild("Body") then
  1941. if library.flags["espobjectsEnabled"] and library.flags["espobjectsvehiclesEnabled"] then
  1942. ESP:Object(Child.Body, {
  1943. Name = "Vehicle",
  1944. Type = "Vehicle",
  1945. Color = library.flags["espobjectsvehiclesColor"]
  1946. })
  1947. end
  1948. end
  1949. end
  1950. end))
  1951. VehiclesUAZ.ChildRemoved:Connect(LPH_JIT_MAX(function(Child)
  1952. if Child:IsA("BasePart") then
  1953. local Object = ESP:GetObject(Child)
  1954. if Object then
  1955. Object:Destroy()
  1956. end
  1957. end
  1958. end))
  1959. local espobjectsVehicles = Sections.Visuals.Objects:Toggle{
  1960. Name = "Vehicles",
  1961. Flag = "espobjectsvehiclesEnabled",
  1962. -- Default = false,
  1963. Callback = function(bool)
  1964. if bool then
  1965. for _, v in pairs(game:GetService("Workspace").Vehicles:GetDescendants()) do
  1966. if v.Name == "UAZ" then
  1967. if v:FindFirstChild("Body") then
  1968. ESP:Object(v.Body, {
  1969. Name = "Vehicle",
  1970. Type = "Vehicle",
  1971. Color = library.flags["espobjectsvehiclesColor"]
  1972. })
  1973. end
  1974. end
  1975. end
  1976. else
  1977. for _, Object in pairs(ESP.Objects) do
  1978. if Object.Type == "Vehicle" then
  1979. Object:Destroy()
  1980. end
  1981. end
  1982. end
  1983. end
  1984. }
  1985. espobjectsVehicles:ColorPicker{
  1986. Default = Color3.fromRGB(255, 255, 255),
  1987. Flag = "espobjectsvehiclesColor",
  1988. Callback = function(color)
  1989. for _, Object in pairs(ESP.Objects) do
  1990. if Object.Type == "Vehicle" then
  1991. for _, Drawing in pairs(Object.Components) do
  1992. Drawing.Color = color
  1993. end
  1994. end
  1995. end
  1996. end
  1997. }
  1998. end
  1999.  
  2000. Sections.Visuals.Objects:Slider{
  2001. Name = "Max Distance",
  2002. Text = "[value] m",
  2003. Default = 1000,
  2004. Min = 1,
  2005. Max = 8000,
  2006. Float = 1,
  2007. Flag = "espobjectMaxDistance",
  2008. Callback = function(value)
  2009. ESP.Settings.Object_Maximal_Distance = value
  2010. end
  2011. }
  2012. end)()
  2013.  
  2014. --* Inventory Viewer *--
  2015. InventoryViewer = {
  2016. Size = Vector2.new(300, 14),
  2017.  
  2018. Main = Framework:Draw("Square", {Thickness = 0, Size = Vector2.new(300, 14), Filled = true, Position = Vector2.new(100, 100), Transparency = 0.4}),
  2019. Border = Framework:Draw("Square", {Thickness = 1, Size = Vector2.new(300, 14), Filled = false, Position = Vector2.new(100, 100), Color = Color3.fromRGB(102,0,204)}),
  2020. Texts = {}
  2021. }
  2022. LPH_JIT_MAX(function()
  2023. function InventoryViewer:Clear()
  2024. for i, v in pairs(self.Texts) do
  2025. v:Remove()
  2026. self.Texts[i] = nil
  2027. self.Main.Size = self.Size
  2028. end
  2029. end
  2030. function InventoryViewer:AddText(Text, Tabulated, Main_Text)
  2031. local Main = self.Main
  2032. local Border = self.Border
  2033. local Drawing = Framework:Draw("Text", {Text = Text, Color = Color3.new(1, 1, 1), Transparency = 1, Size = 13, Font = 2, Outline = true, Visible = true})
  2034. table.insert(self.Texts, Drawing)
  2035. table.insert(self.Texts, Seperator)
  2036. local Drawings = #self.Texts
  2037. Main.Size = Vector2.new(self.Size.X, 14 * Drawings)
  2038. Border.Size = Main.Size + Vector2.new(4, 4)
  2039. Drawing.Position = Main.Position + Vector2.new(5, (Drawings - 1) * 14)
  2040. if Main_Text then
  2041. if Text == "[HOTBAR]" then
  2042. Drawing.Color = Color3.fromRGB(102,0,204)
  2043. Drawing.Center = true
  2044. Drawing.Position = Main.Position + Vector2.new(Main.Size.X / 2, (Drawings - 1) * 14)
  2045. else
  2046. Drawing.Color = Color3.fromRGB(0,235,0)
  2047. Drawing.Center = true
  2048. Drawing.Position = Main.Position + Vector2.new(Main.Size.X / 2, 3)
  2049. end
  2050. end
  2051. if Tabulated then
  2052. Drawing.Position = Main.Position + Vector2.new(20, (Drawings - 1) * 14)
  2053. end
  2054. return Drawing
  2055. end
  2056. function InventoryViewer:Update()
  2057. self.Size = Vector2.new(300, 14)
  2058. local Scan, Containers, _Players = {}, table.find(library.flags["inventoryscannerInventoryToScan"], "Containers") , table.find(library.flags["inventoryscannerInventoryToScan"], "Players")
  2059. if Containers then
  2060. for i, v in pairs(Workspace.Containers:GetChildren()) do
  2061. if v:IsA("Model") and v:FindFirstChild("Inventory") then
  2062. table.insert(Scan, v)
  2063. end
  2064. end
  2065. end
  2066. if _Players then
  2067. for i, v in pairs(plrs:GetPlayers()) do
  2068. if v ~= plr and v.Character and v.Character:FindFirstChild("HumanoidRootPart") and v.Character:FindFirstChildOfClass("Humanoid") then
  2069. table.insert(Scan, v.Character)
  2070. end
  2071. end
  2072. end
  2073. local Target, Magnitude, lowMagnitude = nil, math.huge, math.huge
  2074. for i, v in pairs(Scan) do
  2075. local PrimaryPart = v.PrimaryPart
  2076. if PrimaryPart then
  2077. local Vector, onScreen = Camera:WorldToViewportPoint(PrimaryPart.Position)
  2078. if onScreen then
  2079. local Magnitude = (Camera.ViewportSize / 2 - Framework:V3_To_V2(Vector)).Magnitude
  2080. if Magnitude < lowMagnitude then
  2081. lowMagnitude = Magnitude
  2082. Target = v
  2083. end
  2084. end
  2085. end
  2086. end
  2087. if not Target then
  2088. self:Clear()
  2089. self:AddText("Inventory Viewer", false, true)
  2090. return
  2091. end
  2092. local Humanoid = Target:FindFirstChildOfClass("Humanoid")
  2093. self:Clear()
  2094. local MainText = self:AddText(Target.Name, false, true)
  2095. local sep = self:AddText("------------------------------------------", false, false)
  2096. sep.Color = Color3.fromRGB(102,0,204)
  2097. Scan = {}
  2098. local Maximal_X = 0
  2099. if Humanoid then
  2100. local Folder = repStorage:FindFirstChild("Players")[Target.Name]
  2101. table.insert(Scan, Folder.Inventory)
  2102. table.insert(Scan, Folder.Clothing)
  2103. for i, v in pairs(Scan) do
  2104. local Name = v.Name
  2105. if Name == "Inventory" then
  2106. self:AddText("[HOTBAR]", false, true)
  2107. self:AddText("", false, false)
  2108. for _, Item in pairs(v:GetChildren()) do
  2109. local ItemProperties = Item:FindFirstChild("ItemProperties")
  2110. if ItemProperties then
  2111. local ammoString = ""
  2112. local isGun = false
  2113. local ItemType = ItemProperties:GetAttribute("ItemType")
  2114. if ItemType and ItemType == "RangedWeapon" then
  2115. isGun = true
  2116. local Attachments = Item:FindFirstChild("Attachments")
  2117. if Attachments then
  2118. local Magazine = Attachments:FindFirstChild("Magazine")
  2119. if Magazine then
  2120. Magazine = Magazine:FindFirstChildOfClass("StringValue")
  2121. if Magazine then
  2122. local MagazineProperties = Magazine:FindFirstChild("ItemProperties")
  2123. if MagazineProperties then
  2124. local LoadedAmmo = MagazineProperties:FindFirstChild("LoadedAmmo")
  2125. if LoadedAmmo then
  2126. for _, Slot in pairs(LoadedAmmo:GetChildren()) do
  2127. local Amount = Slot:GetAttribute("Amount")
  2128. if tonumber(Amount) > 0 then
  2129. ammoString = ammoString .. Amount
  2130. end
  2131. end
  2132. end
  2133. end
  2134. end
  2135. end
  2136. end
  2137. end
  2138. if ammoString == "" and isGun == false then
  2139. self:AddText(Item.Name)
  2140. elseif ammoString == "" then
  2141. local HotbarDrawing = self:AddText(Item.Name .. " [OUT OF AMMO]")
  2142. local textBoundsX = HotbarDrawing.TextBounds.X
  2143. if textBoundsX > Maximal_X then
  2144. Maximal_X = textBoundsX
  2145. end
  2146. if Maximal_X > self.Size.X then
  2147. self.Size = Vector2.new(Maximal_X + 10, self.Main.Size.Y)
  2148. self.Main.Size = self.Size
  2149. MainText.Position = self.Main.Position + Vector2.new(self.Main.Size.X / 2, 0)
  2150. end
  2151. else
  2152. ammoString = ammoString:sub(0, ammoString:len() - 2)
  2153. local HotbarDrawing = self:AddText(Item.Name .. " ["..ammoString.."]")
  2154. local textBoundsX = HotbarDrawing.TextBounds.X
  2155. if textBoundsX > Maximal_X then
  2156. Maximal_X = textBoundsX
  2157. end
  2158. if Maximal_X > self.Size.X then
  2159. self.Size = Vector2.new(Maximal_X + 10, self.Main.Size.Y)
  2160. self.Main.Size = self.Size
  2161. MainText.Position = self.Main.Position + Vector2.new(self.Main.Size.X / 2, 0)
  2162. end
  2163. end
  2164. else
  2165. self:AddText(Item.Name)
  2166. end
  2167. end
  2168. local sep = self:AddText("------------------------------------------", false, false)
  2169. sep.Color = Color3.fromRGB(102,0,204)
  2170. elseif Name == "Clothing" then
  2171. for _, Clothing in pairs(v:GetChildren()) do
  2172. -- Clothing
  2173. local Attachments = Clothing:FindFirstChild("Attachments")
  2174. local attachmentString = ""
  2175. if Attachments then
  2176. for _, Slot in pairs(Attachments:GetChildren()) do
  2177. local Attachment = Slot:FindFirstChildOfClass("StringValue")
  2178. if Attachment then
  2179. attachmentString = attachmentString .. Attachment.Name .. "; "
  2180. end
  2181. end
  2182. end
  2183. attachmentString = attachmentString:sub(0, attachmentString:len() - 2)
  2184. if attachmentString == "" then
  2185. local ClothingDrawing = self:AddText(Clothing.Name)
  2186. ClothingDrawing.Color = Color3.fromRGB(255, 153, 51)
  2187. else
  2188. local ClothingDrawing = self:AddText(Clothing.Name .. " [".. attachmentString .."]")
  2189. ClothingDrawing.Color = Color3.fromRGB(255, 153, 51)
  2190. local textBoundsX = ClothingDrawing.TextBounds.X
  2191. if textBoundsX > Maximal_X then
  2192. Maximal_X = textBoundsX
  2193. end
  2194. if Maximal_X > self.Size.X then
  2195. self.Size = Vector2.new(Maximal_X + 10, self.Main.Size.Y)
  2196. self.Main.Size = self.Size
  2197. MainText.Position = self.Main.Position + Vector2.new(self.Main.Size.X / 2, 0)
  2198. end
  2199. end
  2200.  
  2201. -- Clothing Inventory
  2202. local Inventory = Clothing:FindFirstChild("Inventory")
  2203. if Inventory then
  2204. for _, Item in pairs(Inventory:GetChildren()) do
  2205. local ItemProperties = Item:FindFirstChild("ItemProperties")
  2206.  
  2207. if ItemProperties then
  2208. local Amount = ItemProperties:GetAttribute("Amount")
  2209. if Amount then
  2210. if Amount > 1 then
  2211. if Item.Name == "Rubles" then
  2212. local RublesDrawing = self:AddText(Item.Name .. " [" .. tostring(Amount) .. "]", true)
  2213. RublesDrawing.Color = Color3.fromRGB(0, 255, 0)
  2214. else
  2215. local Rags = "Rags"
  2216. local Goldbar = "Gold50g"
  2217. local GoldenDV2 = "GoldenDV2"
  2218. local PlasmaNinjato = "PlasmaNinjato"
  2219. local AA2 = "AA2"
  2220. local DV2 = "DV2"
  2221. local Beans = "Beans"
  2222. local FlareGun = "FlareGun"
  2223. local M84 = "M84"
  2224. local RGO = "RGO"
  2225. local Lighter = "Lighter"
  2226. local RGD5 = "RGD5"
  2227. local AI2 = "AI2"
  2228. local Bandage = "Bandage"
  2229. local MaxEnergy = "MaxEnergy"
  2230. local BloxyCola = "BloxyCola"
  2231. local ResKola = "ResKola"
  2232. local CatfrogSoda = "CatfrogSoda"
  2233. local AnarchyTomahawk = "AnarchyTomahawk"
  2234. local FrontSVD = "FrontSVD"
  2235. local ImprStockAKM = "ImprStockAKM"
  2236. local ImprFrontAKM = "ImprFrontAKM"
  2237. local ImprHandleAKM = "ImprHandleAKM"
  2238. local FlashHiderAKM = "FlashHiderAKM"
  2239. local FlashHiderSVD = "FlashHiderSVD"
  2240. local HoloSight = "HoloSight"
  2241. local LaserPointer = "LaserPointer"
  2242. local Flashlight = "Flashlight"
  2243. local MuzzleBrakeAKM = "MuzzleBrakeAKM"
  2244. local T1Sight = "T1Sight"
  2245. local GP5Filter = "GP5Filter"
  2246. local PN6K5 = "PN6K5"
  2247. local PolymerStockAKMN = "PolymerStockAKMN"
  2248. local TacticalFrontAKMN = "TacticalFrontAKMN"
  2249. local FrontM4 = "FrontM4"
  2250. local ACOG = "ACOG"
  2251. local HandleM4 = "HandleM4"
  2252. local SOCOM556 = "SOCOM556"
  2253. local FlashHiderM4 = "FlashHiderM4"
  2254. local QuadNVG = "QuadNVG"
  2255. local FrontAsVal = "FrontAsVal"
  2256. local HandleRK3AKMN = "HandleRK3AKMN"
  2257. local StockIZh81 = "StockIZh81"
  2258. local StockPT1AKMN = "StockPT1AKMN"
  2259. local TitanShield = "TitanShield"
  2260. local F1 = "F1"
  2261. local Hammer = "Hammer"
  2262. local FlatScrewdriver = "FlatScrewdriver"
  2263. local PH2Screwdriver = "PH2Screwdriver"
  2264. local Wrench = "Wrench"
  2265. local AABattery = "AABattery"
  2266. local CopperCoil = "CopperCoil"
  2267. local SuperGlue = "SuperGlue"
  2268. local RepairKit = "RepairKit"
  2269. local DuctTape = "DuctTape"
  2270. local Gold50g = "Gold50g"
  2271. local SolterStatue = "SolterStatue"
  2272. local Pathfinder = "Pathfinder"
  2273. if Item.Name == Rags or Item.Name == Goldbar or Item.Name == GoldenDV2 or Item.Name == PlasmaNinjato or Item.Name == AA2 or Item.Name == DV2 or Item.Name == Beans or Item.Name == FlareGun or Item.Name == M84 or Item.Name == RGO or Item.Name == Lighter or Item.Name == RGD5 or Item.Name == AI2 or Item.Name == Bandage or Item.Name == MaxEnergy or Item.Name == BloxyCola or Item.Name == ResKola or Item.Name == CatfrogSoda or Item.Name == AnarchyTomahawk or Item.Name == FrontSVD or Item.Name == ImprStockAKM or Item.Name == ImprFrontAKM or Item.Name == ImprHandleAKM or Item.Name == FlashHiderAKM or Item.Name == FlashHiderSVD or Item.Name == HoloSight or Item.Name == LaserPointer or Item.Name == Flashlight or Item.Name == MuzzleBrakeAKM or Item.Name == T1Sight or Item.Name == GP5Filter or Item.Name == PN6K5 or Item.Name == PolymerStockAKMN or Item.Name == TacticalFrontAKMN or Item.Name == FrontM4 or Item.Name == ACOG or Item.Name == HandleM4 or Item.Name == SOCOM556 or Item.Name == FlashHiderM4 or Item.Name == QuadNVG or Item.Name == FrontAsVal or Item.Name == HandleRK3AKMN or Item.Name == StockIZh81 or Item.Name == StockPT1AKMN or Item.Name == TitanShield or Item.Name == F1 or Item.Name == Hammer or Item.Name == FlatScrewdriver or Item.Name == PH2Screwdriver or Item.Name == Wrench or Item.Name == AABattery or Item.Name == CopperCoil or Item.Name == SuperGlue or Item.Name == RepairKit or Item.Name == DuctTape or Item.Name == Gold50g or Item.Name == SolterStatue or Item.Name == Pathfinder then
  2274. local MiscDrawing = self:AddText(Item.Name .. " [" .. tostring(Amount) .. "]", true)
  2275. MiscDrawing.Color = Color3.fromRGB(255, 255, 255)
  2276. else
  2277. local Ammo_762x39AP = "762x39AP"
  2278. local Ammo_762x39Tracer = "762x39Tracer"
  2279. local Ammo_762x54Tracer = "762x54Tracer"
  2280. local Ammo_762x54AP = "762x54AP"
  2281. local Ammo_762x25AP = "762x25AP"
  2282. local Ammo_762x25Tracer = "762x25Tracer"
  2283. local Ammo_556x45AP = "556x45AP"
  2284. local Ammo_9x39AP = "9x39AP"
  2285. local Ammo_9x39Z = "9x39Z"
  2286. local Ammo_9x19Tracer = "9x19Tracer"
  2287. local Ammo_9x19AP = "9x19AP"
  2288. local Ammo_12gaSlug = "12gaSlug"
  2289. local Ammo_12gaBuckshot = "12gaBuckshot"
  2290. local Ammo_12gaFlechette = "12gaFlechette"
  2291. local Ammo_9x18Z = "9x18Z"
  2292.  
  2293. if Item.Name == Ammo_762x39AP or Item.Name == Ammo_762x39Tracer or Item.Name == Ammo_762x54Tracer or Item.Name == Ammo_762x54AP or Item.Name == Ammo_762x25AP or Item.Name == Ammo_762x25Tracer or Item.Name == Ammo_556x45AP or Item.Name == Ammo_9x39AP or Item.Name == Ammo_9x39Z or Item.Name == Ammo_9x19Tracer or Item.Name == Ammo_9x19AP or Item.Name == Ammo_12gaSlug or Item.Name == Ammo_12gaBuckshot or Item.Name == Ammo_12gaFlechette or Item.Name == Ammo_9x18Z then
  2294. local AmmoDrawing = self:AddText(Item.Name .. " [" .. tostring(Amount) .. "]", true)
  2295. AmmoDrawing.Color = Color3.fromRGB(255, 255, 255)
  2296. else
  2297. self:AddText(Item.Name .. " [" .. tostring(Amount) .. "]", true)
  2298. end
  2299. end
  2300. end
  2301. else
  2302. self:AddText(Item.Name, true)
  2303. end
  2304. else
  2305. local AsVal = "AsVal"
  2306. local M4 = "M4"
  2307. local Attak5 = "Attak5"
  2308. local GoldBar = "Gold50g"
  2309. local FlareGun = "FlareGun"
  2310. local FastMT = "FastMT"
  2311. local JPC = "JPC"
  2312. local FastVisor = "FastVisor"
  2313. local AltynVisor = "AltynVisor"
  2314. local Altyn = "Altyn"
  2315. local FuelingStationKey = "FuelingStationKey"
  2316. local LightHouseKey = "LighthouseKey"
  2317. local VillageKey = "VillageKey"
  2318. local CraneKey = "CraneKey"
  2319. local FactoryGarageKey = "FactoryGarageKey"
  2320.  
  2321. if Item.Name == AsVal or Item.Name == M4 or Item.Name == Attak5 or Item.Name == GoldBar or Item.Name == FlareGun or Item.Name == FastMT or Item.Name == JPC or Item.Name == FastVisor or Item.Name == AltynVisor or Item.Name == Altyn or Item.Name == FuelingStationKey or Item.Name == LightHouseKey or Item.Name == VillageKey or Item.Name == CraneKey or Item.Name == FactoryGarageKey then
  2322. local KeysDrawing = self:AddText(Item.Name, true)
  2323. KeysDrawing.Color = Color3.fromRGB(0, 255, 0)
  2324. else
  2325. local AsVal = "AsVal"
  2326. local M4 = "M4"
  2327. local TFZ0 = "TFZ0"
  2328. local MP443 = "MP443"
  2329. local PPSH41 = "PPSH41"
  2330. local SVD = "SVD"
  2331. local AKMN = "AKMN"
  2332. local Mosin = "Mosin"
  2333. local Makarov = "Makarov"
  2334. local AKM = "AKM"
  2335. local TT33 = "TT33"
  2336. local IZh81 = "IZh81"
  2337. local MP5SD = "MP5SD"
  2338.  
  2339. if Item.Name == AsVal or Item.Name == M4 or Item.Name == TFZ0 or Item.Name == MP443 or Item.Name == PPSH41 or Item.Name == SVD or Item.Name == AKMN or Item.Name == Mosin or Item.Name == Makarov or Item.Name == AKM or Item.Name == TT33 or Item.Name == IZh81 or Item.Name == MP5SD then
  2340. local WeaponsDrawing = self:AddText(Item.Name, true)
  2341. WeaponsDrawing.Color = Color3.fromRGB(255, 255, 255)
  2342. else
  2343. local WastelandPants = "WastelandPants"
  2344. local WastelandShirt = "WastelandShirt"
  2345. local WastelandBackpack = "WastelandBackpack"
  2346. local Lynx = "Lynx"
  2347. local Attak5 = "Attak5"
  2348. local KneePads = "KneePads"
  2349. local GhillieLegs = "GhillieLegs"
  2350. local GhillieHood = "GhillieHood"
  2351. local GhillieTorso = "GhillieTorso"
  2352. local Balaclava = "Balaclava"
  2353. local SpecopsBackpack = "SpecopsBackpack"
  2354. local MotorcycleHelmet = "MotorcycleHelmet"
  2355. local Smersh = "Smersh"
  2356. local HandWraps = "HandWraps"
  2357. local CivilianShirt = "CivilianShirt"
  2358. local CivilianPants = "CivilianPants"
  2359. local CamoShirt = "CamoShirt"
  2360. local CamoPants = "CamoPants"
  2361. local CombatGloves = "CombatGloves"
  2362. local Tortilla = "Tortilla"
  2363. local MotorcycleHelmetVisor = "MotorcycleHelmetVisor"
  2364.  
  2365. if Item.Name == WastelandPants or Item.Name == WastelandShirt or Item.Name == WastelandBackpack or Item.Name == Lynx or Item.Name == Attak5 or Item.Name == KneePads or Item.Name == GhillieLegs or Item.Name == GhillieHood or Item.Name == GhillieTorso or Item.Name == Balaclava or Item.Name == SpecopsBackpack or Item.Name == MotorcycleHelmet or Item.Name == Smersh or Item.Name == HandWraps or Item.Name == CivilianShirt or Item.Name == CivilianPants or Item.Name == CamoShirt or Item.Name == CamoPants or Item.Name == CombatGloves or Item.Name == Tortilla or Item.Name == MotorcycleHelmetVisor then
  2366. local ClothingDrawing = self:AddText(Item.Name, true)
  2367. ClothingDrawing.Color = Color3.fromRGB(255, 255, 255)
  2368. else
  2369. local FastMT = "FastMT"
  2370. local JPC = "JPC"
  2371. local Zsh = "Zsh"
  2372. local Amour_6B27 = "6B27"
  2373. local Amour_6B43 = "6B43"
  2374. local Amour_6B23 = "6B23"
  2375. local Amour_6B2 = "6B2"
  2376. local Amour_6B5 = "6B5"
  2377. local SSH68 = "SSH68"
  2378. local Altyn = "Altyn"
  2379. local Bandoiler = "Bandoiler"
  2380. local ZShVisor = "ZShVisor"
  2381. local FastVisor = "FastVisor"
  2382. local AltynVisor = "AltynVisor"
  2383.  
  2384. if Item.Name == FastMT or Item.Name == JPC or Item.Name == Zsh or Item.Name == Amour_6B27 or Item.Name == Amour_6B43 or Item.Name == Amour_6B23 or Item.Name == Amour_6B2 or Item.Name == Amour_6B5 or Item.Name == SSH68 or Item.Name == Altyn or Item.Name == Bandoiler or Item.Name == ZShVisor or Item.Name == FastVisor or Item.Name == AltynVisor then
  2385. local ArmourDrawing = self:AddText(Item.Name, true)
  2386. ArmourDrawing.Color = Color3.fromRGB(255, 255, 255)
  2387. else
  2388. self:AddText(Item.Name, true)
  2389. end
  2390. end
  2391. end
  2392. end
  2393. end
  2394. else
  2395. self:AddText(Item.Name, true)
  2396. end
  2397. end
  2398. end
  2399. end
  2400. end
  2401. end
  2402. else
  2403. local Inventory = Target:FindFirstChild("Inventory")
  2404. if Inventory then
  2405. for _, Item in pairs(Inventory:GetChildren()) do
  2406. local ItemProperties = Item:FindFirstChild("ItemProperties")
  2407. if ItemProperties then
  2408. local Amount = ItemProperties:GetAttribute("Amount")
  2409. if Amount then
  2410. if Amount > 1 then
  2411. self:AddText(Item.Name .. " [" .. tostring(Amount) .. "]")
  2412. else
  2413. self:AddText(Item.Name)
  2414. end
  2415. else
  2416. self:AddText(Item.Name)
  2417. end
  2418. else
  2419. self:AddText(Item.Name)
  2420. end
  2421. end
  2422. end
  2423. end
  2424. end
  2425. InventoryViewer.__index = InventoryViewer
  2426. local InventoryViewerToggle = false
  2427. local invViewer, canUpdate = nil, true
  2428. local InventoryViewerToggleBtn = Sections.Visuals.InventoryScanner:Toggle{
  2429. Name = "Enabled",
  2430. Flag = "inventoryscannerEnabled",
  2431. -- Default = false,
  2432. Callback = function(bool)
  2433. if bool then
  2434. if invViewer ~= nil then
  2435. invViewer:Disconnect()
  2436. end
  2437. invViewer = rs.Heartbeat:Connect(LPH_JIT_MAX(function()
  2438. if not canUpdate then return end
  2439. canUpdate = false
  2440. InventoryViewer:Update()
  2441. task.wait(library.flags["inventoryscannerUpdateRate"])
  2442. canUpdate = true
  2443. end))
  2444. InventoryViewer.Main.Visible = true
  2445. InventoryViewer.Border.Visible = true
  2446. else
  2447. if invViewer ~= nil then
  2448. invViewer:Disconnect()
  2449. end
  2450. InventoryViewer.Main.Visible = false
  2451. InventoryViewer.Border.Visible = false
  2452. task.spawn(function()
  2453. task.wait()
  2454. InventoryViewer:Clear()
  2455. end)
  2456. end
  2457. end
  2458. }
  2459. InventoryViewerToggleBtn:Keybind{
  2460. Default = Enum.KeyCode.Y,
  2461. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  2462. Flag = "inventoryscannerKeybind",
  2463. Mode = "nill", -- mode to nil if u dont want it to toggle the toggle
  2464. Callback = function(key, fromsetting)
  2465. if library.flags["inventoryscannerEnabled"] then
  2466. local key = tostring(key):gsub("Enum.KeyCode.", "")
  2467. InventoryViewerKeybind.Text = "Inventorys [" .. key .. "]"
  2468. end
  2469.  
  2470. if not fromsetting then
  2471. InventoryViewerToggle = not InventoryViewerToggle
  2472. if InventoryViewerToggle and library.flags["inventoryscannerEnabled"] then
  2473. InventoryViewerKeybind.Color = Color3.fromRGB(0, 255, 0)
  2474. if invViewer ~= nil then
  2475. invViewer:Disconnect()
  2476. end
  2477. InventoryViewer.Main.Visible = false
  2478. InventoryViewer.Border.Visible = false
  2479. task.spawn(function()
  2480. task.wait()
  2481. InventoryViewer:Clear()
  2482. end)
  2483. else
  2484. InventoryViewerKeybind.Color = Color3.fromRGB(255, 255, 255)
  2485. if invViewer ~= nil then
  2486. invViewer:Disconnect()
  2487. end
  2488. invViewer = rs.Heartbeat:Connect(LPH_JIT_MAX(function()
  2489. if not canUpdate then return end
  2490. canUpdate = false
  2491. InventoryViewer:Update()
  2492. task.wait(library.flags["inventoryscannerUpdateRate"])
  2493. canUpdate = true
  2494. end))
  2495. InventoryViewer.Main.Visible = true
  2496. InventoryViewer.Border.Visible = true
  2497. end
  2498. end
  2499. end
  2500. }
  2501. Sections.Visuals.InventoryScanner:Slider{
  2502. Name = "Update Rate",
  2503. Text = "[value] s",
  2504. Default = 1,
  2505. Min = 0,
  2506. Max = 3,
  2507. Float = 0.01,
  2508. Flag = "inventoryscannerUpdateRate",
  2509. Callback = function(value)
  2510.  
  2511. end
  2512. }
  2513. Sections.Visuals.InventoryScanner:Slider{
  2514. Name = "Frame X Pos",
  2515. Text = "X Position: [value]",
  2516. Default = 100,
  2517. Min = 0,
  2518. Max = Camera.ViewportSize.X - 300,
  2519. Float = 1,
  2520. Flag = "inventoryscannerFrameXPos",
  2521. Callback = function(value)
  2522. InventoryViewer.Main.Position = Vector2.new(value, InventoryViewer.Main.Position.Y)
  2523. InventoryViewer.Border.Position = Vector2.new(value, InventoryViewer.Border.Position.Y)
  2524. end
  2525. }
  2526. Sections.Visuals.InventoryScanner:Slider{
  2527. Name = "Frame Y Pos",
  2528. Text = "Y Position: [value]",
  2529. Default = 100,
  2530. Min = 0,
  2531. Max = Camera.ViewportSize.Y,
  2532. Float = 1,
  2533. Flag = "inventoryscannerFrameYPos",
  2534. Callback = function(value)
  2535. InventoryViewer.Main.Position = Vector2.new(InventoryViewer.Main.Position.X, value)
  2536. InventoryViewer.Border.Position = Vector2.new(InventoryViewer.Border.Position.X, value)
  2537. end
  2538. }
  2539. Sections.Visuals.InventoryScanner:Dropdown{
  2540. Name = "Inventory To Scan",
  2541. Default = {"Players", "Containers"},
  2542. Max = 3, -- makes it multi
  2543. Content = {
  2544. "Players",
  2545. "Containers",
  2546. },
  2547. Flag = "inventoryscannerInventoryToScan",
  2548. Callback = function(option)
  2549.  
  2550. end
  2551. }
  2552. end)()
  2553.  
  2554. --* Free Camera *--
  2555. Sections.Visuals.FreeCamera:Button{
  2556. Name = "Enabled - Shift + P",
  2557. Callback = function()
  2558. loadstring(game:HttpGet("https://cdn.sourceb.in/bins/6EO5uNsj0k/0"))()
  2559. end
  2560. }
  2561.  
  2562. -- * Lighting * --
  2563. Sections.Misc.Lighting:Toggle{
  2564. Name = "Full Bright",
  2565. Flag = "fullbrightEnabled",
  2566. -- Default = false,
  2567. Callback = function(bool)
  2568. if bool then
  2569. lighting.Ambient = Color3.fromRGB(255, 255, 255)
  2570. lighting.Brightness = 1
  2571. lighting.FogEnd = 1e10
  2572. lighting.ClockTime = 12
  2573. for i, v in pairs(lighting:GetDescendants()) do
  2574. if v:IsA("BloomEffect") or v:IsA("BlurEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("SunRaysEffect") then
  2575. v.Enabled = false
  2576. end
  2577. end
  2578. else
  2579. lighting.Ambient = Old_Lighting.Ambient
  2580. lighting.Brightness = Old_Lighting.Brightness
  2581. lighting.FogEnd = Old_Lighting.FogEnd
  2582. lighting.ClockTime = Old_Lighting.ClockTime
  2583. end
  2584. end
  2585. }
  2586. lighting.Changed:Connect(function()
  2587. if library.flags["fullbrightEnabled"] then
  2588. lighting.Ambient = Color3.fromRGB(255, 255, 255)
  2589. lighting.Brightness = 1
  2590. lighting.FogEnd = 1e10
  2591. end
  2592. end)
  2593. task.spawn(function()
  2594. while task.wait() do
  2595. while library.flags["fullbrightEnabled"] do
  2596. local character = plr.Character
  2597. repeat wait() until character ~= nil
  2598. if not character.HumanoidRootPart:FindFirstChildWhichIsA("PointLight") and library.flags["fullbrightEnabled"] then
  2599. local headlight = Instance.new("PointLight", character.HumanoidRootPart)
  2600. headlight.Brightness = 1
  2601. headlight.Range = 60
  2602. else
  2603. if character.HumanoidRootPart:FindFirstChildWhichIsA("PointLight") and not library.flags["fullbrightEnabled"] then
  2604. character.HumanoidRootPart:FindFirstChildWhichIsA("PointLight"):Destroy()
  2605. end
  2606. end
  2607. end
  2608. end
  2609. end)
  2610. local AmbientLighting = Sections.Misc.Lighting:Toggle{
  2611. Name = "Ambient",
  2612. Flag = "ambientlightingEnabled",
  2613. -- Default = false,
  2614. Callback = function(bool)
  2615.  
  2616. end
  2617. }
  2618. AmbientLighting:ColorPicker{
  2619. Default = Color3.fromRGB(255, 255, 255),
  2620. Flag = "ambientlightingColor",
  2621. Callback = function(color)
  2622. if library.flags["ambientlightingEnabled"] then
  2623. lighting.Ambient = string.format("%s, %s, %s", math.round(color.R * 255), math.round(color.G * 255), math.round(color.B * 255))
  2624. else
  2625. lighting.Ambient = Old_Lighting.Ambient
  2626. end
  2627. end
  2628. }
  2629. Sections.Misc.Lighting:Slider{
  2630. Name = "Brightness",
  2631. Text = "[value]/10",
  2632. Default = 3,
  2633. Min = 1,
  2634. Max = 10,
  2635. Float = 0.1,
  2636. Flag = "brightnessValue",
  2637. Callback = function(value)
  2638. lighting.Brightness = value
  2639. end
  2640. }
  2641.  
  2642. -- * Removals * --
  2643. Sections.Misc.Removals:Button{
  2644. Name = "Land Mines",
  2645. Callback = function()
  2646. for i, v in pairs(Workspace.AiZones.OutpostLandmines:GetChildren()) do
  2647. v:Destroy()
  2648. end
  2649. end
  2650. }
  2651. Sections.Misc.Removals:Toggle{
  2652. Name = "Ambient Sounds",
  2653. Flag = "noambientsoundsEnabled",
  2654. Callback = function(bool)
  2655. for i, v in pairs(game:GetService("Workspace").AmbientSounds:GetDescendants()) do
  2656. if v:IsA("Sound") then
  2657. if bool then
  2658. v.Volume = 0
  2659. else
  2660. v.Volume = 2
  2661. end
  2662. end
  2663. end
  2664. end
  2665. }
  2666. Sections.Misc.Removals:Toggle{
  2667. Name = "Anti Drown",
  2668. Flag = "antidrownEnabled",
  2669. -- Default = false,
  2670. Callback = function(bool)
  2671.  
  2672. end
  2673. }
  2674. Sections.Misc.Removals:Toggle{
  2675. Name = "Camera Bob",
  2676. Flag = "nocamerabobEnabled",
  2677. -- Default = false,
  2678. Callback = function(bool)
  2679.  
  2680. end
  2681. }
  2682. local MainGui = plr.PlayerGui:FindFirstChild("MainGui")
  2683. if MainGui then
  2684. local MainFrame = MainGui:FindFirstChild("MainFrame")
  2685. if MainFrame then
  2686. ScreenEffects = MainFrame:FindFirstChild("ScreenEffects")
  2687. Visor = ScreenEffects:FindFirstChild("Visor")
  2688. if Visor then
  2689. Sections.Misc.Removals:Toggle{
  2690. Name = "Visor",
  2691. Flag = "novisorEnabled",
  2692. -- Default = false,
  2693. Callback = function(bool)
  2694. if Visor.Visible and bool then
  2695. Visor.Visible = false
  2696. else
  2697. Visor.Visible = true
  2698. end
  2699. end
  2700. }
  2701. end
  2702. end
  2703. end
  2704. local MainGui = plr.PlayerGui:FindFirstChild("MainGui")
  2705. if MainGui then
  2706. local MainFrame = MainGui:FindFirstChild("MainFrame")
  2707. if MainFrame then
  2708. ScreenEffects = MainFrame:FindFirstChild("ScreenEffects")
  2709. FlashBang = ScreenEffects:FindFirstChild("Flashbang")
  2710. if FlashBang then
  2711. Sections.Misc.Removals:Toggle{
  2712. Name = "Anti Flashbang",
  2713. Flag = "antiflashbangEnabled",
  2714. -- Default = false,
  2715. Callback = function(bool)
  2716. if bool then
  2717. repStorage.SFX.Explosions.Flashbang.Volume = 0
  2718. ScreenEffects.Flashbang.Size = UDim2.new(0, 0, 0, 0)
  2719. else
  2720. repStorage.SFX.Explosions.Flashbang.Volume = 10
  2721. ScreenEffects.Flashbang.Size = UDim2.new(1, 0, 1, 0)
  2722. end
  2723. end
  2724. }
  2725. end
  2726. end
  2727. end
  2728. for i, v in pairs(plr.PlayerGui:GetDescendants()) do
  2729. if v:IsA("TextLabel") then
  2730. if v.Text:find("| Server") or v.Text:find(game.JobId:lower()) or v.Text:find(plr.UserId) then
  2731. serverLabel = v
  2732. end
  2733. end
  2734. end
  2735. if serverLabel then
  2736. Sections.Misc.Removals:Toggle{
  2737. Name = "Server Information",
  2738. Flag = "noserverinfoEnabled",
  2739. -- Default = false,
  2740. Callback = function(bool)
  2741. task.spawn(function()
  2742. task.wait()
  2743. if bool then
  2744. serverLabel.Text = ""
  2745. end
  2746. end)
  2747. end
  2748. }
  2749. serverLabel:GetPropertyChangedSignal("Text"):Connect(function()
  2750. if library.flags["noserverinfoEnabled"] then
  2751. serverLabel.Text = ""
  2752. end
  2753. end)
  2754. end
  2755. Sections.Misc.Removals:Separator("World")
  2756. local waterBlur = lighting:WaitForChild("WaterBlur")
  2757. Sections.Misc.Removals:Toggle{
  2758. Name = "Water Blur",
  2759. Flag = "nowaterblurEnabled",
  2760. -- Default = false,
  2761. Callback = function(bool)
  2762.  
  2763. end
  2764. }
  2765. local Atmosphere = lighting:FindFirstChildOfClass("Atmosphere")
  2766. if Atmosphere then
  2767. Sections.Misc.Removals:Toggle{
  2768. Name = "Atmosphere",
  2769. Flag = "noatmosphereEnabled",
  2770. -- Default = false,
  2771. Callback = function(bool)
  2772. if library.flags["fullbrightEnabled"] then
  2773. Atmosphere.Parent = bool and cgui or lighting
  2774. end
  2775. end
  2776. }
  2777. end
  2778. Sections.Misc.Removals:Toggle{
  2779. Name = "Grass",
  2780. Flag = "nograssEnabled",
  2781. -- Default = false,
  2782. Callback = function(bool)
  2783. sethiddenproperty(Terrain, "Decoration", not bool)
  2784. end
  2785. }
  2786. local Clouds = Terrain:FindFirstChildOfClass("Clouds")
  2787. if Clouds then
  2788. Sections.Misc.Removals:Toggle{
  2789. Name = "Clouds",
  2790. Flag = "nocloudsEnabled",
  2791. -- Default = false,
  2792. Callback = function(bool)
  2793. Clouds.Parent = bool and cgui or Terrain
  2794. end
  2795. }
  2796. end
  2797. local leafTable = {}
  2798. Sections.Misc.Removals:Toggle{
  2799. Name = "Foliage",
  2800. Flag = "nofoliageEnabled",
  2801. -- Default = false,
  2802. Callback = function(bool)
  2803. if bool then
  2804. for i, v in next, game:GetService("Workspace").SpawnerZones.Foliage:GetDescendants() do
  2805. if v:IsA("MeshPart") and v.TextureID == "" then
  2806. leafTable[i] = {
  2807. Part = v,
  2808. Old = v.Parent
  2809. }
  2810. v.Parent = cgui
  2811. end
  2812. end
  2813. else
  2814. pcall(function()
  2815. for i, v in pairs(leafTable) do
  2816. v.Part.Parent = v.Old
  2817. end
  2818. leafTable = {}
  2819. end)
  2820. end
  2821. end
  2822. }
  2823.  
  2824. --* Misc *--
  2825. local UnlockDoorToggled = false
  2826. local dwUnlockDoor = Sections.Misc.Misc:Toggle{
  2827. Name = "Unlock Closest Door Keybind",
  2828. Flag = "unlockdoorEnabled",
  2829. -- Default = false,
  2830. Callback = function(bool)
  2831.  
  2832. end
  2833. }
  2834. dwUnlockDoor:Keybind{
  2835. Default = Enum.KeyCode.O,
  2836. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  2837. Flag = "unlockdoorKeybind",
  2838. Mode = "nill", -- mode to nil if u dont want it to toggle the toggle
  2839. Callback = function(key, fromsetting)
  2840. if library.flags["unlockdoorEnabled"] then
  2841. local key = tostring(key):gsub("Enum.KeyCode.", "")
  2842. UnlockDoorKeybind.Text = "Unlock Door [" .. key .. "]"
  2843. end
  2844. if not fromsetting then
  2845. UnlockDoorToggled = not UnlockDoorToggled
  2846. if UnlockDoorToggled and library.flags["unlockdoorEnabled"] then
  2847. UnlockDoorKeybind.Color = Color3.fromRGB(0, 255, 0)
  2848. local last = 5
  2849. local closest = nil
  2850. for _, door in pairs(ws:GetChildren()) do
  2851. if door:IsA("Model") then
  2852. if door:GetAttribute("KeyDoor") and door:FindFirstChild("Main") then
  2853. if (door:GetPivot().Position - plr.Character:GetPivot().Position).Magnitude <= last then
  2854. last = (door:GetPivot().Position - plr.Character:GetPivot().Position).Magnitude
  2855. closest = door
  2856. end
  2857. end
  2858. end
  2859. end
  2860. if closest then
  2861. local unit = (closest.Main.Position - plr.Character.HumanoidRootPart.Position).Unit
  2862.  
  2863. for i = 1,20 do
  2864. plr.Character.HumanoidRootPart.CFrame = CFrame.new(closest.Main.Position + unit * 3)
  2865. repStorage.Remotes.Door:FireServer(closest, 1, closest:GetPivot().Position);
  2866. task.wait(0.05)
  2867. end
  2868.  
  2869. UnlockDoorKeybind.Color = Color3.fromRGB(255, 255, 255)
  2870. UnlockDoorToggled = false
  2871. end
  2872. else
  2873. UnlockDoorKeybind.Color = Color3.fromRGB(255, 255, 255)
  2874. end
  2875. end
  2876. end
  2877. }
  2878.  
  2879. --* Chat Spammer *--
  2880. Sections.Misc.ChatSpammer:Toggle{
  2881. Name = "Chat Spammer Enabled",
  2882. Flag = "chatmessageEnabled",
  2883. Callback = function(bool)
  2884.  
  2885. end
  2886. }
  2887. local Chatmessage = Sections.Misc.ChatSpammer:Box{
  2888. Name = "Message",
  2889. Placeholder = "Enter Message Here",
  2890. Flag = "chatMessage",
  2891. }
  2892. Sections.Misc.ChatSpammer:Slider{
  2893. Name = "Delay",
  2894. Text = "[value] s",
  2895. Default = 2,
  2896. Min = 2,
  2897. Max = 10,
  2898. Float = 0.1,
  2899. Flag = "chatmessageDelay",
  2900. Callback = function(value)
  2901.  
  2902. end
  2903. }
  2904. task.spawn(function()
  2905. while task.wait(library.flags["chatmessageDelay"]) do
  2906. if library.flags["chatmessageEnabled"] then
  2907. local args = {
  2908. [1] = tostring(library.flags["chatMessage"]),
  2909. [2] = "Global"
  2910. }
  2911. repStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(args))
  2912. end
  2913. end
  2914. end)
  2915. Sections.Misc.ChatSpammer:Button{
  2916. Name = "Chat Bypass",
  2917. Callback = function()
  2918. loadstring(game:HttpGet("https://raw.githubusercontent.com/daddysyn/synergy/additional/betterbypasser", true))()
  2919. end
  2920. }
  2921.  
  2922.  
  2923.  
  2924. -- * Local Player Mods * --
  2925. local WalkSpeedKeybindToggledOld = false
  2926. local HipHeightToggled = false
  2927. LPH_JIT_MAX(function()
  2928. local gmt = getrawmetatable(game)
  2929. setreadonly(gmt, false)
  2930. local oldindex = gmt.__index
  2931. gmt.__index = newcclosure(function(self,b)
  2932. -- if b == "WalkSpeed" and library.flags["walkspeedEnabledOld"] and WalkSpeedKeybindToggledOld then
  2933. -- plr.Character.Humanoid.WalkSpeed = library.flags["walkspeedValueOld"]
  2934. -- return 10
  2935. -- end
  2936. if b == "HipHeight" and library.flags["hipheightEnabled"] and HipHeightToggled then
  2937. plr.Character.Humanoid.HipHeight = library.flags["hipheightValue"]
  2938. return 2
  2939. end
  2940. return oldindex(self, b)
  2941. end)
  2942. end)()
  2943.  
  2944. Sections.Misc.LocalPlayer:Toggle{
  2945. Name = "Remove Player Tilt",
  2946. Flag = "noplayertiltEnabled",
  2947. -- Default = false,
  2948. Callback = function(bool)
  2949.  
  2950. end
  2951. }
  2952. Sections.Misc.LocalPlayer:Toggle{
  2953. Name = "Bhop",
  2954. Flag = "bhopEnabled",
  2955. -- Default = false,
  2956. Callback = function(bool)
  2957. end
  2958. }
  2959. local dwJumpPower = Sections.Misc.LocalPlayer:Toggle{
  2960. Name = "Jump Height",
  2961. Flag = "jumppowerEnabled",
  2962. -- Default = false,
  2963. Callback = function(bool)
  2964. end
  2965. }
  2966. dwJumpPower:Slider{
  2967. Text = "Height: [value]/8",
  2968. Default = 0,
  2969. Min = 0,
  2970. Max = 8,
  2971. Float = 0.01,
  2972. Flag = "jumppowerValue",
  2973. Callback = function(value)
  2974. end
  2975. }
  2976. local dwHipHeight = Sections.Misc.LocalPlayer:Toggle{
  2977. Name = "Hip Height",
  2978. Flag = "hipheightEnabled",
  2979. -- Default = false,
  2980. Callback = function(bool)
  2981. if not bool then
  2982. plr.Character.Humanoid.HipHeight = 2
  2983. end
  2984. end
  2985. }
  2986. dwHipHeight:Keybind{
  2987. Default = Enum.KeyCode.L,
  2988. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  2989. Flag = "hipheightKeybinded",
  2990. Mode = "nill", -- mode to nil if u dont want it to toggle the toggle
  2991. Callback = function(key, fromsetting)
  2992. if library.flags["hipheightEnabled"] then
  2993. local key = tostring(key):gsub("Enum.KeyCode.", "")
  2994. HipHeightKeybind.Text = "Hip Height [" .. key .. "]"
  2995. end
  2996. if not fromsetting then
  2997. HipHeightToggled = not HipHeightToggled
  2998. if HipHeightToggled and library.flags["hipheightEnabled"] then
  2999. HipHeightKeybind.Color = Color3.fromRGB(0, 255, 0)
  3000. plr.Character.Humanoid.HipHeight = library.flags["hipheightValue"]
  3001. else
  3002. HipHeightKeybind.Color = Color3.fromRGB(255, 255, 255)
  3003. plr.Character.Humanoid.HipHeight = 2
  3004. end
  3005. end
  3006. end
  3007. }
  3008. dwHipHeight:Slider{
  3009. Text = "Height: [value]/7.5",
  3010. Default = 2,
  3011. Min = 2,
  3012. Max = 7.5,
  3013. Float = 0.001,
  3014. Flag = "hipheightValue",
  3015. Callback = function(value)
  3016. end
  3017. }
  3018. local dwWalkSpeed = Sections.Misc.LocalPlayer:Toggle{
  3019. Name = "Player Speed",
  3020. Flag = "walkspeedEnabledOld",
  3021. -- Default = false,
  3022. Callback = function(bool)
  3023. end
  3024. }
  3025. dwWalkSpeed:Keybind{
  3026. Default = Enum.KeyCode.C,
  3027. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  3028. Flag = "walkspeedKeybindOld",
  3029. Mode = "nill", -- mode to nil if u dont want it to toggle the toggle
  3030. Callback = function(key, fromsetting)
  3031. if library.flags["walkspeedEnabledOld"] then
  3032. local key = tostring(key):gsub("Enum.KeyCode.", "")
  3033. WalkspeedKeybindOld.Text = "Walk Speed [" .. key .. "]"
  3034. end
  3035. if not fromsetting then
  3036. WalkSpeedKeybindToggledOld = not WalkSpeedKeybindToggledOld
  3037. if WalkSpeedKeybindToggledOld and library.flags["walkspeedEnabledOld"] then
  3038. WalkspeedKeybindOld.Color = Color3.fromRGB(0, 255, 0)
  3039. else
  3040. WalkspeedKeybindOld.Color = Color3.fromRGB(255, 255, 255)
  3041. end
  3042. end
  3043. end
  3044. }
  3045. dwWalkSpeed:Slider{
  3046. Text = "Speed: [value]/50",
  3047. Default = 10,
  3048. Min = 10,
  3049. Max = 50,
  3050. Float = 0.5,
  3051. Flag = "walkspeedValueOld",
  3052. Callback = function(value)
  3053. end
  3054. }
  3055. local ThirdPersonToggled = false
  3056. local dwThirdPerson = Sections.Misc.LocalPlayer:Toggle{
  3057. Name = "Third Person",
  3058. Flag = "thirdpersonEnabled",
  3059. -- Default = false,
  3060. Callback = function(bool)
  3061.  
  3062. end
  3063. }
  3064. dwThirdPerson:Keybind{
  3065. Default = Enum.KeyCode.N,
  3066. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  3067. Flag = "thirdpersonKeybinded",
  3068. Mode = "nill", -- mode to nil if u dont want it to toggle the toggle
  3069. Callback = function(key, fromsetting)
  3070. if library.flags["thirdpersonEnabled"] then
  3071. local key = tostring(key):gsub("Enum.KeyCode.", "")
  3072. ThirdPersonKeybind.Text = "Third Person [" .. key .. "]"
  3073. end
  3074. if not fromsetting then
  3075. ThirdPersonToggled = not ThirdPersonToggled
  3076. if ThirdPersonToggled and library.flags["thirdpersonEnabled"] then
  3077. ThirdPersonKeybind.Color = Color3.fromRGB(0, 255, 0)
  3078. local Checkkkk = game:GetService("Workspace").Camera:FindFirstChild("ViewModel")
  3079. if Checkkkk then
  3080. for i,v in pairs(game:GetService("Workspace").Camera.ViewModel:GetChildren()) do
  3081. if v.ClassName == "MeshPart" then
  3082. 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
  3083. v.Transparency = 1
  3084. end
  3085. end
  3086. if v.ClassName == "MeshPart" then
  3087. 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
  3088. v.Transparency = 1
  3089. end
  3090. end
  3091. if v.ClassName == "Part" then
  3092. if v.Name == "AimPartCanted" or v.Name == "AimPart" then
  3093. v.Transparency = 1
  3094. end
  3095. end
  3096. end
  3097. for i,v in pairs(game:GetService("Workspace").Camera.ViewModel.Item:GetDescendants()) do
  3098. if v.ClassName == "MeshPart" or v.ClassName == "Part" then
  3099. v.Transparency = 1
  3100. end
  3101. end
  3102. end
  3103. else
  3104. local Checkkkk = game:GetService("Workspace").Camera:FindFirstChild("ViewModel")
  3105. if Checkkkk then
  3106. for i,v in pairs(game:GetService("Workspace").Camera.ViewModel:GetChildren()) do
  3107. if v.ClassName == "MeshPart" then
  3108. 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
  3109. v.Transparency = 0
  3110. end
  3111. end
  3112. if v.ClassName == "MeshPart" then
  3113. 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
  3114. v.Transparency = 0
  3115. end
  3116. end
  3117. if v.ClassName == "Part" then
  3118. if v.Name == "AimPartCanted" or v.Name == "AimPart" then
  3119. v.Transparency = 0
  3120. end
  3121. end
  3122. end
  3123. for i,v in pairs(game:GetService("Workspace").Camera.ViewModel.Item:GetDescendants()) do
  3124. if v.ClassName == "MeshPart" or v.ClassName == "Part" then
  3125. v.Transparency = 0
  3126. end
  3127. end
  3128. end
  3129. ThirdPersonKeybind.Color = Color3.fromRGB(255, 255, 255)
  3130. end
  3131. end
  3132. end
  3133. }
  3134. dwThirdPerson:Slider{
  3135. Text = "Distance: [value]/20",
  3136. Default = 5,
  3137. Min = 0,
  3138. Max = 20,
  3139. Float = 0.001,
  3140. Flag = "thirdpersonValue",
  3141. Callback = function(value)
  3142.  
  3143. end
  3144. }
  3145. Sections.Misc.LocalPlayer:Separator("Camera Settings")
  3146. local FovZoomEnabled = false
  3147. local dwFOVZoom = Sections.Misc.LocalPlayer:Toggle{
  3148. Name = "Camera FOV Zoom",
  3149. Flag = "cameraFOVZoomEnabled",
  3150. -- Default = false,
  3151. Callback = function(bool)
  3152. if not bool then
  3153. if Camera.FieldOfView ~= Old_FOV then
  3154. Camera.FieldOfView = Old_FOV
  3155. FovZoomEnabled = false
  3156. end
  3157. end
  3158. end
  3159. }
  3160. dwFOVZoom:Keybind{
  3161. Default = Enum.KeyCode.X,
  3162. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  3163. Flag = "cameraFOVZoomKeybind",
  3164. Mode = "nill", -- mode to nil if u dont want it to toggle the toggle
  3165. Callback = function(key, fromsetting)
  3166. if library.flags["cameraFOVZoomEnabled"] then
  3167. local key = tostring(key):gsub("Enum.KeyCode.", "")
  3168. CameraZoomKeybind.Text = "Camera Zoom [" .. key .. "]"
  3169. end
  3170. if not fromsetting then
  3171. FovZoomEnabled = not FovZoomEnabled
  3172. if library.flags["cameraFOVZoomEnabled"] and FovZoomEnabled then
  3173. CameraZoomKeybind.Color = Color3.fromRGB(0, 255, 0)
  3174. Camera.FieldOfView = library.flags["cameraFOVZoomValue"]
  3175. else
  3176. CameraZoomKeybind.Color = Color3.fromRGB(255, 255, 255)
  3177. Camera.FieldOfView = Old_FOV
  3178. end
  3179. end
  3180. end
  3181. }
  3182. dwFOVZoom:Slider{
  3183. Text = "Distance: [value]/120",
  3184. Default = 15,
  3185. Min = 1,
  3186. Max = 120,
  3187. Float = 1,
  3188. Flag = "cameraFOVZoomValue",
  3189. Callback = function(value)
  3190. end
  3191. }
  3192. local dwFOV = Sections.Misc.LocalPlayer:Toggle{
  3193. Name = "Camera FOV",
  3194. Flag = "cameraFOVEnabled",
  3195. -- Default = false,
  3196. Callback = function(bool)
  3197. if not bool then
  3198. Camera.FieldOfView = Old_FOV
  3199. end
  3200. end
  3201. }
  3202. dwFOV:Slider{
  3203. Text = "Distance: [value]/120",
  3204. Default = 90,
  3205. Min = 1,
  3206. Max = 120,
  3207. Float = 1,
  3208. Flag = "cameraFOVValue",
  3209. Callback = function(value)
  3210. if library.flags["cameraFOVEnabled"] then
  3211. Camera.FieldOfView = value
  3212. end
  3213. end
  3214. }
  3215. local FakeLagEnabled = false
  3216. local NetworkClient = game:GetService("NetworkClient")
  3217. local VisualizeLagFolder
  3218. Sections.Misc.LocalPlayer:Separator("Fake Lag")
  3219. local dwVisualizeFakeLag = Sections.Misc.LocalPlayer:Toggle{
  3220. Name = "Visualize Fake Lag",
  3221. Flag = "visualizefakelagEnabled",
  3222. -- Default = false,
  3223. Callback = function(bool)
  3224. if not bool then
  3225. task.spawn(function()
  3226. task.wait()
  3227. VisualizeLagFolder:ClearAllChildren()
  3228. end)
  3229. end
  3230. end
  3231. }
  3232. dwVisualizeFakeLag:ColorPicker{
  3233. Default = Color3.fromRGB(255, 255, 255),
  3234. Flag = "visualizefakelagColor",
  3235. Callback = function(color)
  3236.  
  3237. end
  3238. }
  3239. VisualizeLagFolder = Framework:Instance("Folder", {Parent = Camera})
  3240. local dwFakeLag = Sections.Misc.LocalPlayer:Toggle{
  3241. Name = "Fake Lag",
  3242. Flag = "fakelagEnabled",
  3243. -- Default = false,
  3244. Callback = function(bool)
  3245. if not bool then
  3246. task.spawn(function()
  3247. task.wait()
  3248. NetworkClient:SetOutgoingKBPSLimit(math.huge)
  3249. VisualizeLagFolder:ClearAllChildren()
  3250. end)
  3251. end
  3252. end
  3253. }
  3254. dwFakeLag:Keybind{
  3255. Default = Enum.KeyCode.C,
  3256. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  3257. Flag = "fakelagKeybind",
  3258. Mode = "nill", -- mode to nil if u dont want it to toggle the toggle
  3259. Callback = function(key, fromsetting)
  3260. if not fromsetting then
  3261. FakeLagEnabled = not FakeLagEnabled
  3262. end
  3263. end
  3264. }
  3265. dwFakeLag:Slider{
  3266. Text = "Ticks: [value]/100",
  3267. Default = 0,
  3268. Min = 0,
  3269. Max = 100,
  3270. Float = 1,
  3271. Flag = "fakelagLimit",
  3272. Callback = function(value)
  3273. end
  3274. }
  3275. local Tick = 0
  3276. local sec = nil
  3277. local FPS = {}
  3278. sec = tick()
  3279. Camera:GetPropertyChangedSignal("FieldOfView"):Connect(function()
  3280. if library.flags["cameraFOVZoomEnabled"] and FovZoomEnabled then
  3281. Camera.FieldOfView = library.flags["cameraFOVZoomValue"]
  3282. return
  3283. end
  3284. if library.flags["cameraFOVEnabled"] then
  3285. Camera.FieldOfView = library.flags["cameraFOVValue"]
  3286. end
  3287. end)
  3288.  
  3289. Sections.Misc.Misc:Separator("LocalPlayer Chams")
  3290.  
  3291. --* LocalPlayer Chams *--
  3292. local LocalPlayerChamsToggle = Sections.Misc.Misc:Toggle{
  3293. Name = "Enabled",
  3294. Flag = "localchamsEnabled",
  3295. --Default = false,
  3296. Callback = function(bool)
  3297.  
  3298. end
  3299. }
  3300. LocalPlayerChamsToggle:ColorPicker{
  3301. Default = Color3.fromRGB(255, 255, 255),
  3302. Flag = "localplayerchamsColor",
  3303. Callback = function(color)
  3304.  
  3305. end
  3306. }
  3307. Sections.Misc.Misc:Dropdown{
  3308. Name = "Player Material",
  3309. Default = "ForceField",
  3310. Content = {"ForceField", "Neon", "SmoothPlastic", "Glass"},
  3311. Flag = "localplayerchamsMaterial",
  3312. Callback = function(option)
  3313. end
  3314. }
  3315. Sections.Misc.Misc:Dropdown{
  3316. Name = "Gun Material",
  3317. Default = "ForceField",
  3318. Content = {"ForceField", "Neon", "SmoothPlastic", "Glass", "Metal"},
  3319. Flag = "localgunchamsMaterial",
  3320. Callback = function(option)
  3321. end
  3322. }
  3323.  
  3324.  
  3325. --* ESP Functions *--
  3326. esp.NewDrawing = function(type, properties)
  3327. local newD = Drawing.new(type)
  3328. for i,v in next, properties or {} do
  3329. local s,e = pcall(function()
  3330. newD[i] = v
  3331. end)
  3332.  
  3333. if not s then
  3334. warn(e)
  3335. end
  3336. end
  3337. return newD
  3338. end
  3339. esp.HasCharacter = function(v)
  3340. local pass = false
  3341. if v.Character and v.Character:FindFirstChild("Humanoid") and v.Character:FindFirstChild("HumanoidRootPart") and v.Character:FindFirstChild("Head") then
  3342. pass = true
  3343. end
  3344.  
  3345. if s then return pass; end; return pass;
  3346. end
  3347. esp.TeamCheck = function(v)
  3348. local pass = true
  3349. if plr.TeamColor == v.TeamColor then
  3350. pass = false
  3351. end
  3352.  
  3353. if s then return pass; end; return pass;
  3354. end --[true = Same Team | false = Same Team]
  3355. esp.NewPlayer = function(v)
  3356. esp.players[v] = {
  3357. name = esp.NewDrawing("Text", {Color = Color3.fromRGB(255, 255, 255), Outline = true, Center = true, Size = 13, Font = 2}),
  3358. boxOutline = esp.NewDrawing("Square", {Color = Color3.fromRGB(0, 255, 0), Thickness = 3}),
  3359. box = esp.NewDrawing("Square", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1, Filled = false}),
  3360. tool = esp.NewDrawing("Text", {Color = Color3.fromRGB(255, 255, 255), Outline = true, Center = true, Size = 13, Font = 2}),
  3361. healthBarOutline = esp.NewDrawing("Line", {Color = Color3.fromRGB(0, 0, 0), Thickness = 3}),
  3362. healthBar = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  3363. healthText = esp.NewDrawing("Text", {Color = Color3.fromRGB(255, 255, 255), Outline = true, Center = true, Size = 13, Font = 2}),
  3364. distance = esp.NewDrawing("Text", {Color = Color3.fromRGB(255, 255, 255), Outline = true, Center = true, Size = 13, Font = 2}),
  3365. viewAngle = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  3366. tracers = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  3367. chams = Instance.new("Highlight"),
  3368. skeleton = {
  3369. Head = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  3370. LeftHand = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  3371. RightHand = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  3372. LeftLowerArm = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  3373. RightLowerArm = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  3374. LeftUpperArm = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  3375. RightUpperArm = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  3376. LeftFoot = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  3377. LeftLowerLeg = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  3378. UpperTorso = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  3379. LeftUpperLeg = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  3380. RightFoot = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  3381. RightLowerLeg = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  3382. LowerTorso = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1}),
  3383. RightUpperLeg = esp.NewDrawing("Line", {Color = Color3.fromRGB(255, 255, 255), Thickness = 1})
  3384. }
  3385. }
  3386. end
  3387. for _,v in ipairs(plrs:GetPlayers()) do
  3388. if v ~= plr then
  3389. esp.NewPlayer(v)
  3390. end
  3391. end
  3392. plrs.PlayerAdded:Connect(esp.NewPlayer)
  3393. local Plr_Target
  3394. local Plr_Target_Predicted
  3395.  
  3396. --* Rainbow Function *--
  3397. local rcurrent = 255
  3398. local gcurrent = 0
  3399. local bcurrent = 0
  3400.  
  3401. local redtime = true
  3402. local bluetime2 = false
  3403. local greentime = false
  3404.  
  3405. local function ResetRainbow()
  3406. redtime = true
  3407. bluetime2 = false
  3408. greentime = false
  3409. end
  3410.  
  3411. local function getRandomColor()
  3412. local rnum = 0
  3413. local bnum = 0
  3414. local gnum = 0
  3415.  
  3416. if rcurrent == 255 and gcurrent == 0 and bcurrent == 0 then
  3417. ResetRainbow()
  3418. rcurrent = 255
  3419. gcurrent = 0
  3420. bcurrent = 0
  3421. end
  3422.  
  3423. if gcurrent < 255 and not greentime then
  3424. gnum = gcurrent + 15
  3425. gcurrent = gnum
  3426.  
  3427. elseif gcurrent == 255 and rcurrent > 0 and redtime and rcurrent ~= 0 then
  3428. rnum = rcurrent - 15
  3429. rcurrent = rnum
  3430.  
  3431. elseif bcurrent < 255 and gcurrent == 255 and rcurrent == 0 and not bluetime2 then
  3432. bnum = bcurrent + 15
  3433. bcurrent = bnum
  3434.  
  3435. elseif gcurrent > 0 and gcurrent ~= 0 and bcurrent == 255 and rcurrent == 0 and not bluetime2 then
  3436. greentime = true
  3437. gnum = gcurrent - 15
  3438. gcurrent = gnum
  3439.  
  3440. elseif bcurrent == 255 and gcurrent == 0 and rcurrent < 255 then
  3441. redtime = false
  3442. rnum = rcurrent + 15
  3443. rcurrent = rnum
  3444.  
  3445. elseif bcurrent > 0 and bcurrent ~= 0 and gcurrent == 0 and rcurrent == 255 then
  3446. bluetime2 = true
  3447. bnum = bcurrent - 15
  3448. bcurrent = bnum
  3449. end
  3450. return Color3.fromRGB(rcurrent, gcurrent, bcurrent)
  3451. end
  3452.  
  3453. local rainbowespmode = Sections.Visuals.RainbowSettings:Toggle{
  3454. Name = "Rainbow Mode",
  3455. Flag = "rainbowmodeEnabled",
  3456. -- Default = false,
  3457. Callback = function(bool)
  3458. esp.rainbowmode = bool
  3459. end
  3460. }
  3461. rainbowespmode:Slider{
  3462. Text = "[value] ms",
  3463. Default = 0,
  3464. Min = 0,
  3465. Max = 0.5,
  3466. Float = 0.0001,
  3467. Flag = "rainbowmodeSpeed",
  3468. Callback = function(value)
  3469. end
  3470. }
  3471. local RainbowESPNames = Sections.Visuals.RainbowSettings:Toggle{
  3472. Name = "Names Rainbow",
  3473. Flag = "rainbownamesEnabled",
  3474. -- Default = false,
  3475. Callback = function(bool)
  3476.  
  3477. end
  3478. }
  3479. local RainbowESPBoxes = Sections.Visuals.RainbowSettings:Toggle{
  3480. Name = "Boxes Rainbow",
  3481. Flag = "rainbowboxesEnabled",
  3482. -- Default = false,
  3483. Callback = function(bool)
  3484.  
  3485. end
  3486. }
  3487. local RainbowESPTool = Sections.Visuals.RainbowSettings:Toggle{
  3488. Name = "Tool Rainbow",
  3489. Flag = "rainbowtoolEnabled",
  3490. -- Default = false,
  3491. Callback = function(bool)
  3492.  
  3493. end
  3494. }
  3495. local RainbowESPHealthText = Sections.Visuals.RainbowSettings:Toggle{
  3496. Name = "Health Text Rainbow",
  3497. Flag = "rainbowhealthtextEnabled",
  3498. -- Default = false,
  3499. Callback = function(bool)
  3500.  
  3501. end
  3502. }
  3503. local RainbowESPDistance = Sections.Visuals.RainbowSettings:Toggle{
  3504. Name = "Distance Rainbow",
  3505. Flag = "rainbowdistanceEnabled",
  3506. -- Default = false,
  3507. Callback = function(bool)
  3508.  
  3509. end
  3510. }
  3511. local RainbowESPViewAngle = Sections.Visuals.RainbowSettings:Toggle{
  3512. Name = "View Angle Rainbow",
  3513. Flag = "rainbowviewangleEnabled",
  3514. -- Default = false,
  3515. Callback = function(bool)
  3516.  
  3517. end
  3518. }
  3519. local RainbowESPTracers = Sections.Visuals.RainbowSettings:Toggle{
  3520. Name = "Tracers Rainbow",
  3521. Flag = "rainbowtracersEnabled",
  3522. -- Default = false,
  3523. Callback = function(bool)
  3524.  
  3525. end
  3526. }
  3527. local RainbowESPSkeleton = Sections.Visuals.RainbowSettings:Toggle{
  3528. Name = "Skeleton Rainbow",
  3529. Flag = "rainbowskeletonEnabled",
  3530. -- Default = false,
  3531. Callback = function(bool)
  3532.  
  3533. end
  3534. }
  3535. local RainbowESPChams = Sections.Visuals.RainbowSettings:Toggle{
  3536. Name = "Chams Rainbow",
  3537. Flag = "rainbowchamsEnabled",
  3538. -- Default = false,
  3539. Callback = function(bool)
  3540.  
  3541. end
  3542. }
  3543. local RainbowESPChamsOutline = Sections.Visuals.RainbowSettings:Toggle{
  3544. Name = "Chams Outline Rainbow",
  3545. Flag = "rainbowchamsoutlineEnabled",
  3546. -- Default = false,
  3547. Callback = function(bool)
  3548.  
  3549. end
  3550. }
  3551. local RainbowESPLocalPlayerChams = Sections.Visuals.RainbowSettings:Toggle{
  3552. Name = "Local Chams Rainbow",
  3553. Flag = "rainbowlocalchamsEnabled",
  3554. -- Default = false,
  3555. Callback = function(bool)
  3556.  
  3557. end
  3558. }
  3559. Sections.Visuals.RainbowSettings:Toggle{
  3560. Name = "Enable All",
  3561. Flag = "rainbowmodeEnableAll",
  3562. -- Default = false,
  3563. Callback = function(bool)
  3564. RainbowESPNames:Toggle(bool)
  3565. RainbowESPBoxes:Toggle(bool)
  3566. RainbowESPTool:Toggle(bool)
  3567. RainbowESPHealthText:Toggle(bool)
  3568. RainbowESPDistance:Toggle(bool)
  3569. RainbowESPViewAngle:Toggle(bool)
  3570. RainbowESPTracers:Toggle(bool)
  3571. RainbowESPSkeleton:Toggle(bool)
  3572. RainbowESPChams:Toggle(bool)
  3573. RainbowESPChamsOutline:Toggle(bool)
  3574. RainbowESPLocalPlayerChams:Toggle(bool)
  3575. end
  3576. }
  3577. task.spawn(function()
  3578. while task.wait(library.flags["rainbowmodeSpeed"]) do
  3579. --* Rainbow Mode *--
  3580. if esp.rainbowmode then
  3581. local rand = getRandomColor()
  3582. esp.rainbowcolor = rand
  3583. for i,v in pairs(esp.players) do
  3584.  
  3585. if library.flags["rainbownamesEnabled"] then
  3586. v.name.Color = esp.rainbowcolor
  3587. end
  3588. if library.flags["rainbowboxesEnabled"] then
  3589. v.box.Color = esp.rainbowcolor
  3590. end
  3591. if library.flags["rainbowtoolEnabled"] then
  3592. v.tool.Color = esp.rainbowcolor
  3593. end
  3594. if library.flags["rainbowhealthtextEnabled"] then
  3595. v.healthText.Color = esp.rainbowcolor
  3596. end
  3597. if library.flags["rainbowdistanceEnabled"] then
  3598. v.distance.Color = esp.rainbowcolor
  3599. end
  3600. if library.flags["rainbowviewangleEnabled"] then
  3601. v.viewAngle.Color = esp.rainbowcolor
  3602. end
  3603. if library.flags["rainbowtracersEnabled"] then
  3604. v.tracers.Color = esp.rainbowcolor
  3605. end
  3606. if library.flags["rainbowskeletonEnabled"] then
  3607. v.skeleton.Head.Color = esp.rainbowcolor
  3608. v.skeleton.LeftHand.Color = esp.rainbowcolor
  3609. v.skeleton.RightHand.Color = esp.rainbowcolor
  3610. v.skeleton.LeftLowerArm.Color = esp.rainbowcolor
  3611. v.skeleton.RightLowerArm.Color = esp.rainbowcolor
  3612. v.skeleton.LeftUpperArm.Color = esp.rainbowcolor
  3613. v.skeleton.RightUpperArm.Color = esp.rainbowcolor
  3614. v.skeleton.LeftFoot.Color = esp.rainbowcolor
  3615. v.skeleton.LeftLowerLeg.Color = esp.rainbowcolor
  3616. v.skeleton.UpperTorso.Color = esp.rainbowcolor
  3617. v.skeleton.LeftUpperLeg.Color = esp.rainbowcolor
  3618. v.skeleton.RightFoot.Color = esp.rainbowcolor
  3619. v.skeleton.RightLowerLeg.Color = esp.rainbowcolor
  3620. v.skeleton.LowerTorso.Color = esp.rainbowcolor
  3621. v.skeleton.RightUpperLeg.Color = esp.rainbowcolor
  3622. end
  3623. if library.flags["rainbowlocalchamsEnabled"] then
  3624. library.flags["localplayerchamsColor"] = esp.rainbowcolor
  3625. end
  3626. if library.flags["rainbowchamsEnabled"] then
  3627. v.chams.FillColor = esp.rainbowcolor
  3628. end
  3629. if library.flags["rainbowchamsoutlineEnabled"] then
  3630. v.chams.OutlineColor = esp.rainbowcolor
  3631. end
  3632. end
  3633. end
  3634. end
  3635. end)
  3636.  
  3637. ServiceConnections.RenderSteppedConnection = rs.RenderStepped:Connect(function()
  3638. if Running then
  3639. updateTick = updateTick + 1
  3640.  
  3641. if updateTick >= 2 then
  3642. updateTick = 0
  3643.  
  3644. if Environment.Settings.Enabled then
  3645. GetClosestPlayer()
  3646.  
  3647. --* FOV Circle *--
  3648. if Environment.FOVSettings.Enabled and Environment.Settings.Enabled then
  3649. Environment.FOVCircle.Radius = Environment.FOVSettings.Amount
  3650. Environment.FOVCircle.Thickness = Environment.FOVSettings.Thickness
  3651. Environment.FOVCircle.Filled = Environment.FOVSettings.Filled
  3652. Environment.FOVCircle.NumSides = Environment.FOVSettings.Sides
  3653. Environment.FOVCircle.Color = GetColor(Environment.FOVSettings.Color)
  3654. Environment.FOVCircle.Transparency = Environment.FOVSettings.Transparency
  3655. Environment.FOVCircle.Visible = Environment.FOVSettings.Visible
  3656. Environment.FOVCircle.Position = Vector2.new(uis:GetMouseLocation().X, uis:GetMouseLocation().Y)
  3657. else
  3658. Environment.FOVCircle.Visible = false
  3659. end
  3660.  
  3661. --* Snaplines *--
  3662. if Environment.Settings.SnapLines then
  3663. if Environment.Locked ~= nil then
  3664. local player = Environment.Locked
  3665.  
  3666. if not Environment.Settings.AILocked then
  3667. player = Environment.Locked.Character
  3668. end
  3669.  
  3670. local Vector, OnScreen = Camera:WorldToViewportPoint(player.Head.Position)
  3671. if OnScreen then
  3672. Environment.SnapLine.Visible = true
  3673. Environment.SnapLine.From = Vector2.new(uis:GetMouseLocation().X, uis:GetMouseLocation().Y)
  3674. Environment.SnapLine.To = Vector2.new(Vector.X, Vector.Y)
  3675. Environment.SnapLine.Color = GetColor(Environment.Settings.SnapLineColor)
  3676. Environment.SnapLine.Thickness = 1
  3677. else
  3678. Environment.SnapLine.Visible = false
  3679. end
  3680. else
  3681. Environment.SnapLine.Visible = false
  3682. end
  3683. else
  3684. Environment.SnapLine.Visible = false
  3685. end
  3686.  
  3687. --* Normal Aimbot *--
  3688. if not Environment.Settings.SilentAimEnabled and IsDown(Enum.UserInputType[Environment.Settings.TriggerKey]) then
  3689. if Environment.Locked ~= nil then
  3690. local Prediction = Vector3.new(0, 0, 0)
  3691. local player = Environment.Locked
  3692.  
  3693. if not Environment.Settings.AILocked then
  3694. player = Environment.Locked.Character
  3695. end
  3696.  
  3697. if Environment.Settings.Prediction then
  3698. local MuzzleVelocity = game.ReplicatedStorage.AmmoTypes[
  3699. tostring(
  3700. game.ReplicatedStorage.Players[tostring(game.Players.LocalPlayer)].Inventory[
  3701. tostring(
  3702. game.ReplicatedStorage.Players[tostring(game.Players.LocalPlayer.Name)].Status.GameplayVariables.EquippedTool.Value
  3703. )
  3704. ].Attachments.Magazine:FindFirstChildOfClass("StringValue").ItemProperties.LoadedAmmo:FindFirstChildOfClass(
  3705. "Folder"
  3706. ):GetAttribute("AmmoType")
  3707. )
  3708. ]:GetAttribute("MuzzleVelocity")
  3709.  
  3710. if MuzzleVelocity ~= nil then
  3711. local PlayerRoot = player:FindFirstChild("HumanoidRootPart") or player:FindFirstChild("Torso")
  3712. local TargetStuds = math.floor((player[Environment.Settings.LockPart].Position - Camera.CFrame.p).Magnitude)
  3713. local TimeToTarget = TargetStuds / MuzzleVelocity
  3714.  
  3715. Prediction = PlayerRoot.Velocity * TimeToTarget
  3716. end
  3717. end
  3718.  
  3719. if Environment.Settings.Sensitivity > 0 then
  3720. 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)})
  3721. Animation:Play()
  3722. else
  3723. Camera.CFrame = CFrame.new(Camera.CFrame.Position, player[Environment.Settings.LockPart].Position + Prediction)
  3724. end
  3725. Environment.FOVCircle.Color = GetColor(Environment.FOVSettings.LockedColor)
  3726. end
  3727. else
  3728. if Animation ~= nil then
  3729. Animation:Cancel()
  3730. end
  3731. Environment.FOVCircle.Color = GetColor(Environment.FOVSettings.Color)
  3732. end
  3733. else
  3734. Environment.SnapLine.Visible = false
  3735. Environment.Locked = nil
  3736. if Animation ~= nil then
  3737. Animation:Cancel()
  3738. end
  3739. Environment.FOVCircle.Color = GetColor(Environment.FOVSettings.Color)
  3740. end
  3741.  
  3742. --* Enemy Radar *--
  3743. -- if library.flags["enemyradarEnabled"] then
  3744. -- if LocalPlayerDot ~= nil then
  3745. -- LocalPlayerDot.Visible = true
  3746. -- LocalPlayerDot.Color = RadarInfo.LocalPlayerDot
  3747. -- LocalPlayerDot.PointA = RadarInfo.Position + Vector2.new(0, -6)
  3748. -- LocalPlayerDot.PointB = RadarInfo.Position + Vector2.new(-3, 6)
  3749. -- LocalPlayerDot.PointC = RadarInfo.Position + Vector2.new(3, 6)
  3750. -- end
  3751. -- RadarBackground.Position = RadarInfo.Position
  3752. -- RadarBackground.Radius = RadarInfo.Radius
  3753. -- RadarBackground.Color = RadarInfo.RadarBack
  3754.  
  3755. -- RadarBorder.Position = RadarInfo.Position
  3756. -- RadarBorder.Radius = RadarInfo.Radius
  3757. -- RadarBorder.Color = RadarInfo.RadarBorder
  3758. -- RadarBorder.Visible = true
  3759. -- RadarBackground.Visible = true
  3760.  
  3761. -- if (Vector2.new(Mouse.X, Mouse.Y + inset.Y) - RadarInfo.Position).magnitude < RadarInfo.Radius then
  3762. -- dot.Position = Vector2.new(Mouse.X, Mouse.Y + inset.Y)
  3763. -- dot.Visible = true
  3764. -- else
  3765. -- dot.Visible = false
  3766. -- end
  3767. -- if dragging then
  3768. -- RadarInfo.Position = Vector2.new(Mouse.X, Mouse.Y) + offset
  3769. -- end
  3770. -- else
  3771. -- RadarBorder.Visible = false
  3772. -- RadarBackground.Visible = false
  3773. -- LocalPlayerDot.Visible = false
  3774. -- dot.Visible = false
  3775. -- end
  3776.  
  3777. --* Third Person *--
  3778. if library.flags["thirdpersonEnabled"] and ThirdPersonToggled then
  3779. if library.flags["cameraFOVEnabled"] then
  3780. workspace.CurrentCamera.FieldOfView = Old_FOV
  3781. end
  3782. local Checkkkk = game:GetService("Workspace").Camera:FindFirstChild("ViewModel")
  3783. if Checkkkk then
  3784. for i,v in pairs(game:GetService("Workspace").Camera.ViewModel:GetDescendants()) do
  3785. if v.ClassName == "MeshPart" then
  3786. 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
  3787. v.Transparency = 1
  3788. end
  3789. end
  3790. if v.ClassName == "MeshPart" then
  3791. 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
  3792. v.Transparency = 1
  3793. end
  3794. end
  3795. if v.ClassName == "Part" then
  3796. if v.Name == "AimPartCanted" or v.Name == "AimPart" then
  3797. v.Transparency = 1
  3798. end
  3799. end
  3800. end
  3801. for i,v in pairs(game:GetService("Workspace").Camera.ViewModel.Item:GetDescendants()) do
  3802. if v.ClassName == "MeshPart" or v.ClassName == "Part" then
  3803. v.Transparency = 1
  3804. end
  3805. end
  3806. end
  3807. end
  3808.  
  3809. --* LocalPlayer Chams *--
  3810. local Checkkkk = game:GetService("Workspace").Camera:FindFirstChild("ViewModel")
  3811. if library.flags["localchamsEnabled"] and Checkkkk ~= nil then
  3812. for i,v in pairs(game:GetService("Workspace").Camera.ViewModel:GetDescendants()) do
  3813. if v.ClassName == "MeshPart" then
  3814. 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
  3815. v.Transparency = 1
  3816. end
  3817. end
  3818. if v.ClassName == "MeshPart" then
  3819. 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
  3820. v.Material = (library.flags["localplayerchamsMaterial"])
  3821. v.Color = (library.flags["localplayerchamsColor"])
  3822. end
  3823. end
  3824. if v.ClassName == "Part" then
  3825. if v.Name == "AimPartCanted" or v.Name == "AimPart" then
  3826. v.Size = Vector3.new(0, 0, 0)
  3827. v.Transparency = 1
  3828. end
  3829. end
  3830. end
  3831. for i,v in pairs(game:GetService("Workspace")[LocalPlayerName]:GetChildren()) do
  3832. if v.ClassName == "MeshPart" then
  3833. v.Material = (library.flags["localplayerchamsMaterial"])
  3834. v.Color = (library.flags["localplayerchamsColor"])
  3835. end
  3836. end
  3837. --game:GetService("Workspace").Camera.ViewModel.Item.ItemRoot.Material = (library.flags["localplayerchamsMaterial"])
  3838. --game:GetService("Workspace").Camera.ViewModel.Item game:GetService("Workspace").Camera.ViewModel.Item.SlideModel.SurfaceAppearance
  3839. for i,v in pairs(game:GetService("Workspace").Camera.ViewModel.Item:GetDescendants()) do
  3840. if v.ClassName == "MeshPart" or v.ClassName == "Part" then
  3841. v.Material = (library.flags["localgunchamsMaterial"])
  3842. v.Color = (library.flags["localplayerchamsColor"])
  3843. end
  3844. if v:FindFirstChild("SurfaceAppearance") then
  3845. v.SurfaceAppearance:Destroy()
  3846. end
  3847. end
  3848. end
  3849.  
  3850. --* No Water Blur *--
  3851. if library.flags["nowaterblurEnabled"] then
  3852. waterBlur.Enabled = false
  3853. end
  3854.  
  3855. --* Rapid Fire *--
  3856. if library.flags["rapidfireEnabled"] then
  3857. for i,v in next, repStorage.Players[plr.Name].Inventory:GetChildren() do
  3858. local module = require(v.SettingsModule)
  3859. module.FireRate = library.flags["firerateValue"]
  3860. end
  3861. end
  3862.  
  3863. elseif updateTick == 1 then
  3864.  
  3865. local humanoid = plr.Character:FindFirstChildOfClass("Humanoid")
  3866. if humanoid then
  3867. for _, connectTable in pairs({
  3868. getconnections(humanoid.StateChanged);
  3869. getconnections(humanoid:GetPropertyChangedSignal("WalkSpeed"));
  3870. getconnections(humanoid:GetPropertyChangedSignal("JumpHeight"))
  3871. }) do
  3872. for _, event in pairs(connectTable) do
  3873. event:Disable()
  3874. end
  3875. end
  3876.  
  3877. if library.flags["bhopEnabled"] then
  3878. humanoid.JumpHeight = 0
  3879. end
  3880.  
  3881. if library.flags["walkspeedEnabledOld"] and WalkSpeedKeybindToggledOld then
  3882. humanoid.WalkSpeed = library.flags["walkspeedValueOld"]
  3883. else
  3884. humanoid.WalkSpeed = Default_Walkspeed
  3885. end
  3886.  
  3887. if library.flags["jumppowerEnabled"] then
  3888. humanoid.JumpHeight = library.flags["jumppowerValue"]
  3889. else
  3890. humanoid.JumpHeight = Default_JumpHeight
  3891. end
  3892. end
  3893.  
  3894.  
  3895. --* Watermark *--
  3896. -- FPS maths
  3897. local fr = tick()
  3898. for index = #FPS,1,-1 do
  3899. FPS[index + 1] = (FPS[index] >= fr - 1) and FPS[index] or nil
  3900. end
  3901. FPS[1] = fr
  3902. local fps = (tick() - sec >= 1 and #FPS) or (#FPS / (tick() - sec))
  3903. fps = math.floor(fps)
  3904.  
  3905. -- Ping maths
  3906. local ping = tonumber(game:GetService("Stats"):FindFirstChild("PerformanceStats").Ping:GetValue())
  3907. ping = math.floor(ping)
  3908.  
  3909. watermark:Set("DOGGYWARE | " .. fps .. " fps | " .. ping .. "ms | " .. script_version_number .. " | Paid")
  3910.  
  3911. --* Fake Lag *--
  3912. if library.flags["fakelagEnabled"] and FakeLagEnabled then
  3913. Tick = Tick + 1
  3914. local Character = plr.Character
  3915. if Character then
  3916. local Head, HumanoidRootPart, Humanoid = Character:FindFirstChild("Head"), Character:FindFirstChild("HumanoidRootPart"), Character:FindFirstChild("Humanoid")
  3917. if Head and HumanoidRootPart and Humanoid and Humanoid.Health > 0 then
  3918. if Tick >= library.flags["fakelagLimit"] then
  3919. Tick = 0
  3920. NetworkClient:SetOutgoingKBPSLimit(math.huge)
  3921. print("Fake Lag")
  3922. if library.flags["visualizefakelagEnabled"] and FakeLagEnabled then
  3923. VisualizeLagFolder:ClearAllChildren()
  3924. Character.Archivable = true
  3925. local Clone = Character:Clone()
  3926. Character.Archivable = false
  3927. for _, Child in pairs(Clone:GetDescendants()) do
  3928. if Child:IsA("SurfaceAppearance") or Child:IsA("Humanoid") or Child:IsA("BillboardGui") or Child:IsA("Decal") or Child.Name == "HumanoidRootPart" then
  3929. Child:Destroy()
  3930. continue
  3931. end
  3932. if Child:IsA("BasePart") then
  3933. Child.CanCollide = false
  3934. Child.Anchored = true
  3935. Child.Material = Enum.Material.ForceField
  3936. Child.Color = library.flags["visualizefakelagColor"]
  3937. Child.Size = Child.Size + Vector3.new(0.025, 0.025, 0.025)
  3938. end
  3939. end
  3940. Clone.Parent = VisualizeLagFolder
  3941. else
  3942. VisualizeLagFolder:ClearAllChildren()
  3943. end
  3944. else
  3945. NetworkClient:SetOutgoingKBPSLimit(1)
  3946. end
  3947. end
  3948. end
  3949. else
  3950. VisualizeLagFolder:ClearAllChildren()
  3951. end
  3952.  
  3953. -- Loop through all the players in the esp table
  3954. for i,v in pairs(esp.players) do
  3955. if esp.HasCharacter(i) then
  3956. local hum = i.Character.Humanoid
  3957. local hrp = i.Character.HumanoidRootPart
  3958. local head = i.Character.Head
  3959.  
  3960. local Vector, onScreen = Camera:WorldToViewportPoint(i.Character.HumanoidRootPart.Position)
  3961.  
  3962. local Size = (Camera:WorldToViewportPoint(hrp.Position - Vector3.new(0, 3, 0)).Y - Camera:WorldToViewportPoint(hrp.Position + Vector3.new(0, 2.6, 0)).Y) / 2
  3963. local BoxSize = Vector2.new(math.floor(Size * 1.5), math.floor(Size * 1.9))
  3964. local BoxPos = Vector2.new(math.floor(Vector.X - Size * 1.5 / 2), math.floor(Vector.Y - Size * 1.6 / 2))
  3965.  
  3966. local BottomOffset = BoxSize.Y + BoxPos.Y + 1
  3967. local DistanceFromPlayer = math.floor((plr.Character.HumanoidRootPart.Position - hrp.Position).Magnitude + 0.5)
  3968.  
  3969. if onScreen and esp.enabled and DistanceFromPlayer < library.flags["espMaxDistance"] then
  3970. if esp.settings.name.enabled then
  3971. v.name.Position = Vector2.new(BoxSize.X / 2 + BoxPos.X, BoxPos.Y - 16)
  3972. v.name.Outline = esp.settings.name.outline
  3973.  
  3974. if not library.flags["rainbownamesEnabled"] or not esp.rainbowmode then
  3975. v.name.Color = esp.settings.name.color
  3976. elseif library.flags["showcheatersEnabled"] and CheckCheaterTable(i.UserId) then
  3977. v.name.Color = library.flags["showcheatersColor"]
  3978. elseif plr:GetFriendStatus(i) == Enum.FriendStatus.Friend and library.flags["friendcheckEnabled"] then
  3979. v.name.Color = library.flags["friendcheckColor"]
  3980. -- elseif library.flags["showstaffEnabled"] and CheckStaffTable(i.UserId) then
  3981. -- v.name.Color = library.flags["showstaffColor"]
  3982. end
  3983.  
  3984. v.name.Font = esp.font
  3985. v.name.Size = esp.fontsize
  3986.  
  3987. if esp.settings.name.displaynames then
  3988. v.name.Text = tostring(i.DisplayName)
  3989. else
  3990. v.name.Text = tostring(i.Name)
  3991. end
  3992.  
  3993. v.name.Visible = true
  3994. else
  3995. v.name.Visible = false
  3996. end
  3997.  
  3998. if esp.settings.distance.enabled then
  3999. v.distance.Position = Vector2.new(BoxSize.X / 2 + BoxPos.X, BottomOffset)
  4000. v.distance.Outline = esp.settings.distance.outline
  4001. v.distance.Text = "[" .. math.floor((hrp.Position - plr.Character.HumanoidRootPart.Position).Magnitude) .. "m]"
  4002.  
  4003. if not library.flags["rainbowdistanceEnabled"] or not esp.rainbowmode then
  4004. v.distance.Color = esp.settings.distance.color
  4005. elseif library.flags["showcheatersEnabled"] and CheckCheaterTable(i.UserId) then
  4006. v.distance.Color = library.flags["showcheatersColor"]
  4007. elseif plr:GetFriendStatus(i) == Enum.FriendStatus.Friend and library.flags["friendcheckEnabled"] then
  4008. v.distance.Color = library.flags["friendcheckColor"]
  4009. -- elseif library.flags["showstaffEnabled"] and CheckStaffTable(i.UserId) then
  4010. -- v.distance.Color = library.flags["showstaffColor"]
  4011. end
  4012.  
  4013.  
  4014. BottomOffset = BottomOffset + 15
  4015.  
  4016. v.distance.Font = esp.font
  4017. v.distance.Size = esp.fontsize
  4018.  
  4019. v.distance.Visible = true
  4020. else
  4021. v.distance.Visible = false
  4022. end
  4023.  
  4024. if esp.settings.tool.enabled then
  4025. v.tool.Position = Vector2.new((BoxPos.X + BoxSize.X + 20), (BoxPos.Y + BoxSize.Y - 1 * BoxSize.Y) -1)
  4026. v.tool.Outline = esp.settings.tool.outline
  4027.  
  4028. local Tool = ReplicatedPlayers[i.Name].Status.GameplayVariables.EquippedTool
  4029. local toolObject = Tool.Value
  4030. local FoundTool = toolObject ~= nil and toolObject.Name or "None"
  4031. v.tool.Text = tostring(FoundTool)
  4032.  
  4033. if not library.flags["rainbowtoolEnabled"] or not esp.rainbowmode then
  4034. v.tool.Color = esp.settings.tool.color
  4035. elseif library.flags["showcheatersEnabled"] and CheckCheaterTable(i.UserId) then
  4036. v.tool.Color = library.flags["showcheatersColor"]
  4037. elseif plr:GetFriendStatus(i) == Enum.FriendStatus.Friend and library.flags["friendcheckEnabled"] then
  4038. v.tool.Color = library.flags["friendcheckColor"]
  4039. -- elseif library.flags["showstaffEnabled"] and CheckStaffTable(i.UserId) then
  4040. -- v.distance.Color = library.flags["showstaffColor"]
  4041. end
  4042.  
  4043. v.tool.Font = esp.font
  4044. v.tool.Size = esp.fontsize
  4045.  
  4046. v.tool.Visible = true
  4047. else
  4048. v.tool.Visible = false
  4049. end
  4050.  
  4051. if esp.settings.box.enabled then
  4052. v.boxOutline.Size = BoxSize
  4053. v.boxOutline.Position = BoxPos
  4054. v.boxOutline.Visible = esp.settings.box.outline
  4055.  
  4056. v.box.Size = BoxSize
  4057. v.box.Position = BoxPos
  4058.  
  4059. if not library.flags["rainbowboxesEnabled"] or not esp.rainbowmode then
  4060. v.box.Color = esp.settings.box.color
  4061. elseif library.flags["showcheatersEnabled"] and CheckCheaterTable(i.UserId) then
  4062. v.box.Color = library.flags["showcheatersColor"]
  4063. elseif plr:GetFriendStatus(i) == Enum.FriendStatus.Friend and library.flags["friendcheckEnabled"] then
  4064. v.box.Color = library.flags["friendcheckColor"]
  4065. -- elseif library.flags["showstaffEnabled"] and CheckStaffTable(i.UserId) then
  4066. -- v.box.Color = library.flags["showstaffColor"]
  4067. end
  4068.  
  4069. v.box.Filled = false
  4070. v.box.Visible = true
  4071. else
  4072. v.boxOutline.Visible = false
  4073. v.box.Visible = false
  4074. end
  4075.  
  4076. if esp.settings.healthbar.enabled then
  4077. v.healthBar.From = Vector2.new((BoxPos.X - 5), BoxPos.Y + BoxSize.Y)
  4078. v.healthBar.To = Vector2.new(v.healthBar.From.X, v.healthBar.From.Y - (hum.Health / hum.MaxHealth) * BoxSize.Y)
  4079. v.healthBar.Color = Color3.fromRGB(255 - 255 / (hum["MaxHealth"] / hum["Health"]), 255 / (hum["MaxHealth"] / hum["Health"]), 0)
  4080. v.healthBar.Visible = true
  4081.  
  4082. v.healthBarOutline.From = Vector2.new(v.healthBar.From.X, BoxPos.Y + BoxSize.Y + 1)
  4083. v.healthBarOutline.To = Vector2.new(v.healthBar.From.X, (v.healthBar.From.Y - 1 * BoxSize.Y) -1)
  4084. v.healthBarOutline.Visible = esp.settings.healthbar.outline
  4085. else
  4086. v.healthBarOutline.Visible = false
  4087. v.healthBar.Visible = false
  4088. end
  4089.  
  4090. if esp.settings.healthtext.enabled then
  4091. v.healthText.Text = tostring(math.floor((hum.Health / hum.MaxHealth) * 100 + 0.5))
  4092. v.healthText.Position = Vector2.new((BoxPos.X - 20), (BoxPos.Y + BoxSize.Y - 1 * BoxSize.Y) -1)
  4093.  
  4094. if not library.flags["rainbowhealthtextEnabled"] or not esp.rainbowmode then
  4095. v.healthText.Color = esp.settings.healthtext.color
  4096. elseif library.flags["showcheatersEnabled"] and CheckCheaterTable(i.UserId) then
  4097. v.healthText.Color = library.flags["showcheatersColor"]
  4098. elseif plr:GetFriendStatus(i) == Enum.FriendStatus.Friend and library.flags["friendcheckEnabled"] then
  4099. v.healthText.Color = library.flags["friendcheckColor"]
  4100. -- elseif library.flags["showstaffEnabled"] and CheckStaffTable(i.UserId) then
  4101. -- v.healthText.Color = library.flags["showstaffColor"]
  4102. end
  4103.  
  4104. v.healthText.Outline = esp.settings.healthtext.outline
  4105.  
  4106. v.healthText.Font = esp.font
  4107. v.healthText.Size = esp.fontsize
  4108.  
  4109. v.healthText.Visible = true
  4110. else
  4111. v.healthText.Visible = false
  4112. end
  4113.  
  4114. if esp.settings.viewangle.enabled then
  4115. local fromHead = Camera:worldToViewportPoint(head.CFrame.p)
  4116. local toPoint = Camera:worldToViewportPoint((head.CFrame + (head.CFrame.lookVector * 10)).p)
  4117.  
  4118. v.viewAngle.From = Vector2.new(fromHead.X, fromHead.Y)
  4119. v.viewAngle.To = Vector2.new(toPoint.X, toPoint.Y)
  4120.  
  4121. if not library.flags["rainbowviewangleEnabled"] or not esp.rainbowmode then
  4122. v.viewAngle.Color = esp.settings.viewangle.color
  4123. elseif library.flags["showcheatersEnabled"] and CheckCheaterTable(i.UserId) then
  4124. v.viewAngle.Color = library.flags["showcheatersColor"]
  4125. elseif plr:GetFriendStatus(i) == Enum.FriendStatus.Friend and library.flags["friendcheckEnabled"] then
  4126. v.viewAngle.Color = library.flags["friendcheckColor"]
  4127. -- elseif library.flags["showstaffEnabled"] and CheckStaffTable(i.UserId) then
  4128. -- v.viewAngle.Color = library.flags["showstaffColor"]
  4129. end
  4130.  
  4131. v.viewAngle.Visible = true
  4132. else
  4133. v.viewAngle.Visible = false
  4134. end
  4135.  
  4136. if esp.settings.skeleton.enabled then
  4137. local Head = i.Character.Head
  4138. local LeftHand = i.Character.LeftHand
  4139. local RightHand = i.Character.RightHand
  4140. local LeftLowerArm = i.Character.LeftLowerArm
  4141. local RightLowerArm = i.Character.RightLowerArm
  4142. local LeftUpperArm = i.Character.LeftUpperArm
  4143. local RightUpperArm = i.Character.RightUpperArm
  4144. local LeftFoot = i.Character.LeftFoot
  4145. local LeftLowerLeg = i.Character.LeftLowerLeg
  4146. local UpperTorso = i.Character.UpperTorso
  4147. local LeftUpperLeg = i.Character.LeftUpperLeg
  4148. local RightFoot = i.Character.RightFoot
  4149. local RightLowerLeg = i.Character.RightLowerLeg
  4150. local LowerTorso = i.Character.LowerTorso
  4151. local RightUpperLeg = i.Character.RightUpperLeg
  4152.  
  4153. local HeadPos = Camera:WorldToViewportPoint(Head.Position)
  4154. local LeftHandPos = Camera:WorldToViewportPoint(LeftHand.Position)
  4155. local RightHandPos = Camera:WorldToViewportPoint(RightHand.Position)
  4156. local LeftLowerArmPos = Camera:WorldToViewportPoint(LeftLowerArm.Position)
  4157. local RightLowerArmPos = Camera:WorldToViewportPoint(RightLowerArm.Position)
  4158. local LeftUpperArmPos = Camera:WorldToViewportPoint(LeftUpperArm.Position)
  4159. local RightUpperArmPos = Camera:WorldToViewportPoint(RightUpperArm.Position)
  4160. local LeftFootPos = Camera:WorldToViewportPoint(LeftFoot.Position)
  4161. local LeftLowerLegPos = Camera:WorldToViewportPoint(LeftLowerLeg.Position)
  4162. local UpperTorsoPos = Camera:WorldToViewportPoint(UpperTorso.Position)
  4163. local LeftUpperLegPos = Camera:WorldToViewportPoint(LeftUpperLeg.Position)
  4164. local RightFootPos = Camera:WorldToViewportPoint(RightFoot.Position)
  4165. local RightLowerLegPos = Camera:WorldToViewportPoint(RightLowerLeg.Position)
  4166. local LowerTorsoPos = Camera:WorldToViewportPoint(LowerTorso.Position)
  4167. local RightUpperLegPos = Camera:WorldToViewportPoint(RightUpperLeg.Position)
  4168.  
  4169. local function CheckFriend()
  4170. -- if library.flags["showstaffEnabled"] and CheckStaffTable(i.UserId) then
  4171. -- return library.flags["showstaffColor"]
  4172. -- end
  4173. if plr:GetFriendStatus(i) == Enum.FriendStatus.Friend and library.flags["friendcheckEnabled"] then
  4174. return library.flags["friendcheckColor"]
  4175. end
  4176. if library.flags["showcheatersEnabled"] and CheckCheaterTable(i.UserId) then
  4177. return library.flags["showcheatersColor"]
  4178. end
  4179. if not library.flags["rainbowskeletonEnabled"] or not esp.rainbowmode then
  4180. return esp.settings.skeleton.color
  4181. end
  4182.  
  4183. return esp.rainbowcolor
  4184. end
  4185.  
  4186. if HeadPos and UpperTorsoPos then
  4187. v.skeleton.Head.From = Vector2.new(HeadPos.X, HeadPos.Y)
  4188. v.skeleton.Head.To = Vector2.new(UpperTorsoPos.X, UpperTorsoPos.Y)
  4189. v.skeleton.Head.Color = CheckFriend()
  4190. v.skeleton.Head.Visible = true
  4191.  
  4192. v.skeleton.LeftHand.From = Vector2.new(LeftHandPos.X, LeftHandPos.Y)
  4193. v.skeleton.LeftHand.To = Vector2.new(LeftLowerArmPos.X, LeftLowerArmPos.Y)
  4194. v.skeleton.LeftHand.Color = CheckFriend()
  4195. v.skeleton.LeftHand.Visible = true
  4196.  
  4197. v.skeleton.RightHand.From = Vector2.new(RightHandPos.X, RightHandPos.Y)
  4198. v.skeleton.RightHand.To = Vector2.new(RightLowerArmPos.X, RightLowerArmPos.Y)
  4199. v.skeleton.RightHand.Color = CheckFriend()
  4200. v.skeleton.RightHand.Visible = true
  4201.  
  4202. v.skeleton.LeftLowerArm.From = Vector2.new(LeftLowerArmPos.X, LeftLowerArmPos.Y)
  4203. v.skeleton.LeftLowerArm.To = Vector2.new(LeftUpperArmPos.X, LeftUpperArmPos.Y)
  4204. v.skeleton.LeftLowerArm.Color = CheckFriend()
  4205. v.skeleton.LeftLowerArm.Visible = true
  4206.  
  4207. v.skeleton.RightLowerArm.From = Vector2.new(RightLowerArmPos.X, RightLowerArmPos.Y)
  4208. v.skeleton.RightLowerArm.To = Vector2.new(RightUpperArmPos.X, RightUpperArmPos.Y)
  4209. v.skeleton.RightLowerArm.Color = CheckFriend()
  4210. v.skeleton.RightLowerArm.Visible = true
  4211.  
  4212. v.skeleton.LeftUpperArm.From = Vector2.new(LeftUpperArmPos.X, LeftUpperArmPos.Y)
  4213. v.skeleton.LeftUpperArm.To = Vector2.new(UpperTorsoPos.X, UpperTorsoPos.Y)
  4214. v.skeleton.LeftUpperArm.Color = CheckFriend()
  4215. v.skeleton.LeftUpperArm.Visible = true
  4216.  
  4217. v.skeleton.RightUpperArm.From = Vector2.new(RightUpperArmPos.X, RightUpperArmPos.Y)
  4218. v.skeleton.RightUpperArm.To = Vector2.new(UpperTorsoPos.X, UpperTorsoPos.Y)
  4219. v.skeleton.RightUpperArm.Color = CheckFriend()
  4220. v.skeleton.RightUpperArm.Visible = true
  4221.  
  4222. v.skeleton.LeftFoot.From = Vector2.new(LeftFootPos.X, LeftFootPos.Y)
  4223. v.skeleton.LeftFoot.To = Vector2.new(LeftLowerLegPos.X, LeftLowerLegPos.Y)
  4224. v.skeleton.LeftFoot.Color = CheckFriend()
  4225. v.skeleton.LeftFoot.Visible = true
  4226.  
  4227. v.skeleton.LeftLowerLeg.From = Vector2.new(LeftLowerLegPos.X, LeftLowerLegPos.Y)
  4228. v.skeleton.LeftLowerLeg.To = Vector2.new(LeftUpperLegPos.X, LeftUpperLegPos.Y)
  4229. v.skeleton.LeftLowerLeg.Color = CheckFriend()
  4230. v.skeleton.LeftLowerLeg.Visible = true
  4231.  
  4232. v.skeleton.UpperTorso.From = Vector2.new(UpperTorsoPos.X, UpperTorsoPos.Y)
  4233. v.skeleton.UpperTorso.To = Vector2.new(LowerTorsoPos.X, LowerTorsoPos.Y)
  4234. v.skeleton.UpperTorso.Color = CheckFriend()
  4235. v.skeleton.UpperTorso.Visible = true
  4236.  
  4237. v.skeleton.LeftUpperLeg.From = Vector2.new(LeftUpperLegPos.X, LeftUpperLegPos.Y)
  4238. v.skeleton.LeftUpperLeg.To = Vector2.new(LowerTorsoPos.X, LowerTorsoPos.Y)
  4239. v.skeleton.LeftUpperLeg.Color = CheckFriend()
  4240. v.skeleton.LeftUpperLeg.Visible = true
  4241.  
  4242. v.skeleton.RightFoot.From = Vector2.new(RightFootPos.X, RightFootPos.Y)
  4243. v.skeleton.RightFoot.To = Vector2.new(RightLowerLegPos.X, RightLowerLegPos.Y)
  4244. v.skeleton.RightFoot.Color = CheckFriend()
  4245. v.skeleton.RightFoot.Visible = true
  4246.  
  4247. v.skeleton.RightLowerLeg.From = Vector2.new(RightLowerLegPos.X, RightLowerLegPos.Y)
  4248. v.skeleton.RightLowerLeg.To = Vector2.new(RightUpperLegPos.X, RightUpperLegPos.Y)
  4249. v.skeleton.RightLowerLeg.Color = CheckFriend()
  4250. v.skeleton.RightLowerLeg.Visible = true
  4251.  
  4252. v.skeleton.LowerTorso.From = Vector2.new(LowerTorsoPos.X, LowerTorsoPos.Y)
  4253. v.skeleton.LowerTorso.To = Vector2.new(RightUpperLegPos.X, RightUpperLegPos.Y)
  4254. v.skeleton.LowerTorso.Color = CheckFriend()
  4255. v.skeleton.LowerTorso.Visible = true
  4256.  
  4257. v.skeleton.RightUpperLeg.From = Vector2.new(RightUpperLegPos.X, RightUpperLegPos.Y)
  4258. v.skeleton.RightUpperLeg.To = Vector2.new(LowerTorsoPos.X, LowerTorsoPos.Y)
  4259. v.skeleton.RightUpperLeg.Color = CheckFriend()
  4260. v.skeleton.RightUpperLeg.Visible = true
  4261. end
  4262. else
  4263. v.skeleton.Head.Visible = false
  4264. v.skeleton.LeftHand.Visible = false
  4265. v.skeleton.RightHand.Visible = false
  4266. v.skeleton.LeftLowerArm.Visible = false
  4267. v.skeleton.RightLowerArm.Visible = false
  4268. v.skeleton.LeftUpperArm.Visible = false
  4269. v.skeleton.RightUpperArm.Visible = false
  4270. v.skeleton.LeftFoot.Visible = false
  4271. v.skeleton.LeftLowerLeg.Visible = false
  4272. v.skeleton.UpperTorso.Visible = false
  4273. v.skeleton.LeftUpperLeg.Visible = false
  4274. v.skeleton.RightFoot.Visible = false
  4275. v.skeleton.RightLowerLeg.Visible = false
  4276. v.skeleton.LowerTorso.Visible = false
  4277. v.skeleton.RightUpperLeg.Visible = false
  4278. end
  4279.  
  4280. if esp.settings.tracers.enabled then
  4281. local headPos = Camera:WorldToViewportPoint(head.CFrame.p)
  4282.  
  4283. if library.flags["tracerFromLocation"] == "Bottom" then
  4284. v.tracers.From = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y)
  4285. elseif library.flags["tracerFromLocation"] == "Middle" then
  4286. v.tracers.From = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2)
  4287. end
  4288. v.tracers.To = Vector2.new(headPos.X, headPos.Y)
  4289.  
  4290. if not library.flags["rainbowtracersEnabled"] or not esp.rainbowmode then
  4291. v.tracers.Color = esp.settings.tracers.color
  4292. elseif library.flags["showcheatersEnabled"] and CheckCheaterTable(i.UserId) then
  4293. v.tracers.Color = library.flags["showcheatersColor"]
  4294. elseif plr:GetFriendStatus(i) == Enum.FriendStatus.Friend and library.flags["friendcheckEnabled"] then
  4295. v.tracers.Color = library.flags["friendcheckColor"]
  4296. -- elseif library.flags["showstaffEnabled"] and CheckStaffTable(i.UserId) then
  4297. -- v.tracers.Color = library.flags["showstaffColor"]
  4298. end
  4299.  
  4300. v.tracers.Visible = true
  4301. else
  4302. v.tracers.Visible = false
  4303. end
  4304.  
  4305. if esp.settings.chams.enabled then
  4306. -- Check if chams highlight is found
  4307. if not i.Character:FindFirstChild("Highlight") then
  4308. v.chams = Instance.new("Highlight") -- Create a new highlight instance if it doesn't exist
  4309. end
  4310.  
  4311. v.chams.FillTransparency = 0
  4312. if esp.settings.chamsOutline.enabled then
  4313. v.chams.OutlineTransparency = 0
  4314. else
  4315. v.chams.OutlineTransparency = 1
  4316. end
  4317. v.chams.Parent = i.Character
  4318.  
  4319. if not library.flags["rainbowchamsoutlineEnabled"] or not esp.rainbowmode then
  4320. v.chams.OutlineColor = esp.settings.chamsOutline.color
  4321. elseif not library.flags["rainbowchamsEnabled"] or not esp.rainbowmode then
  4322. v.chams.FillColor = esp.settings.chams.color
  4323. elseif not library.flags["rainbowchamsEnabled"] and not library.flags["rainbowchamsoutlineEnabled"] or not esp.rainbowmode then
  4324. v.chams.FillColor = esp.settings.chams.color
  4325. v.chams.OutlineColor = esp.settings.chamsOutline.color
  4326. elseif library.flags["showcheatersEnabled"] and CheckCheaterTable(i.UserId) then
  4327. v.chams.FillColor = library.flags["showcheatersColor"]
  4328. v.chams.OutlineColor = library.flags["showcheatersColor"]
  4329. elseif plr:GetFriendStatus(i) == Enum.FriendStatus.Friend and library.flags["friendcheckEnabled"] then
  4330. v.chams.FillColor = library.flags["friendcheckColor"]
  4331. v.chams.OutlineColor = library.flags["friendcheckColor"]
  4332. -- elseif library.flags["showstaffEnabled"] and CheckStaffTable(i.UserId) then
  4333. -- v.tracers.Color = library.flags["showstaffColor"]
  4334. end
  4335.  
  4336. else
  4337. v.chams.FillTransparency = 1
  4338. v.chams.OutlineTransparency = 1
  4339. end
  4340.  
  4341. else
  4342. -- Disable ESP if player is off screen or out of Max render distance
  4343. v.name.Visible = false
  4344. v.boxOutline.Visible = false
  4345. v.box.Visible = false
  4346. v.tool.Visible = false
  4347. v.healthBarOutline.Visible = false
  4348. v.healthBar.Visible = false
  4349. v.healthText.Visible = false
  4350. v.distance.Visible = false
  4351. v.viewAngle.Visible = false
  4352. v.tracers.Visible = false
  4353.  
  4354. v.chams.FillTransparency = 1
  4355. v.chams.OutlineTransparency = 1
  4356.  
  4357. v.skeleton.Head.Visible = false
  4358. v.skeleton.LeftHand.Visible = false
  4359. v.skeleton.RightHand.Visible = false
  4360. v.skeleton.LeftLowerArm.Visible = false
  4361. v.skeleton.RightLowerArm.Visible = false
  4362. v.skeleton.LeftUpperArm.Visible = false
  4363. v.skeleton.RightUpperArm.Visible = false
  4364. v.skeleton.LeftFoot.Visible = false
  4365. v.skeleton.LeftLowerLeg.Visible = false
  4366. v.skeleton.UpperTorso.Visible = false
  4367. v.skeleton.LeftUpperLeg.Visible = false
  4368. v.skeleton.RightFoot.Visible = false
  4369. v.skeleton.RightLowerLeg.Visible = false
  4370. v.skeleton.LowerTorso.Visible = false
  4371. v.skeleton.RightUpperLeg.Visible = false
  4372. end
  4373. else
  4374. -- Disable ESP if player has no character
  4375. v.name.Visible = false
  4376. v.boxOutline.Visible = false
  4377. v.box.Visible = false
  4378. v.tool.Visible = false
  4379. v.healthBarOutline.Visible = false
  4380. v.healthBar.Visible = false
  4381. v.healthText.Visible = false
  4382. v.distance.Visible = false
  4383. v.viewAngle.Visible = false
  4384. v.tracers.Visible = false
  4385.  
  4386. v.chams.FillTransparency = 1
  4387. v.chams.OutlineTransparency = 1
  4388.  
  4389. v.skeleton.Head.Visible = false
  4390. v.skeleton.LeftHand.Visible = false
  4391. v.skeleton.RightHand.Visible = false
  4392. v.skeleton.LeftLowerArm.Visible = false
  4393. v.skeleton.RightLowerArm.Visible = false
  4394. v.skeleton.LeftUpperArm.Visible = false
  4395. v.skeleton.RightUpperArm.Visible = false
  4396. v.skeleton.LeftFoot.Visible = false
  4397. v.skeleton.LeftLowerLeg.Visible = false
  4398. v.skeleton.UpperTorso.Visible = false
  4399. v.skeleton.LeftUpperLeg.Visible = false
  4400. v.skeleton.RightFoot.Visible = false
  4401. v.skeleton.RightLowerLeg.Visible = false
  4402. v.skeleton.LowerTorso.Visible = false
  4403. v.skeleton.RightUpperLeg.Visible = false
  4404. end
  4405. end
  4406. end
  4407. end
  4408. end)
  4409.  
  4410. --* Configurations TAB *--
  4411. local configs = main:Tab("Configuration")
  4412. local themes = configs:Section{Name = "Settings", Side = "Left"}
  4413. themes:Button{
  4414. Name = "Unhook",
  4415. Callback = function()
  4416. Running = false
  4417.  
  4418. for _, v in next, ServiceConnections do
  4419. v:Disconnect()
  4420. end
  4421.  
  4422. Environment.FOVCircle:Remove()
  4423. Environment.SnapLine:Remove()
  4424.  
  4425. ESP:Toggle(false)
  4426. ESP.Settings.Objects_Enabled = false
  4427.  
  4428. gethiddenproperty(Terrain, "Decoration", Old_Decoration)
  4429.  
  4430. KeybindViewer.Main:Remove()
  4431. KeybindViewer.Border:Remove()
  4432. KeybindViewer.TopBorder:Remove()
  4433. for i, v in pairs(KeybindViewer.Texts) do
  4434. v:Remove()
  4435. end
  4436.  
  4437. for i,v in pairs(Old_Lighting) do
  4438. lighting[i] = v
  4439. end
  4440.  
  4441. library:Unload()
  4442. end
  4443. }
  4444. themes:Button{
  4445. Name = "Rejoin Server",
  4446. Callback = function()
  4447. local Rejoin = coroutine.create(function()
  4448. local Success, ErrorMessage = pcall(function()
  4449. game:GetService("TeleportService"):Teleport(game.PlaceId, plr)
  4450. end)
  4451.  
  4452. if ErrorMessage and not Success then
  4453. warn(ErrorMessage)
  4454. end
  4455. end)
  4456.  
  4457. coroutine.resume(Rejoin)
  4458. end
  4459. }
  4460. themes:Keybind{
  4461. Name = "UI Toggle",
  4462. Flag = "UI Toggle",
  4463. Default = Enum.KeyCode.RightShift,
  4464. Blacklist = {Enum.UserInputType.MouseButton1, Enum.UserInputType.MouseButton2, Enum.UserInputType.MouseButton3},
  4465. Callback = function(_, fromsetting)
  4466. if not fromsetting then
  4467. library:Close()
  4468. end
  4469. end
  4470. }
  4471.  
  4472. -- themes:Separator("Player Scanner")
  4473.  
  4474. -- --* Cheater Scanner *--
  4475. -- local ShowCheatersToggle = themes:Toggle{
  4476. -- Name = "Show Cheaters",
  4477. -- Flag = "showcheatersEnabled",
  4478. -- -- Default = false,
  4479. -- Callback = function(bool)
  4480. -- if not bool then
  4481. -- InGameCheaters = {}
  4482. -- end
  4483. -- end
  4484. -- }
  4485. -- ShowCheatersToggle:ColorPicker{
  4486. -- Default = Color3.fromRGB(255, 255, 255),
  4487. -- Flag = "showcheatersColor",
  4488. -- Callback = function(color)
  4489.  
  4490. -- end
  4491. -- }
  4492. -- local addcheaterName = themes:Box{
  4493. -- Name = "Cheaters Name",
  4494. -- Placeholder = "Cheaters Name",
  4495. -- Flag = "addcheaterName",
  4496. -- }
  4497. -- local CheaterFound = false
  4498. -- themes:Button{
  4499. -- Name = "Add Cheater",
  4500. -- Callback = function()
  4501. -- if library.flags["addcheaterName"] then
  4502. -- -- for each player
  4503. -- for i, v in pairs(game.Players:GetPlayers()) do
  4504. -- if v.Name == library.flags["addcheaterName"] or v.DisplayName == library.flags["addcheaterName"] then
  4505. -- if addRobloxUsername(v.UserId) then
  4506. -- OrionLib:MakeNotification({
  4507. -- Name = "Notification",
  4508. -- Content = "Successfully added cheater to database",
  4509. -- Image = "rbxassetid://4483345998",
  4510. -- Time = 5
  4511. -- })
  4512. -- CheaterFound = true
  4513. -- break
  4514. -- else
  4515. -- OrionLib:MakeNotification({
  4516. -- Name = "Notification",
  4517. -- Content = "Failed to add cheater to database",
  4518. -- Image = "rbxassetid://4483345998",
  4519. -- Time = 5
  4520. -- })
  4521. -- CheaterFound = true
  4522. -- break
  4523. -- end
  4524. -- end
  4525. -- end
  4526.  
  4527. -- if not CheaterFound then
  4528. -- OrionLib:MakeNotification({
  4529. -- Name = "Notification",
  4530. -- Content = "No cheater found with that name",
  4531. -- Image = "rbxassetid://4483345998",
  4532. -- Time = 5
  4533. -- })
  4534. -- end
  4535. -- end
  4536. -- end
  4537. -- }
  4538.  
  4539. -- --* Staff Scanner *--
  4540. -- local ShowStaffToggle = themes:Toggle{
  4541. -- Name = "Show Staff",
  4542. -- Flag = "showstaffEnabled",
  4543. -- -- Default = false,
  4544. -- Callback = function(bool)
  4545. -- if not bool then
  4546. -- InGameStaff = {}
  4547. -- end
  4548. -- end
  4549. -- }
  4550. -- ShowStaffToggle:ColorPicker{
  4551. -- Default = Color3.fromRGB(255, 255, 255),
  4552. -- Flag = "showstaffColor",
  4553. -- Callback = function(color)
  4554.  
  4555. -- end
  4556. -- }
  4557. -- local addstaffName = themes:Box{
  4558. -- Name = "Staff Name",
  4559. -- Placeholder = "Staff Name",
  4560. -- Flag = "addstaffName",
  4561. -- }
  4562. -- local StaffFound = false
  4563. -- themes:Button{
  4564. -- Name = "Add Staff",
  4565. -- Callback = function()
  4566. -- if library.flags["addstaffName"] then
  4567. -- -- for each player
  4568. -- for i, v in pairs(game.Players:GetPlayers()) do
  4569. -- if v.Name == library.flags["addstaffName"] or v.DisplayName == library.flags["addstaffName"] then
  4570. -- if addRobloxUsernameStaff(v.UserId) then
  4571. -- OrionLib:MakeNotification({
  4572. -- Name = "Notification",
  4573. -- Content = "Successfully added staff to database",
  4574. -- Image = "rbxassetid://4483345998",
  4575. -- Time = 5
  4576. -- })
  4577. -- StaffFound = true
  4578. -- break
  4579. -- else
  4580. -- OrionLib:MakeNotification({
  4581. -- Name = "Notification",
  4582. -- Content = "Failed to add staff to database",
  4583. -- Image = "rbxassetid://4483345998",
  4584. -- Time = 5
  4585. -- })
  4586. -- StaffFound = true
  4587. -- break
  4588. -- end
  4589. -- end
  4590. -- end
  4591.  
  4592. -- if not StaffFound then
  4593. -- OrionLib:MakeNotification({
  4594. -- Name = "Notification",
  4595. -- Content = "No staff found with that name",
  4596. -- Image = "rbxassetid://4483345998",
  4597. -- Time = 5
  4598. -- })
  4599. -- end
  4600. -- end
  4601. -- end
  4602. -- }
  4603.  
  4604. -- --* Player Scanner Funtions *--
  4605. -- task.spawn(function()
  4606. -- -- repeat task
  4607. -- while task.wait(5) do
  4608. -- if library.flags["showcheatersEnabled"] then
  4609. -- for i, Player in pairs(plrs:GetPlayers()) do
  4610. -- if Player ~= plr then
  4611. -- if Player.Character and Player.Character:FindFirstChild("Humanoid") then
  4612. -- if Player.Character.Humanoid.Health > 0 and library.flags["showcheatersEnabled"] then
  4613. -- if checkRobloxUsername(Player.UserId) and not CheckCheaterTable2(Player.UserId) then
  4614. -- print("Found cheater")
  4615. -- table.insert(InGameCheaters, Player.UserId)
  4616. -- elseif Player.Character.Humanoid.Health > 100 and not CheckCheaterTable2(Player.UserId) then
  4617. -- print("Found cheater")
  4618. -- table.insert(InGameCheaters, Player.UserId)
  4619. -- elseif Player.Character.Humanoid.WalkSpeed > 11 and not CheckCheaterTable2(Player.UserId) then
  4620. -- print("Found cheater")
  4621. -- table.insert(InGameCheaters, Player.UserId)
  4622. -- elseif Player.Character.Humanoid.JumpPower > 50 and not CheckCheaterTable2(Player.UserId) then
  4623. -- print("Found cheater")
  4624. -- table.insert(InGameCheaters, Player.UserId)
  4625. -- -- elseif checkRobloxUsernameStaff(Player.UserId) and not CheckStaffTable2(Player.UserId) then
  4626. -- -- print("Found staff")
  4627. -- -- table.insert(InGameStaff, Player.UserId)
  4628. -- -- elseif Player.Name == "DaRealOneTabo" or Player.Name == "yeetussaintcletus" or Player.Name == "adsqwe0DD" or Player.Name == "comdinationisLEHbest" or Player.Name == "walter0456" or Player.Name == "ZanderEL" or Player.Name == "hujhufbslkjgbskg" or Player.Name == "Skillful" or Player.Name == "Dan64210" or Player.Name == "Skillh" or Player.Name == "nite_mare654" or Player.Name == "MrDude94" or Player.Name == "xtg12221gtx" or Player.Name == "ismpforvic" then
  4629. -- -- if not CheckStaffTable2(Player.UserId) then
  4630. -- -- print("Found staff")
  4631. -- -- table.insert(InGameStaff, Player.UserId)
  4632. -- -- end
  4633. -- end
  4634. -- else
  4635. -- InGameStaff = {}
  4636. -- InGameCheaters = {}
  4637. -- end
  4638. -- end
  4639. -- end
  4640. -- end
  4641. -- end
  4642. -- end
  4643. -- end)
  4644.  
  4645.  
  4646. local keybind_viewer = configs:Section{Name = "", Side = "Left"}
  4647.  
  4648. local KeybindviewerToggle = keybind_viewer:Toggle{
  4649. Name = "Show Keybind Viewer",
  4650. Flag = "showkeybindsEnabled",
  4651. -- Default = false,
  4652. Callback = function(bool)
  4653. KeybindViewer.Main.Visible = bool
  4654. KeybindViewer.Border.Visible = bool
  4655. KeybindViewer.TopBorder.Visible = bool
  4656.  
  4657. Title.Visible = bool
  4658. WalkspeedKeybindOld.Visible = bool
  4659. InventoryViewerKeybind.Visible = bool
  4660. CameraZoomKeybind.Visible = bool
  4661. ThirdPersonKeybind.Visible = bool
  4662. HipHeightKeybind.Visible = bool
  4663. UnlockDoorKeybind.Visible = bool
  4664. end
  4665. }
  4666. keybind_viewer:Slider{
  4667. Name = "Frame X Pos",
  4668. Text = "X Position: [value]",
  4669. Default = 0,
  4670. Min = 0,
  4671. Max = Camera.ViewportSize.X - 175,
  4672. Float = 1,
  4673. Flag = "keybindFrameXPos",
  4674. Callback = function(value)
  4675. KeybindViewer.Main.Position = Vector2.new(value, KeybindViewer.Main.Position.Y)
  4676. KeybindViewer.Border.Position = Vector2.new(value, KeybindViewer.Border.Position.Y)
  4677. KeybindViewer.TopBorder.Position = Vector2.new(value + 2, KeybindViewer.TopBorder.Position.Y)
  4678. Title.Position = Vector2.new(value + 7, Title.Position.Y)
  4679. WalkspeedKeybindOld.Position = Vector2.new(value + 10, WalkspeedKeybindOld.Position.Y)
  4680. InventoryViewerKeybind.Position = Vector2.new(value + 10, InventoryViewerKeybind.Position.Y)
  4681. CameraZoomKeybind.Position = Vector2.new(value + 10, CameraZoomKeybind.Position.Y)
  4682. ThirdPersonKeybind.Position = Vector2.new(value + 10, ThirdPersonKeybind.Position.Y)
  4683. HipHeightKeybind.Position = Vector2.new(value + 10, HipHeightKeybind.Position.Y)
  4684. UnlockDoorKeybind.Position = Vector2.new(value + 10, UnlockDoorKeybind.Position.Y)
  4685. end
  4686. }
  4687. keybind_viewer:Slider{
  4688. Name = "Frame Y Pos",
  4689. Text = "Y Position: [value]",
  4690. Default = Camera.ViewportSize.Y / 2,
  4691. Min = 0,
  4692. Max = Camera.ViewportSize.Y - 145,
  4693. Float = 1,
  4694. Flag = "keybindFrameYPos",
  4695. Callback = function(value)
  4696. KeybindViewer.Main.Position = Vector2.new(KeybindViewer.Main.Position.X, value)
  4697. KeybindViewer.Border.Position = Vector2.new(KeybindViewer.Border.Position.X, value)
  4698. KeybindViewer.TopBorder.Position = Vector2.new(KeybindViewer.TopBorder.Position.X, value + 2)
  4699. Title.Position = Vector2.new(Title.Position.X, value + 5)
  4700. WalkspeedKeybindOld.Position = Vector2.new(WalkspeedKeybindOld.Position.X, value + 40)
  4701. InventoryViewerKeybind.Position = Vector2.new(InventoryViewerKeybind.Position.X, value + 60)
  4702. CameraZoomKeybind.Position = Vector2.new(CameraZoomKeybind.Position.X, value + 80)
  4703. ThirdPersonKeybind.Position = Vector2.new(ThirdPersonKeybind.Position.X, value + 100)
  4704. HipHeightKeybind.Position = Vector2.new(HipHeightKeybind.Position.X, value + 120)
  4705. UnlockDoorKeybind.Position = Vector2.new(UnlockDoorKeybind.Position.X, value + 140)
  4706. end
  4707. }
  4708.  
  4709. local themepickers = {}
  4710. local customtheme = configs:Section{Name = "Custom Themes", Side = "Right"}
  4711.  
  4712. themepickers["Accent"] = customtheme:ColorPicker{
  4713. Name = "Accent",
  4714. Default = library.theme["Accent"],
  4715. Flag = "Accent",
  4716. Callback = function(color)
  4717. library:ChangeThemeOption("Accent", color)
  4718. KeybindViewer.TopBorder.Color = color
  4719. end
  4720. }
  4721.  
  4722. library:ConfigIgnore("Accent")
  4723.  
  4724. themepickers["Window Background"] = customtheme:ColorPicker{
  4725. Name = "Window Background",
  4726. Default = library.theme["Window Background"],
  4727. Flag = "Window Background",
  4728. Callback = function(color)
  4729. library:ChangeThemeOption("Window Background", color)
  4730. KeybindViewer.Border.Color = color
  4731. end
  4732. }
  4733.  
  4734. library:ConfigIgnore("Window Background")
  4735.  
  4736. themepickers["Tab Background"] = customtheme:ColorPicker{
  4737. Name = "Tab Background",
  4738. Default = library.theme["Tab Background"],
  4739. Flag = "Tab Background",
  4740. Callback = function(color)
  4741. library:ChangeThemeOption("Tab Background", color)
  4742. KeybindViewer.Main.Color = color
  4743. end
  4744. }
  4745.  
  4746. library:ConfigIgnore("Tab Background")
  4747.  
  4748.  
  4749. local configsection = configs:Section{Name = "Configs", Side = "Right"}
  4750.  
  4751. local configlist = configsection:Dropdown{
  4752. Name = "",
  4753. Content = library:GetConfigs(), -- GetConfigs(true) if you want universal configs
  4754. Flag = "Config Dropdown"
  4755. }
  4756.  
  4757. library:ConfigIgnore("Config Dropdown")
  4758.  
  4759. local loadconfig = configsection:Button{
  4760. Name = "Load Config",
  4761. Callback = function()
  4762. library:LoadConfig(library.flags["Config Dropdown"]) -- LoadConfig(library.flags["Config Dropdown"], true) if you want universal configs
  4763. library:LoadConfig(library.flags["Config Dropdown"])
  4764. library:LoadConfig(library.flags["Config Dropdown"])
  4765. end
  4766. }
  4767.  
  4768. local delconfig = configsection:Button{
  4769. Name = "Delete Config",
  4770. Callback = function()
  4771. library:DeleteConfig(library.flags["Config Dropdown"]) -- DeleteConfig(library.flags["Config Dropdown"], true) if you want universal configs
  4772. configlist:Refresh(library:GetConfigs())
  4773. end
  4774. }
  4775.  
  4776. local configbox = configsection:Box{
  4777. Name = "Config Name",
  4778. Placeholder = "Enter Config Name Here",
  4779. Flag = "Config Name"
  4780. }
  4781.  
  4782. library:ConfigIgnore("Config Name")
  4783.  
  4784. local save = configsection:Button{
  4785. Name = "Save Config",
  4786. Callback = function()
  4787. library:SaveConfig(library.flags["Config Dropdown"] or library.flags["Config Name"])
  4788. configlist:Refresh(library:GetConfigs())
  4789. end
  4790. }
Advertisement
Add Comment
Please, Sign In to add comment