Advertisement
6segs

qualv3

Mar 4th, 2021
1,205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 95.91 KB | None | 0 0
  1. Studio = game:GetService("RunService"):IsStudio()
  2. local library
  3. if Studio then
  4. library = require(workspace.UI)
  5. else
  6. --library = loadstring(game:HttpGet("http://bloxxite.xyz/rgwergdsfgsdtrjhsdrth", true))()
  7. library = loadstring(game:HttpGet(('https://pastebin.com/raw/SB2yAuJd'),true))()
  8. end
  9.  
  10. Services = setmetatable({}, {
  11. __index = function(self, index)
  12. return game:GetService(index)
  13. end
  14. })
  15.  
  16. Player = Services.Players.LocalPlayer
  17. Camera = workspace:FindFirstChildOfClass("Camera")
  18. Mouse = Player:GetMouse()
  19. Environment = nil
  20. if not Studio then
  21. Environment = getsenv(Player.PlayerGui.Client)
  22. end
  23.  
  24. Backtrack = Instance.new("Model", workspace)
  25. BacktrackSample = game:GetObjects("rbxassetid://4707836033")[1]
  26. DefaultAimbot = "Legit"
  27.  
  28. function Players(func, includenewplayers)
  29. for i,v in pairs(Services.Players:GetPlayers()) do
  30. func(v)
  31. end
  32. if includenewplayers then
  33. Services.Players.PlayerAdded:connect(func)
  34. end
  35. end
  36.  
  37. function IsEnemy(v)
  38. return v.Team ~= Player.Team
  39. end
  40.  
  41. function IsAlly(v)
  42. return v.Team == Player.Team
  43. end
  44.  
  45. function Enemies(func)
  46. Players(function(v)
  47. if IsEnemy(v) then
  48. func(v)
  49. end
  50. end)
  51. end
  52.  
  53. function Allies(func)
  54. Players(function(v)
  55. if IsAlly(v) and v ~= Player then
  56. func(v)
  57. end
  58. end)
  59. end
  60.  
  61. function isAlive(v)
  62. return v and v.Character and v.Character:FindFirstChild("Head") and v.Character:FindFirstChild("HumanoidRootPart")
  63. end
  64.  
  65. function GetDistanceSq(v1, v2) -- yeah optimization
  66. local a = v2.x - v1.x
  67. local b = v2.y - v1.y
  68. return (a*a) + (b*b)
  69. end
  70.  
  71. function GetDistanceSq3(v1, v2) -- yeah optimization
  72. local a = v2.x - v1.x
  73. local b = v2.y - v1.y
  74. local c = v2.z - v1.z
  75. return a*a + b*b + c*c
  76. end
  77.  
  78. function GetDistanceToCrosshair(v)
  79. local worldPoint = v.Character.HumanoidRootPart.Position
  80. local vector, onScreen = Camera:WorldToScreenPoint(worldPoint)
  81. local magnitude = GetDistanceSq(Vector2.new(Mouse.X, Mouse.Y), Vector2.new(vector.X, vector.Y))
  82. return magnitude, onScreen
  83. end
  84.  
  85. function CalculateThreat(p)
  86. local ignorelist = {Camera, Player.Character, p.Character, Backtrack}
  87. local parts = Camera:GetPartsObscuringTarget({p.CameraCF.Value.p}, ignorelist)
  88. if #parts < 2 then
  89. return true
  90. end
  91. end
  92.  
  93. function GetStatus(player)
  94. return DefaultAimbot
  95. end
  96.  
  97. function GetThreat(prefix)
  98. local target = nil
  99. local distance = math.huge
  100.  
  101. Enemies(function(v)
  102. if isAlive(v) then
  103. local magnitude = GetDistanceSq3(Player.Character.HumanoidRootPart.Position, v.Character.HumanoidRootPart.Position)
  104. if GetStatus(v) == prefix and distance > magnitude and CalculateThreat(v) then
  105. distance = magnitude
  106. target = v
  107. end
  108. end
  109. end)
  110.  
  111. return target, 0
  112. end
  113.  
  114.  
  115. function GetClosestToCrosshair(prefix)
  116. local target = nil
  117. local distance = math.huge
  118.  
  119. Enemies(function(v)
  120. if isAlive(v) then
  121. local magnitude, onScreen = GetDistanceToCrosshair(v)
  122. if GetStatus(v) == prefix and onScreen and magnitude < distance then
  123. distance = magnitude
  124. target = v
  125. end
  126. end
  127. end)
  128.  
  129. return target, distance
  130. end
  131.  
  132. function GetNearest(prefix)
  133. local target = nil;
  134. local distance = math.huge
  135.  
  136. Enemies(function(v)
  137. if isAlive(v) then
  138. local magnitude = GetDistanceSq3(Player.Character.HumanoidRootPart.Position, v.Character.HumanoidRootPart.Position)
  139. if GetStatus(v) == prefix and distance > magnitude then
  140. distance = magnitude
  141. target = v
  142. end
  143. end
  144. end)
  145.  
  146. return target, 0
  147. end
  148.  
  149. local Skyboxes = {
  150. ["Alien Red (Nostalgia)"] = {
  151. SkyboxLf = "http://www.roblox.com/asset/?version=1&id=1012889",
  152. SkyboxBk = "http://www.roblox.com/asset/?version=1&id=1012890",
  153. SkyboxDn = "http://www.roblox.com/asset/?version=1&id=1012891",
  154. SkyboxFt = "http://www.roblox.com/asset/?version=1&id=1012887",
  155. SkyboxLf = "http://www.roblox.com/asset/?version=1&id=1012889",
  156. SkyboxRt = "http://www.roblox.com/asset/?version=1&id=1012888",
  157. SkyboxUp = "http://www.roblox.com/asset/?version=1&id=1014449",
  158. StarCount = 3000,
  159. SunAngularSize = 21
  160. },
  161. ["Cloudy Skies"] = {
  162. SkyboxLf = "http://www.roblox.com/asset/?id=252760980",
  163. SkyboxBk = "http://www.roblox.com/asset/?id=252760981",
  164. SkyboxDn = "http://www.roblox.com/asset/?id=252763035",
  165. SkyboxFt = "http://www.roblox.com/asset/?id=252761439",
  166. SkyboxLf = "http://www.roblox.com/asset/?id=252760980",
  167. SkyboxRt = "http://www.roblox.com/asset/?id=252760986",
  168. SkyboxUp = "http://www.roblox.com/asset/?id=252762652",
  169. StarCount = 3000,
  170. SunAngularSize = 21
  171. },
  172. ["Counter Strike City"] = {
  173. SkyboxLf = "rbxassetid://2240133550",
  174. SkyboxBk = "rbxassetid://2240134413",
  175. SkyboxDn = "rbxassetid://2240136039",
  176. SkyboxFt = "rbxassetid://2240130790",
  177. SkyboxLf = "rbxassetid://2240133550",
  178. SkyboxRt = "rbxassetid://2240132643",
  179. SkyboxUp = "rbxassetid://2240135222",
  180. StarCount = 3000,
  181. SunAngularSize = 0
  182. },
  183. ["Dark City"] = {
  184. SkyboxLf = "rbxassetid://1424484951",
  185. SkyboxBk = "rbxassetid://1424486234",
  186. SkyboxDn = "rbxassetid://1424485998",
  187. SkyboxFt = "rbxassetid://1424485697",
  188. SkyboxLf = "rbxassetid://1424484951",
  189. SkyboxRt = "rbxassetid://1424484760",
  190. SkyboxUp = "rbxassetid://1424484510",
  191. StarCount = 3000,
  192. SunAngularSize = 21
  193. },
  194. ["Earth"] = {
  195. SkyboxLf = "http://www.roblox.com/asset/?id=166510092",
  196. SkyboxBk = "http://www.roblox.com/asset/?id=166509999",
  197. SkyboxDn = "http://www.roblox.com/asset/?id=166510057",
  198. SkyboxFt = "http://www.roblox.com/asset/?id=166510116",
  199. SkyboxLf = "http://www.roblox.com/asset/?id=166510092",
  200. SkyboxRt = "http://www.roblox.com/asset/?id=166510131",
  201. SkyboxUp = "http://www.roblox.com/asset/?id=166510114",
  202. StarCount = 0,
  203. SunAngularSize = 21
  204. },
  205. ["Mountains By Crykee"] = {
  206. SkyboxLf = "http://www.roblox.com/asset/?id=368390615",
  207. SkyboxBk = "http://www.roblox.com/asset/?id=368385273",
  208. SkyboxDn = "http://www.roblox.com/asset/?id=48015300",
  209. SkyboxFt = "http://www.roblox.com/asset/?id=368388290",
  210. SkyboxLf = "http://www.roblox.com/asset/?id=368390615",
  211. SkyboxRt = "http://www.roblox.com/asset/?id=368385190",
  212. SkyboxUp = "http://www.roblox.com/asset/?id=48015387",
  213. StarCount = 3000,
  214. SunAngularSize = 21
  215. },
  216. ["Old Skybox"] = {
  217. SkyboxLf = "http://www.roblox.com/asset/?id=15437157",
  218. SkyboxBk = "http://www.roblox.com/asset/?id=15436783",
  219. SkyboxDn = "http://www.roblox.com/asset/?id=15436796",
  220. SkyboxFt = "http://www.roblox.com/asset/?id=15436831",
  221. SkyboxLf = "http://www.roblox.com/asset/?id=15437157",
  222. SkyboxRt = "http://www.roblox.com/asset/?id=15437166",
  223. SkyboxUp = "http://www.roblox.com/asset/?id=15437184",
  224. StarCount = 3000,
  225. SunAngularSize = 21
  226. },
  227. ["Purple Clouds"] = {
  228. SkyboxLf = "http://www.roblox.com/asset/?id=570557620",
  229. SkyboxBk = "http://www.roblox.com/asset/?id=570557514",
  230. SkyboxDn = "http://www.roblox.com/asset/?id=570557775",
  231. SkyboxFt = "http://www.roblox.com/asset/?id=570557559",
  232. SkyboxLf = "http://www.roblox.com/asset/?id=570557620",
  233. SkyboxRt = "http://www.roblox.com/asset/?id=570557672",
  234. SkyboxUp = "http://www.roblox.com/asset/?id=570557727",
  235. StarCount = 3000,
  236. SunAngularSize = 21
  237. },
  238. ["Purple Nebula"] = {
  239. SkyboxLf = "http://www.roblox.com/asset/?id=159454286",
  240. SkyboxBk = "http://www.roblox.com/asset/?id=159454299",
  241. SkyboxDn = "http://www.roblox.com/asset/?id=159454296",
  242. SkyboxFt = "http://www.roblox.com/asset/?id=159454293",
  243. SkyboxLf = "http://www.roblox.com/asset/?id=159454286",
  244. SkyboxRt = "http://www.roblox.com/asset/?id=159454300",
  245. SkyboxUp = "http://www.roblox.com/asset/?id=159454288",
  246. StarCount = 0,
  247. SunAngularSize = 21
  248. },
  249. ["Red Sky"] = {
  250. SkyboxLf = "http://www.roblox.com/Asset/?ID=401664881",
  251. SkyboxBk = "http://www.roblox.com/Asset/?ID=401664839",
  252. SkyboxDn = "http://www.roblox.com/Asset/?ID=401664862",
  253. SkyboxFt = "http://www.roblox.com/Asset/?ID=401664960",
  254. SkyboxLf = "http://www.roblox.com/Asset/?ID=401664881",
  255. SkyboxRt = "http://www.roblox.com/Asset/?ID=401664901",
  256. SkyboxUp = "http://www.roblox.com/Asset/?ID=401664936",
  257. StarCount = 0,
  258. SunAngularSize = 21
  259. },
  260. ["Shrek"] = {
  261. SkyboxLf = "rbxassetid://198329363",
  262. SkyboxBk = "rbxassetid://198329363",
  263. SkyboxDn = "rbxassetid://198329363",
  264. SkyboxFt = "rbxassetid://198329363",
  265. SkyboxLf = "rbxassetid://198329363",
  266. SkyboxRt = "rbxassetid://198329363",
  267. SkyboxUp = "rbxassetid://198329363",
  268. StarCount = 0,
  269. SunAngularSize = 21
  270. },
  271. ["Stormy Sky"] = {
  272. SkyboxLf = "http://www.roblox.com/asset/?version=1&id=1327363",
  273. SkyboxBk = "http://www.roblox.com/asset/?version=1&id=1327366",
  274. SkyboxDn = "http://www.roblox.com/asset/?version=1&id=1327367",
  275. SkyboxFt = "http://www.roblox.com/asset/?version=1&id=1327362",
  276. SkyboxLf = "http://www.roblox.com/asset/?version=1&id=1327363",
  277. SkyboxRt = "http://www.roblox.com/asset/?version=1&id=1327361",
  278. SkyboxUp = "http://www.roblox.com/asset/?version=1&id=1327368",
  279. StarCount = 3000,
  280. SunAngularSize = 21
  281. },
  282. ["Twilight"] = {
  283. SkyboxLf = "rbxassetid://264909758",
  284. SkyboxBk = "rbxassetid://264908339",
  285. SkyboxDn = "rbxassetid://264907909",
  286. SkyboxFt = "rbxassetid://264909420",
  287. SkyboxLf = "rbxassetid://264909758",
  288. SkyboxRt = "rbxassetid://264908886",
  289. SkyboxUp = "rbxassetid://264907379",
  290. StarCount = 3000,
  291. SunAngularSize = 21
  292. },
  293. ["Vaporwave Colors"] = {
  294. SkyboxLf = "rbxassetid://1417494402",
  295. SkyboxBk = "rbxassetid://1417494030",
  296. SkyboxDn = "rbxassetid://1417494146",
  297. SkyboxFt = "rbxassetid://1417494253",
  298. SkyboxLf = "rbxassetid://1417494402",
  299. SkyboxRt = "rbxassetid://1417494499",
  300. SkyboxUp = "rbxassetid://1417494643",
  301. StarCount = 3000,
  302. SunAngularSize = 21
  303. },
  304. ["Vivid Skies"] = {
  305. SkyboxLf = "rbxassetid://2800902328",
  306. SkyboxBk = "rbxassetid://2800905936",
  307. SkyboxDn = "rbxassetid://2800905936",
  308. SkyboxFt = "rbxassetid://2800905116",
  309. SkyboxLf = "rbxassetid://2800902328",
  310. SkyboxRt = "rbxassetid://2800903916",
  311. SkyboxUp = "rbxassetid://2800906739",
  312. StarCount = 3000,
  313. SunAngularSize = 21
  314. },
  315. ["Wasteland"] = {
  316. SkyboxLf = "rbxassetid://2046135392",
  317. SkyboxBk = "rbxassetid://2046134302",
  318. SkyboxDn = "rbxassetid://2046134976",
  319. SkyboxFt = "rbxassetid://2046135977",
  320. SkyboxLf = "rbxassetid://2046135392",
  321. SkyboxRt = "rbxassetid://2046136939",
  322. SkyboxUp = "rbxassetid://2046136551",
  323. StarCount = 3000,
  324. SunAngularSize = 21
  325. },
  326. }
  327.  
  328. local ToSimplified = {
  329. ["LeftHand"] = "Left Arm",
  330. ["LeftLowerArm"] = "Left Arm",
  331. ["LeftUpperArm"] = "Left Arm",
  332. ["RightHand"] = "Right Arm",
  333. ["RightLowerArm"] = "Right Arm",
  334. ["RightUpperArm"] = "Right Arm",
  335. ["HeadHB"] = "Head",
  336. ["FakeHead"] = "Head",
  337. ["UpperTorso"] = "Torso",
  338. ["LowerTorso"] = "Torso",
  339. ["LeftFoot"] = "Left Leg",
  340. ["LeftLowerLeg"] = "Left Leg",
  341. ["LeftUpperLeg"] = "Left Leg",
  342. ["RightFoot"] = "Right Leg",
  343. ["RightLowerLeg"] = "Right Leg",
  344. ["RightUpperLeg"] = "Right Leg"
  345. }
  346.  
  347. local FromSimplified = {
  348. ["Left Arm"] = "LeftLowerArm",
  349. ["Right Arm"] = "RightLowerArm",
  350. ["Head"] = "Head",
  351. ["Torso"] = "UpperTorso",
  352. ["Left Leg"] = "LeftUpperLeg",
  353. ["Right Leg"] = "RightUpperLeg"
  354. }
  355.  
  356. local Weapons = {
  357. Pistols = {"USP", "P2000", "Glock", "DualBerettas", "P250", "FiveSeven", "Tec9", "CZ", "DesertEagle", "R8"},
  358. SMGs = {"MP9", "MAC10", "MP7", "UMP", "P90", "Bizon"},
  359. Rifles = {"M4A4", "M4A1", "AK47", "Famas", "Galil", "AUG"},
  360. AWP = {"AWP"},
  361. Scout = {"Scout", "SG"},
  362. Autosnipers = {"G3SG1"},
  363. Heavies = {"M249", "Negev"},
  364. Shotguns = {"XM", "Nova", "MAG7", "SawedOff"},
  365. AllWeapons = {"USP","P2000","Glock","DualBerettas","P250","FiveSeven","Tec9","CZ","DesertEagle","R8","MP9","MAC10","MP7","UMP","P90","Bizon","M4A4","M4A1","AK47","Famas","Galil","AUG","Scout","SG","AWP","SCAR20","G3SG1","M249","Negev","XM","Nova","MAG7","SawedOff"},
  366. Types = {"Pistols", "SMGs", "Rifles", "AWP", "Autosnipers", "Scout", "Heavies", "Shotguns"},
  367. Path = Services.ReplicatedStorage:FindFirstChild("Weapons"),
  368. }
  369.  
  370. Weapons.Old = Weapons.Path:Clone()
  371.  
  372. Exploits = library:CreateWindow("Qual v3")
  373. RS = Services.RunService.RenderStepped
  374.  
  375. -- GUI OBJECTS
  376. local function Scan(item, parent)
  377. local partsWithId = {}
  378. local awaitRef = {}
  379. local obj = Instance.new(item.Type)
  380. if (item.ID) then
  381. local awaiting = awaitRef[item.ID]
  382. if (awaiting) then
  383. awaiting[1][awaiting[2]] = obj
  384. awaitRef[item.ID] = nil
  385. else
  386. partsWithId[item.ID] = obj
  387. end
  388. end
  389. for p,v in pairs(item.Properties) do
  390. if (type(v) == "string") then
  391. local id = tonumber(v:match("^_R:(%w+)_$"))
  392. if (id) then
  393. if (partsWithId[id]) then
  394. v = partsWithId[id]
  395. else
  396. awaitRef[id] = {obj, p}
  397. v = nil
  398. end
  399. end
  400. end
  401. obj[p] = v
  402. end
  403. for _,c in pairs(item.Children) do
  404. Scan(c, obj)
  405. end
  406. obj.Parent = parent
  407. return obj
  408. end
  409.  
  410. local ViewportFrame = Instance.new("ViewportFrame", library.base)
  411. ViewportFrame.Size = UDim2.new(1, 0, 1, 0)
  412. ViewportFrame.CurrentCamera = workspace.CurrentCamera
  413. ViewportFrame.BackgroundTransparency = 1
  414. ViewportFrame.ImageTransparency = 1/4
  415.  
  416. local BombGUI = Scan({
  417. ID = 0;
  418. Type = "Frame";
  419. Properties = {
  420. AnchorPoint = Vector2.new(0.5,0.5);
  421. Name = "Bomb";
  422. Visible = false;
  423. Position = UDim2.new(0.5,0,0.22698412835598,0);
  424. BackgroundTransparency = 1;
  425. Size = UDim2.new(0.25,0,0.15396825969219,0);
  426. BackgroundColor3 = Color3.new(1,1,1);
  427. };
  428. Children = {
  429. {
  430. ID = 1;
  431. Type = "TextLabel";
  432. Properties = {
  433. LayoutOrder = 1;
  434. FontSize = Enum.FontSize.Size18;
  435. TextColor3 = Color3.new(2/51,79/255,43/85);
  436. Text = "A";
  437. Font = Enum.Font.Code;
  438. Name = "Site";
  439. BackgroundTransparency = 1;
  440. Size = UDim2.new(1,0,0,14);
  441. TextSize = 16;
  442. BackgroundColor3 = Color3.new(7/85,154/255,1);
  443. };
  444. Children = {};
  445. };
  446. {
  447. ID = 2;
  448. Type = "UIListLayout";
  449. Properties = {
  450. Padding = UDim.new(0,5);
  451. SortOrder = Enum.SortOrder.LayoutOrder;
  452. };
  453. Children = {};
  454. };
  455. {
  456. ID = 3;
  457. Type = "TextLabel";
  458. Properties = {
  459. LayoutOrder = 2;
  460. FontSize = Enum.FontSize.Size18;
  461. TextColor3 = Color3.new(2/51,79/255,43/85);
  462. Text = "Explosion Time: 38 seconds";
  463. Font = Enum.Font.Code;
  464. Name = "ET";
  465. BackgroundTransparency = 1;
  466. Size = UDim2.new(1,0,0,14);
  467. TextSize = 16;
  468. BackgroundColor3 = Color3.new(7/85,154/255,1);
  469. };
  470. Children = {};
  471. };
  472. {
  473. ID = 4;
  474. Type = "Frame";
  475. Properties = {
  476. LayoutOrder = 3;
  477. Name = "T";
  478. Position = UDim2.new(0,0,0.10052909702063,0);
  479. Size = UDim2.new(1,0,0,10);
  480. BorderSizePixel = 0;
  481. BackgroundColor3 = Color3.new(226/255,49/85,59/255);
  482. };
  483. Children = {};
  484. };
  485. {
  486. ID = 5;
  487. Type = "Frame";
  488. Properties = {
  489. LayoutOrder = 5;
  490. Name = "CT";
  491. Position = UDim2.new(0,0,0.10052909702063,0);
  492. Size = UDim2.new(1,0,0,10);
  493. BorderSizePixel = 0;
  494. BackgroundColor3 = Color3.new(47/255,8/15,66/85);
  495. };
  496. Children = {};
  497. };
  498. {
  499. ID = 6;
  500. Type = "TextLabel";
  501. Properties = {
  502. LayoutOrder = 4;
  503. FontSize = Enum.FontSize.Size18;
  504. TextColor3 = Color3.new(2/51,79/255,43/85);
  505. Text = "Defuse Time: 5 seconds";
  506. Font = Enum.Font.Code;
  507. Name = "DT";
  508. BackgroundTransparency = 1;
  509. Size = UDim2.new(1,0,0,14);
  510. TextSize = 16;
  511. BackgroundColor3 = Color3.new(7/85,154/255,1);
  512. };
  513. Children = {};
  514. };
  515. };
  516. }, library.base)
  517.  
  518.  
  519. local CreateArrows = function(color3, alpha, size, bounds)
  520. return Scan({
  521. ID = 0;
  522. Type = "Frame";
  523. Properties = {
  524. AnchorPoint = Vector2.new(0.5,0.5);
  525. Name = "MDMain";
  526. Position = UDim2.new(0.5,0,0.5,0);
  527. BackgroundTransparency = 1;
  528. Size = UDim2.new(0,bounds,0,bounds);
  529. BackgroundColor3 = Color3.new(1,1,1);
  530. };
  531. Children = {
  532. {
  533. ID = 1;
  534. Type = "ImageLabel";
  535. Properties = {
  536. AnchorPoint = Vector2.new(0.5,0);
  537. Image = "rbxassetid://4292970642";
  538. ImageColor3 = color3;
  539. ImageTransparency = alpha;
  540. Name = "Marker";
  541. Position = UDim2.new(0.5,0,0,0);
  542. BackgroundTransparency = 1;
  543. Size = UDim2.new(0,size,0,size);
  544. BackgroundColor3 = Color3.new(1,1,1);
  545. };
  546. Children = {};
  547. };
  548. };
  549. })
  550. end
  551.  
  552. local SkeetMain = Scan({
  553. ID = 0;
  554. Type = "Frame";
  555. Properties = {
  556. BackgroundTransparency = 1;
  557. Size = UDim2.new(0.2,0,1,-350);
  558. Name = "Skeet";
  559. BackgroundColor3 = Color3.new(1,1,1);
  560. };
  561. Children = {
  562. {
  563. ID = 1;
  564. Type = "UIListLayout";
  565. Properties = {
  566. VerticalAlignment = Enum.VerticalAlignment.Bottom;
  567. SortOrder = Enum.SortOrder.LayoutOrder;
  568. };
  569. Children = {};
  570. };
  571. };
  572. })
  573.  
  574. local Aimmarker = Scan({
  575. ID = 0;
  576. Type = "ImageLabel";
  577. Properties = {
  578. AnchorPoint = Vector2.new(0.5,0.5);
  579. Image = "rbxassetid://58786096";
  580. Name = "Aimmarker";
  581. ImageTransparency = 0.5;
  582. Position = UDim2.new(0,1067,0,328);
  583. BackgroundTransparency = 1;
  584. Size = UDim2.new(0,25,0,25);
  585. BackgroundColor3 = Color3.new(1,1,1);
  586. };
  587. Children = {};
  588. })
  589.  
  590. local HitboxPriorityControl = Scan({
  591. ID = 0;
  592. Type = "Frame";
  593. Properties = {
  594. Name = "Hitbox Priorities";
  595. BackgroundColor3 = Color3.new(1,1,1);
  596. };
  597. Children = {
  598. {
  599. ID = 1;
  600. Type = "TextButton";
  601. Properties = {
  602. FontSize = Enum.FontSize.Size18;
  603. TextColor3 = Color3.new(0,0,0);
  604. BorderColor3 = Color3.new(35/51,181/255,3/5);
  605. Text = "4";
  606. AutoButtonColor = false;
  607. Font = Enum.Font.SourceSans;
  608. Name = "Head";
  609. Position = UDim2.new(0,119,0,48);
  610. TextTransparency = 0.60000002384186;
  611. Size = UDim2.new(0,44,0,44);
  612. TextSize = 16;
  613. BackgroundColor3 = Color3.new(49/51,41/51,16/85);
  614. };
  615. Children = {};
  616. };
  617. {
  618. ID = 2;
  619. Type = "TextButton";
  620. Properties = {
  621. FontSize = Enum.FontSize.Size18;
  622. TextColor3 = Color3.new(0,0,0);
  623. BorderColor3 = Color3.new(35/51,181/255,3/5);
  624. Text = "1";
  625. AutoButtonColor = false;
  626. Font = Enum.Font.SourceSans;
  627. Name = "Left Arm";
  628. Position = UDim2.new(0,47,0,100);
  629. TextTransparency = 0.60000002384186;
  630. Size = UDim2.new(0,40,0,88);
  631. TextSize = 16;
  632. BackgroundColor3 = Color3.new(49/51,41/51,16/85);
  633. };
  634. Children = {};
  635. };
  636. {
  637. ID = 3;
  638. Type = "TextButton";
  639. Properties = {
  640. FontSize = Enum.FontSize.Size18;
  641. TextColor3 = Color3.new(0,0,0);
  642. BorderColor3 = Color3.fromRGB(65, 67, 56);
  643. Text = "3";
  644. AutoButtonColor = false;
  645. Font = Enum.Font.SourceSans;
  646. Name = "Torso";
  647. Position = UDim2.new(0,95,0,100);
  648. TextTransparency = 0.60000002384186;
  649. Size = UDim2.new(0,88,0,88);
  650. TextSize = 16;
  651. BackgroundColor3 = Color3.new(11/85,28/85,37/51);
  652. };
  653. Children = {};
  654. };
  655. {
  656. ID = 4;
  657. Type = "TextButton";
  658. Properties = {
  659. FontSize = Enum.FontSize.Size18;
  660. TextColor3 = Color3.new(0,0,0);
  661. BorderColor3 = Color3.new(35/51,181/255,3/5);
  662. Text = "2";
  663. AutoButtonColor = false;
  664. Font = Enum.Font.SourceSans;
  665. Name = "Right Leg";
  666. Position = UDim2.new(0,143,0,194);
  667. TextTransparency = 0.60000002384186;
  668. Size = UDim2.new(0,40,0,88);
  669. TextSize = 16;
  670. BackgroundColor3 = Color3.new(164/255,63/85,71/255);
  671. };
  672. Children = {};
  673. };
  674. {
  675. ID = 5;
  676. Type = "TextButton";
  677. Properties = {
  678. FontSize = Enum.FontSize.Size18;
  679. TextColor3 = Color3.new(0,0,0);
  680. BorderColor3 = Color3.new(35/51,181/255,3/5);
  681. Text = "1";
  682. AutoButtonColor = false;
  683. Font = Enum.Font.SourceSans;
  684. Name = "Right Arm";
  685. Position = UDim2.new(0,191,0,100);
  686. TextTransparency = 0.60000002384186;
  687. Size = UDim2.new(0,40,0,88);
  688. TextSize = 16;
  689. BackgroundColor3 = Color3.new(49/51,41/51,16/85);
  690. };
  691. Children = {};
  692. };
  693. {
  694. ID = 6;
  695. Type = "TextButton";
  696. Properties = {
  697. FontSize = Enum.FontSize.Size18;
  698. TextColor3 = Color3.new(0,0,0);
  699. BorderColor3 = Color3.new(35/51,181/255,3/5);
  700. Text = "2";
  701. AutoButtonColor = false;
  702. Font = Enum.Font.SourceSans;
  703. Name = "Left Leg";
  704. Position = UDim2.new(0,95,0,194);
  705. TextTransparency = 0.60000002384186;
  706. Size = UDim2.new(0,40,0,88);
  707. TextSize = 16;
  708. BackgroundColor3 = Color3.new(164/255,63/85,71/255);
  709. };
  710. Children = {};
  711. };
  712. };
  713. })
  714.  
  715. local CreateSkeetText = function(text)
  716. local bounds = Services.TextService:GetTextSize(text, 32, Enum.Font.GothamBold, Vector2.new(math.huge, math.huge))
  717. return Scan({
  718. ID = 0;
  719. Type = "TextLabel";
  720. Properties = {
  721. FontSize = Enum.FontSize.Size32;
  722. TextColor3 = Color3.new(0,0,0);
  723. TextXAlignment = Enum.TextXAlignment.Left;
  724. Text = text;
  725. BackgroundTransparency = 1;
  726. Size = UDim2.new(0,bounds.X,0,bounds.Y);
  727. TextWrapped = true;
  728. Font = Enum.Font.GothamBold;
  729. Name = "shadow";
  730. Position = UDim2.new(0,0,0.9459902048111,0);
  731. BackgroundColor3 = Color3.new(1,1,1);
  732. TextSize = 32;
  733. TextWrap = true;
  734. };
  735. Children = {
  736. {
  737. ID = 1;
  738. Type = "TextLabel";
  739. Properties = {
  740. FontSize = Enum.FontSize.Size32;
  741. TextColor3 = Color3.new(1,0,0);
  742. Text = text;
  743. TextXAlignment = Enum.TextXAlignment.Left;
  744. BackgroundTransparency = 1;
  745. TextWrapped = true;
  746. Font = Enum.Font.GothamBold;
  747. Name = "actual";
  748. Position = UDim2.new(0,0,0,-2);
  749. Size = UDim2.new(0,bounds.X,0,bounds.Y);
  750. BackgroundColor3 = Color3.new(1,1,1);
  751. TextSize = 32;
  752. TextWrap = true;
  753. };
  754. Children = {};
  755. };
  756. };
  757. })
  758. end
  759.  
  760. SkeetMain.Parent = library.base
  761. -- SKEET TEXT
  762.  
  763. function SkeetText(name, callback)
  764. local text = {}
  765. text.shadow = CreateSkeetText(name)
  766. text.actual = text.shadow.actual
  767. text.bind = RS:connect(function()
  768. local t = callback()
  769. if t < 0.5 then
  770. text.actual.TextColor3 = Color3.new(1,0,0):lerp(Color3.new(1,1,0), t / 0.5)
  771. else
  772. text.actual.TextColor3 = Color3.new(1,1,0):lerp(Color3.new(0,1,0), (t - 0.5) / 0.5)
  773. end
  774. end)
  775. text.Visible = false
  776.  
  777. function text:SetVisibility(b)
  778. if b then
  779. self.shadow.Parent = SkeetMain
  780. self.Visible = true
  781. else
  782. self.shadow.Parent = nil
  783. self.Visible = false
  784. end
  785. end
  786.  
  787. return text
  788. end
  789.  
  790. function SimulateShot(cf, c)
  791. local range
  792. local penetrationpower
  793. local gun = Environment.gun
  794. if gun:FindFirstChild("Range") then
  795. range = gun.Range.Value
  796. end
  797. if gun:FindFirstChild("Penetration") then
  798. penetrationpower = gun.Penetration.Value * 0.01
  799. end
  800. local firerate
  801. if gun:FindFirstChild("FireRate") then
  802. firerate = gun.FireRate.Value
  803. end
  804. if gun:FindFirstChild("Melee") then
  805. range = 64
  806. if Environment.Held2 == true then
  807. firerate = 1
  808. range = 48
  809. end
  810. end
  811. local tinsert = table.insert
  812. local hitlist = {
  813. workspace.Debris,
  814. Player.Character,
  815. workspace.Ray_Ignore,
  816. Camera,
  817. workspace.Map:WaitForChild("Clips"),
  818. workspace.Map:WaitForChild("SpawnPoints")
  819. }
  820. local crud = Services.Players:GetPlayers()
  821. for i = 1, #crud do
  822. if crud[i].Name ~= Player.Name and crud[i].Character and crud[i].Character:FindFirstChild("UpperTorso") then
  823. if crud[i] and crud[i].Character:FindFirstChild("HumanoidRootPart") then
  824. tinsert(hitlist, crud[i].Character.HumanoidRootPart)
  825. end
  826. if crud[i] and crud[i].Character:FindFirstChild("Head") then
  827. tinsert(hitlist, crud[i].Character.Head)
  828. end
  829. if crud[i] and crud[i].Character:FindFirstChild("Hat1") then
  830. tinsert(hitlist, crud[i].Character.Hat1)
  831. end
  832. if crud[i] and crud[i].Character:FindFirstChild("Hat2") then
  833. tinsert(hitlist, crud[i].Character.Hat2)
  834. end
  835. if crud[i] and crud[i].Character:FindFirstChild("Hat3") then
  836. tinsert(hitlist, crud[i].Character.Hat3)
  837. end
  838. if crud[i] and crud[i].Character:FindFirstChild("Hat4") then
  839. tinsert(hitlist, crud[i].Character.Hat4)
  840. end
  841. if crud[i] and crud[i].Character:FindFirstChild("Hat5") then
  842. tinsert(hitlist, crud[i].Character.Hat5)
  843. end
  844. if crud[i] and crud[i].Character:FindFirstChild("Hat6") then
  845. tinsert(hitlist, crud[i].Character.Hat6)
  846. end
  847. if crud[i] and crud[i].Character:FindFirstChild("Hat7") then
  848. tinsert(hitlist, crud[i].Character.Hat7)
  849. end
  850. if crud[i] and crud[i].Character:FindFirstChild("Hat8") then
  851. tinsert(hitlist, crud[i].Character.Hat8)
  852. end
  853. if crud[i] and crud[i].Character:FindFirstChild("Hat9") then
  854. tinsert(hitlist, crud[i].Character.Hat9)
  855. end
  856. if crud[i] and crud[i].Character:FindFirstChild("Hat10") then
  857. tinsert(hitlist, crud[i].Character.Hat10)
  858. end
  859. if crud[i] and crud[i].Character:FindFirstChild("Hat11") then
  860. tinsert(hitlist, crud[i].Character.Hat11)
  861. end
  862. if crud[i] and crud[i].Character:FindFirstChild("Hat12") then
  863. tinsert(hitlist, crud[i].Character.Hat12)
  864. end
  865. if crud[i] and crud[i].Character:FindFirstChild("Hat13") then
  866. tinsert(hitlist, crud[i].Character.Hat13)
  867. end
  868. if crud[i] and crud[i].Character:FindFirstChild("Hat14") then
  869. tinsert(hitlist, crud[i].Character.Hat14)
  870. end
  871. if crud[i] and crud[i].Character:FindFirstChild("Hat15") then
  872. tinsert(hitlist, crud[i].Character.Hat15)
  873. end
  874. if crud[i] and crud[i].Character:FindFirstChild("DKit") then
  875. tinsert(hitlist, crud[i].Character.DKit)
  876. end
  877. if crud[i] and crud[i].Character:FindFirstChild("Gun") then
  878. tinsert(hitlist, crud[i].Character.Gun)
  879. end
  880. if crud[i] and crud[i].Character:FindFirstChild("Gun2") then
  881. tinsert(hitlist, crud[i].Character.Gun2)
  882. end
  883. end
  884. end
  885. local direction = Vector3.new()
  886. local Mouse = cf.p + cf.lookVector * 999
  887. direction = (CFrame.new(cf.p, Mouse)).lookVector.unit * range * hammerunit2stud
  888. if Environment.equipped ~= "melee" then
  889. direction = cf.lookVector.unit * range * hammerunit2stud
  890. end
  891. local RayCasted = Ray.new(cf.p, direction)
  892. local partpenetrated = 0
  893. local limit = 0
  894. local PartHit, PositionHit, NormalHit
  895. local partmodifier = 1
  896. local damagemodifier = 1
  897. repeat
  898. PartHit, PositionHit, NormalHit = workspace:FindPartOnRayWithIgnoreList(RayCasted, hitlist, false, true)
  899. if PartHit and PartHit.Parent then
  900. partmodifier = 1
  901. if PartHit.Material == Enum.Material.DiamondPlate then
  902. partmodifier = 3
  903. end
  904. if PartHit.Material == Enum.Material.CorrodedMetal or PartHit.Material == Enum.Material.Metal or PartHit.Material == Enum.Material.Concrete or PartHit.Material == Enum.Material.Brick then
  905. partmodifier = 2
  906. end
  907. if PartHit.Name == "Grate" or PartHit.Material == Enum.Material.Wood or PartHit.Material == Enum.Material.WoodPlanks or PartHit and PartHit.Parent and PartHit.Parent:FindFirstChild("Humanoid") then
  908. partmodifier = 0.1
  909. end
  910. if PartHit.Transparency == 1 or PartHit.CanCollide == false or PartHit.Name == "Glass" or PartHit.Name == "Cardboard" or PartHit:IsDescendantOf(workspace.Ray_Ignore) or PartHit:IsDescendantOf(workspace.Debris) or PartHit and PartHit.Parent and PartHit.Parent.Name == "Hitboxes" then
  911. partmodifier = 0
  912. end
  913. if PartHit.Name == "nowallbang" then
  914. partmodifier = 100
  915. end
  916. if PartHit:FindFirstChild("PartModifier") then
  917. partmodifier = PartHit.PartModifier.Value
  918. end
  919. local fakehit, Endposition = workspace:FindPartOnRayWithWhitelist(Ray.new(PositionHit + direction * 1, direction * -2), {PartHit}, true)
  920. local PenetrationDistance = (Endposition - PositionHit).magnitude
  921. PenetrationDistance = PenetrationDistance * partmodifier
  922. limit = math.min(penetrationpower, limit + PenetrationDistance)
  923. local wallbang = false
  924. if partpenetrated >= 1 then
  925. wallbang = true
  926. end
  927. if PartHit and PartHit.Parent and PartHit.Parent.Name == "Hitboxes" or PartHit and PartHit.Parent.className == "Accessory" or PartHit and PartHit.Parent.className == "Hat" or PartHit.Name == "HumanoidRootPart" and PartHit.Parent.Name ~= "Door" or PartHit.Name == "Head" and PartHit.Parent:FindFirstChild("Hostage") == nil then
  928. else
  929. if PartHit and PartHit:IsDescendantOf(c) and PartHit.Transparency < 1 or PartHit.Name == "HeadHB" then
  930. return PartHit, PositionHit, damagemodifier, wallbang
  931. end
  932. end
  933. if partmodifier > 0 then
  934. partpenetrated = partpenetrated + 1
  935. end
  936. damagemodifier = 1 - limit / penetrationpower
  937. if PartHit and PartHit.Parent and PartHit.Parent.Name == "Hitboxes" or PartHit and PartHit.Parent and PartHit.Parent.Parent and PartHit.Parent.Parent:FindFirstChild("Humanoid2") or PartHit and PartHit.Parent and PartHit.Parent:FindFirstChild("Humanoid2") or PartHit and PartHit.Parent and PartHit.Parent:FindFirstChild("Humanoid") and (1 > PartHit.Transparency or PartHit.Name == "HeadHB") and PartHit.Parent:IsA("Model") then
  938. table.insert(hitlist, PartHit.Parent)
  939. else
  940. table.insert(hitlist, PartHit)
  941. end
  942. end
  943. until PartHit == nil or limit >= penetrationpower or partpenetrated >= 4 or 0 >= damagemodifier
  944. end
  945.  
  946. function MathforArrows(vector, abspos)
  947. --Get the directional vector between your arrow and the object by using
  948. --Euclidean vectors & Pythagoras theorem in our calculations.
  949. local x1,y1 = vector.X,vector.Y
  950. local x2,y2 = abspos.X, abspos.Y
  951. local xlength,ylength,zlength = x1-x2,y1-y2,vector.Z
  952. local hypotenuse = math.sqrt(xlength*xlength + ylength*ylength)
  953. local UnitX,UnitY,UnitZ = xlength/hypotenuse, ylength/hypotenuse,zlength/hypotenuse
  954. local Normalized2dDirection = Vector3.new(UnitX,-UnitY,UnitZ)
  955.  
  956. --Calculate the angle.
  957. --We assume the default arrow position at 0° is "up"
  958. local angle = math.deg(math.acos(Normalized2dDirection:Dot(Camera.CFrame.UpVector)))
  959.  
  960. --Use the cross product to determine if the angle is clockwise
  961. --or anticlockwise
  962. local cross = Normalized2dDirection:Cross(Camera.CFrame.UpVector)
  963. return math.sign(cross.Z) * angle
  964. end
  965.  
  966. function getRealCameraVector(v)
  967. return v.HumanoidRootPart.CFrame.p + v.Humanoid.CameraOffset + Vector3.new(0, 1.5, 0)
  968. end
  969.  
  970. function RainbowColor(speed, saturation, brightness)
  971. if speed == nil then
  972. speed = 3
  973. end
  974. if saturation == nil then
  975. saturation = 0.5
  976. end
  977. if brightness == nil then
  978. brightness = 1
  979. end
  980. return Color3.fromHSV(math.sin((tick() / (3/speed)) % 1), saturation, brightness)
  981. end
  982.  
  983. -- ON HIT FUNCTIONS
  984.  
  985. lastHit = nil
  986. HitFunctions = {}
  987. HitlogFrame = nil
  988.  
  989. do --CREATE HITLOGS (LEGACY CREATION)
  990. local Frame = Instance.new("Frame")
  991. local UIListLayout = Instance.new("UIListLayout")
  992.  
  993. Frame.Parent = library.base
  994. Frame.BackgroundTransparency = 1
  995. Frame.Position = UDim2.new(0.005, 0, 0, 0)
  996. Frame.Size = UDim2.new(0, 91, 0, 100)
  997.  
  998. UIListLayout.Parent = Frame
  999. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  1000.  
  1001. HitlogFrame = Frame
  1002. end
  1003.  
  1004. function OnHit(name, damage)
  1005. HitFunctions.Hitsound(name, damage)
  1006. HitFunctions.Hitmarker(name, damage)
  1007. HitFunctions.Hitlog(name, damage)
  1008. HitFunctions.History(name, damage)
  1009. end
  1010.  
  1011. spawn(function()
  1012. Player:WaitForChild("DamageLogs").ChildAdded:Connect(function(hit)
  1013. local DMG = hit:WaitForChild("DMG")
  1014. local lastdmg = 0
  1015. local function HitHook()
  1016. OnHit(hit.Name, DMG.Value-lastdmg)
  1017. lastdmg = DMG.Value
  1018. --[[
  1019. if Settings.Killsay then
  1020. if Services.Players[hit.Name].Status.Alive.Value then
  1021. Services.Players[hit.Name].Status.Alive:GetPropertyChangedSignal("Value"):Wait()
  1022. end
  1023. Chat(Settings.Chat2:gsub("{}", hit.Name))
  1024. end]]
  1025. end
  1026. HitHook()
  1027. DMG:GetPropertyChangedSignal("Value"):Connect(function()
  1028. HitHook()
  1029. end)
  1030. end)
  1031. end)
  1032.  
  1033. local Defaults = {}
  1034. local Events = Services.ReplicatedStorage.Events
  1035. -- AIMBOT {
  1036. local default_debounce = false
  1037. local Aimbots = {}
  1038. local Priorities = {
  1039. Legit = {
  1040. ["Left Arm"] = 1,
  1041. ["Right Arm"] = 1,
  1042. ["Head"] = 2,
  1043. ["Torso"] = 2,
  1044. ["Left Leg"] = 0,
  1045. ["Right Leg"] = 0
  1046. },
  1047. Rage = {
  1048. ["Left Arm"] = 1,
  1049. ["Right Arm"] = 1,
  1050. ["Head"] = 3,
  1051. ["Torso"] = 2,
  1052. ["Left Leg"] = 0,
  1053. ["Right Leg"] = 0
  1054. },
  1055. Override = {
  1056. ["Left Arm"] = 1,
  1057. ["Right Arm"] = 1,
  1058. ["Head"] = 2,
  1059. ["Torso"] = 3,
  1060. ["Left Leg"] = 0,
  1061. ["Right Leg"] = 0
  1062. }
  1063. }
  1064. TargetAimpoint = nil
  1065. meta = getrawmetatable(game)
  1066.  
  1067. for tab,prefix in pairs({"Legit", "Rage"}) do
  1068. Aimbots[prefix] = {}
  1069. local Aimbot = Exploits:CreateTab(prefix.."bot")
  1070. local AimbotTab = Aimbot:AddLocalTab(prefix.." Aimbot Settings")
  1071.  
  1072. local Default = AimbotTab:AddToggle("Default", false, function(b)
  1073. if b and default_debounce then
  1074. default_debounce = false
  1075. for i,v in pairs(Defaults) do
  1076. if prefix ~= i then
  1077. v:SetToggle(false)
  1078. end
  1079. end
  1080. default_debounce = true
  1081. DefaultAimbot = prefix
  1082. end
  1083. if not b and default_debounce then
  1084. default_debounce = false
  1085. Defaults[prefix]:SetToggle(true)
  1086. default_debounce = true
  1087. end
  1088. end)
  1089.  
  1090. Defaults[prefix] = Default
  1091.  
  1092. local AimbotTarget = AimbotTab:AddDropdown("Target", 1,
  1093. {"Closest to Crosshair", "Crosshair or Nearest (360°)", "All Threats (360°)"}
  1094. )
  1095.  
  1096. Aimbots[prefix][1] = AimbotTarget
  1097.  
  1098. if prefix == "Legit" then
  1099. local TB = Aimbot:AddLocalTab("Triggerbot")
  1100. local TriggerbotMode = TB:AddDropdown("Mode", 3,
  1101. {"Enabled", "On Key", "Disabled"}
  1102. )
  1103.  
  1104. local TriggerbotDelay = TB:AddSlider("Delay", 100, 0)
  1105.  
  1106. local Triggerkey = TB:AddKeybind("Triggerbot key", nil, nil, true)
  1107.  
  1108. local debounce = false
  1109.  
  1110. local function Shoot()
  1111. if TriggerbotDelay.value ~= 0 then
  1112. wait(TriggerbotDelay.value)
  1113. end
  1114. if not debounce and not Studio then
  1115. mouse1press()
  1116. wait(0.04)
  1117. mouse1release()
  1118. end
  1119. end
  1120.  
  1121. RS:connect(function()
  1122. debounce = true
  1123. if Mouse.Target and TriggerbotMode.value == "Enabled" or (TriggerbotMode.value == "On Key" and Triggerkey.holding) and isAlive(Player) then
  1124. local OtherHuman = Mouse.Target.Parent
  1125. if OtherHuman:IsDescendantOf(Backtrack) then
  1126. Shoot()
  1127. debounce = false
  1128. return
  1129. end
  1130. local OtherPlayer = Services.Players:FindFirstChild(OtherHuman.Name)
  1131. if not OtherPlayer then
  1132. debounce = false
  1133. return
  1134. end
  1135. if OtherPlayer.Team == Player.Team then
  1136. debounce = false
  1137. return
  1138. end
  1139. Shoot()
  1140. end
  1141. debounce = false
  1142. end)
  1143. end
  1144.  
  1145. do
  1146. local Backtrack = Aimbot:AddLocalTab("Backtrack")
  1147. local Enabled = Backtrack:AddToggle("Enabled", false)
  1148. local Length = Backtrack:AddSlider("Backtrack Length", 2000, 500)
  1149. local Color = Backtrack:AddCP("Backtrack Color", Color3.new(0,0.5,1), nil, 0)
  1150. local Rainbow = Backtrack:AddToggle("Backtrack Rainbow", false)
  1151.  
  1152. Aimbots[prefix][4] = function(target)
  1153. if not Enabled.state then return end
  1154. local bss = BacktrackSample:clone()
  1155. for _,o in pairs(target.Character:GetChildren()) do
  1156. local p = bss:FindFirstChild(o.Name)
  1157. if p then
  1158. p.Name = "nowallbang"
  1159. p.CFrame = o.CFrame
  1160. if not Rainbow.value then
  1161. p.Color = Color.color
  1162. else
  1163. p.Color = RainbowColor(2,1,1)
  1164. end
  1165. p.Transparency = Color.alpha
  1166. local br = Instance.new("ObjectValue", p)
  1167. br.Name = "PT"
  1168. br.Value = o
  1169. end
  1170. end
  1171. bss.Parent = Backtrack
  1172. Services.Debris:AddItem(bss, Length.value/1000)
  1173. end
  1174. end
  1175. local AimSettings = {}
  1176.  
  1177. for i,v in pairs(( prefix == "Legit" and {"Aim Assist", "Silent Aim"} ) or {"Silent Aim"}) do
  1178. local AimbotTab = Aimbot:AddLocalTab(v)
  1179. local AimbotMode = AimbotTab:AddDropdown("Mode", 3,
  1180. {"Enabled", "On Key", "Disabled"}
  1181. )
  1182.  
  1183.  
  1184. if v == "Aim Assist" then
  1185. AimSettings.Smoothness = AimbotTab:AddSlider("Smoothness", 100, 50)
  1186. AimSettings.VSmoothness = AimbotTab:AddSlider("Smoothness Variance", 100, 10)
  1187. AimSettings.AimJitter = AimbotTab:AddSlider("Aim Jitter", 20, 8)
  1188. AimSettings.WhenShooting = AimbotTab:AddToggle("Assist only when shooting", false)
  1189. AimSettings.VisualIndicator = AimbotTab:AddToggle("Show visual indicator", true)
  1190. else
  1191. AimSettings.AimbotHook = AimbotTab:AddDropdown("Hooking Method", 1,
  1192. {"Camera Hooking (Legit)", "Raycast Hooking (HvH)", "Hitpart Hooking (Rage)"}
  1193. )
  1194. end
  1195.  
  1196. local FOVToggle = AimbotTab:AddToggle("Limit to AimFOV", true)
  1197. local FOVCircle = {Visible = false, Filled = false, Transparency = 1, Color = Color3.new(), Thickness = 0, Radius = 0, Position = nil}
  1198. local FOV = AimbotTab:AddSlider("AimFOV in pixels", 200, 50, function(r)
  1199. FOVCircle.Radius = r
  1200. end)
  1201. if not Studio then
  1202. FOVCircle = Drawing.new("Circle")
  1203. local ViewportSize = Camera.ViewportSize
  1204. FOVCircle.Position = ViewportSize / 2
  1205. end
  1206.  
  1207. AimbotTab:AddToggle("FOV Circle Enabled", false, function(b)
  1208. FOVCircle.Visible = b
  1209. end)
  1210.  
  1211. AimbotTab:AddToggle("FOV Circle Filled", false, function(b)
  1212. FOVCircle.Filled = b
  1213. end)
  1214.  
  1215. AimbotTab:AddCP("FOV Circle Color", (v == "Aim Assist" and Color3.new(0,0.5,1)) or Color3.fromRGB(70, 0, 255), function(c3, alpha)
  1216. if alpha then
  1217. FOVCircle.Transparency = 1-alpha
  1218. end
  1219. FOVCircle.Color = c3
  1220. end, 0)
  1221.  
  1222. AimbotTab:AddSlider("FOV Circle Thickness", 5, 1, function(v)
  1223. FOVCircle.Thickness = v
  1224. end)
  1225.  
  1226.  
  1227. local Aimkey = AimbotTab:AddKeybind("Aimkey", nil, nil, true)
  1228.  
  1229. local theText = SkeetText(v.."ing", function()
  1230. return (Aimkey.holding and 1) or 0
  1231. end)
  1232.  
  1233. local AimSkeet = AimbotTab:AddToggle("Aimkey Text", false, function(b)
  1234. theText:SetVisibility(b)
  1235. end)
  1236.  
  1237. if v == "Silent Aim" then
  1238. Aimbots[prefix][2] = function(target, distance) --Silent Aim
  1239. if AimbotMode.value == "Disabled" then return end
  1240. if FOVToggle.state and distance > FOV.value then return end -- Check if FOV is good
  1241. if AimbotMode.value == "On Key" and not Aimkey.holding then return end -- Check if Aimkey down if On Key is enabled
  1242.  
  1243. local Character = target.Character
  1244. local Aimpoints = {}
  1245.  
  1246. for i,v in pairs(FromSimplified) do
  1247. local Points = {Character[v].Position}
  1248. local Ignore = {Camera, Character, Player.Character}
  1249. local Visible = #Camera:GetPartsObscuringTarget(Points, Ignore) == 0
  1250.  
  1251. if Visible or (v == "Silent Aim" and AimSettings.AimbotHook.value == "Hitpart Hooking (Rage)") then
  1252. table.insert(Aimpoints, {i, Character[v].Position, Character[v]})
  1253. end
  1254. end
  1255.  
  1256. table.sort(Aimpoints, function(a, b)
  1257. return Priorities[prefix][a[1]] > Priorities[prefix][b[1]]
  1258. end)
  1259.  
  1260. if #Aimpoints > 0 then
  1261. TargetAimpoint = {Aimpoints[1], AimSettings.AimbotHook.value}
  1262. end
  1263. end
  1264. else
  1265. Aimbots[prefix][3] = function(target, distance) --Aim Assist
  1266. if Studio then return end
  1267. if AimbotMode.value == "Disabled" then return end
  1268. if FOVToggle.state and distance > FOV.value then return end -- Check if FOV is good
  1269. if AimbotMode.value == "On Key" and not Aimkey.holding then return end -- Check if Aimkey down if On Key is enabled
  1270. if AimSettings.WhenShooting.state and not Services.UserInputService:IsMouseButtonPressed(0) then return end -- Check if holding mouse1 down if "Assist when shooting" is toggled
  1271. --if Environment.reloadani.IsPlaying or Environment.reloadani1.IsPlaying or Environment.equipani.IsPlaying then return end
  1272.  
  1273. local Character = target.Character
  1274. local Aimpoints = {}
  1275.  
  1276. for i,v in pairs(FromSimplified) do
  1277. local Points = {Character[v].Position}
  1278. local Ignore = {Camera, Character, Player.Character}
  1279. local Visible = #Camera:GetPartsObscuringTarget(Points, Ignore) == 0
  1280.  
  1281. if Visible then
  1282. table.insert(Aimpoints, {i, Character[v].Position})
  1283. end
  1284. end
  1285.  
  1286. table.sort(Aimpoints, function(a, b)
  1287. return Priorities[prefix][a[1]] > Priorities[prefix][b[1]]
  1288. end)
  1289.  
  1290. if #Aimpoints > 0 then
  1291. local Aimpoint = Aimpoints[1]
  1292. if AimSettings.VisualIndicator.state then
  1293. Aimmarker.Parent = library.base
  1294. local ScreenPoint, OnScreen = Camera:WorldToScreenPoint(Aimpoint[2])
  1295. Aimmarker.Position = UDim2.new(0, ScreenPoint.X, 0, ScreenPoint.Y)
  1296. end
  1297. local RandomJitter = Vector2.new(math.random()-.5, math.random()-.5)
  1298. local AimJ = AimSettings.AimJitter.value/14
  1299. local Goal = CFrame.new(getRealCameraVector(Player.Character), Aimpoint[2]) * CFrame.Angles(math.rad(RandomJitter.X * AimJ), math.rad(RandomJitter.Y * AimJ), 0)
  1300. local Smoothing = AimSettings.Smoothness.value
  1301. local Variance = (math.random()-.5) * AimSettings.VSmoothness.value
  1302. Smoothing = Smoothing + Variance
  1303. if Smoothing < 0 then
  1304. Smoothing = 0
  1305. elseif Smoothing > 100 then
  1306. Smoothing = 100
  1307. end
  1308. Camera.CFrame = Camera.CFrame:lerp(Goal, 1-(Smoothing / 100))
  1309. end
  1310. end
  1311. end
  1312. end
  1313.  
  1314. if prefix == "Rage" then
  1315. ASTab = Aimbot:AddLocalTab("Auto-shoot")
  1316. ASTab:AddToggle("Auto-shoot", false)
  1317. ASTab:AddToggle("Autowall", false)
  1318. end
  1319.  
  1320. --[[
  1321. ASTab:AddSlider("Minimum Damage (Visible)", 100, Settings[prefix].MinVisibleDamage, function(d)
  1322. Settings[prefix].MinVisibleDamage = d
  1323. end)
  1324.  
  1325. ASTab:AddSlider("Minimum Damage (Autowall)", 100, Settings[prefix].MinAWDamage, function(d)
  1326. Settings[prefix].MinAWDamage = d
  1327. end)]]
  1328. end
  1329.  
  1330. SkinChanged = false
  1331. picking = false
  1332. default_debounce = true
  1333. Defaults[DefaultAimbot]:SetToggle(true)
  1334.  
  1335. if not Studio then
  1336. indexed = hookfunction(meta.__index, function(self, key)
  1337. local callerScript = rawget(getfenv(0), "script")
  1338. callerScript = typeof(callerScript) == "Instance" and callerScript or nil
  1339.  
  1340. local ta = TargetAimpoint
  1341. if ta and ta[2] == "Camera Hooking (Legit)" and self == Camera and (key == "CFrame" or key == "CoordinateFrame") then
  1342. local Goal = CFrame.new(getRealCameraVector(Player.Character), ta[1][2])
  1343. return Goal
  1344. end
  1345.  
  1346. return indexed(self, key)
  1347. end)
  1348.  
  1349. newindex = hookfunction(meta.__newindex, function(self, key, value)
  1350. if ZoomScope and self == Camera and key == "FieldOfView" and not checkcaller() then
  1351. return
  1352. end
  1353. return newindex(self, key, value)
  1354. end)
  1355.  
  1356. namecall = hookfunction(meta.__namecall, function(self, ...)
  1357. local method = getnamecallmethod()
  1358. local args = {...}
  1359. local ta = TargetAimpoint
  1360.  
  1361. if method == "FireServer" and self.Name == "DataEvent" and SkinChanged then
  1362. request = args[1]
  1363. Team = request[2]
  1364. Gun = request[3]
  1365. Real = request[4][1]
  1366. local ctfolder = Player.SkinFolder.CTFolder
  1367. local tfolder = Player.SkinFolder.TFolder
  1368. if Team == "CT" or Team == "Both" then
  1369. for a,b in pairs(ctfolder:GetChildren()) do
  1370. if b.Name == "Knife" and Gun == "Gut Knife" or Gun == "Butterfly Knife" or Gun == "Falchion Knife" or Gun == "Bayonet" or Gun == "Huntsman Knife" or Gun == "Karambit" or Gun == "Banana" or Gun == "Flip Knife" or Gun == "Bearded Axe" or Gun == "Sickle" or Gun == "Cleaver" then
  1371. local getskin = Real:split("_")
  1372. delay(1, function()
  1373. b.Value = getskin[2]
  1374. end)
  1375. elseif b.Name == Gun then
  1376. local getskin = Real:split("_")
  1377. delay(1, function()
  1378. b.Value = getskin[2]
  1379. end)
  1380. end
  1381. end
  1382. end
  1383. if Team == "T" or Team == "Both" then
  1384. for c,d in pairs(tfolder:GetChildren()) do
  1385. if d.Name == "Knife" and Gun == "Gut Knife" or Gun == "Butterfly Knife" or Gun == "Falchion Knife" or Gun == "Bayonet" or Gun == "Huntsman Knife" or Gun == "Karambit" or Gun == "Banana" or Gun == "Flip Knife" or Gun == "Bearded Axe" or Gun == "Sickle" or Gun == "Cleaver" then
  1386. local getskin = Real:split("_")
  1387. delay(1, function()
  1388. d.Value = getskin[2]
  1389. end)
  1390. elseif d.Name == Gun then
  1391. local getskin = Real:split("_")
  1392. delay(1, function()
  1393. d.Value = getskin[2]
  1394. end)
  1395. end
  1396. end
  1397. end
  1398. end
  1399.  
  1400. if method == "InvokeServer" and self.Name == "Hugh" then
  1401. return
  1402. elseif method == "FireServer" and string.find(self.Name ,'{') then
  1403. return
  1404. end
  1405.  
  1406. if method == "FireServer" and self.Name == "PlantC4" and AntidefuseT then
  1407. args[1] = Player.Character.HumanoidRootPart.CFrame + Vector3.new(0,-10,0)
  1408. args[2] = ""
  1409. end
  1410.  
  1411. if method == "FindFirstChild" and args[1] == "Equipment2" and PickupCT and not picking and Environment.gun.Name ~= "C4" then
  1412. return nil
  1413. end
  1414.  
  1415. if ta then
  1416. if method == "FindPartOnRayWithIgnoreList" and ta[2] == "Raycast Hooking (HvH)" and args[2][7] and args[2][7].Name == "HumanoidRootPart" then
  1417. local Goal = ta[1][2]
  1418. local Start = getRealCameraVector(Player.Character)
  1419. args[1] = Ray.new(Start, (Goal - Start).unit * 500)
  1420. end
  1421. if method == "FireServer" and self.Name == "HitPart" and ta[2] == "Hitpart Hooking (Rage)" then
  1422. args[1] = ta[1][3]
  1423. args[2] = ta[1][2]
  1424. end
  1425. end
  1426. pcall(function()
  1427. if method == "FireServer" and self.Name == "HitPart" then
  1428. Beam(getRealCameraVector(Player.Character), args[2], getBSARGS())
  1429. if ToSimplified[args[1].Name] then -- CHECK IF HIT
  1430. lastHit = {
  1431. Part = args[1],
  1432. Wallbang = args[10],
  1433. EstimatedDamage = args[8] * Environment.gun.DMG.Value,
  1434. Position = args[2]
  1435. }
  1436. end
  1437. end
  1438. end)
  1439.  
  1440. return namecall(self, unpack(args))
  1441. end)
  1442. end
  1443.  
  1444. -- AIMBOT }
  1445.  
  1446. function FindTarget()
  1447. local Results = {}
  1448. for i,prefix in pairs({"Legit", "Rage"}) do
  1449. local Target, Distance
  1450. local DetectionMethod = Aimbots[prefix][1].value
  1451. if DetectionMethod == "All Threats (360°)" then
  1452. Target, Distance = GetThreat(prefix)
  1453. if Target then
  1454. Results[prefix] = {Target, Distance}
  1455. end
  1456. else
  1457. Target, Distance = GetClosestToCrosshair(prefix)
  1458. if Target then
  1459. Results[prefix] = {Target, Distance}
  1460. end
  1461. if not Target and DetectionMethod == "Crosshair or Nearest (360°)" then
  1462. Target, Distance = GetNearest(prefix)
  1463. if Target then
  1464. Results[prefix] = {Target, Distance}
  1465. end
  1466. end
  1467. end
  1468. end
  1469.  
  1470. local Rage = Results["Rage"]
  1471. local Legit = Results["Legit"]
  1472. if Rage then
  1473. return Rage[1], Rage[2], "Rage"
  1474. elseif Legit then
  1475. return Legit[1], Legit[2], "Legit"
  1476. end
  1477. end
  1478.  
  1479. if not Studio then
  1480. -- HOOK FIREBULLET
  1481. firebullet = hookfunction(Environment.firebullet, function()
  1482. -- TARGET SELECTION
  1483. local Target, Distance, prefix = FindTarget()
  1484. if not Target then
  1485. return firebullet()
  1486. end
  1487.  
  1488. Aimbots[prefix][2](Target, Distance)
  1489. firebullet()
  1490. TargetAimpoint = nil
  1491. end)
  1492.  
  1493. -- HOOK PICKUP
  1494. pickup = hookfunction(Environment.pickup, function(...)
  1495. picking = true
  1496. pickup(...)
  1497. picking = false
  1498. end)
  1499. end
  1500.  
  1501. -- BEGIN AIMBOT LOOP
  1502. RS:Connect(function()
  1503. Aimmarker.Parent = nil
  1504. if not isAlive(Player) then return end
  1505. -- TARGET SELECTION
  1506. local Target, Distance, prefix = FindTarget()
  1507. if not Target then return end
  1508.  
  1509. Aimbots[prefix][3](Target, Distance)
  1510. end)
  1511. -- END AIMBOT LOOP
  1512.  
  1513. -- BEGIN BACKTRACK LOOP
  1514. local BSSTEPS = 0
  1515. RS:connect(function()
  1516. if not isAlive(Player) then return end
  1517. BSSTEPS = BSSTEPS + 1
  1518. if not (BSSTEPS % 7 == 0) then return end
  1519. Enemies(function(v)
  1520. if not isAlive(v) then return end
  1521. local status = GetStatus(v)
  1522. Aimbots[status][4](v)
  1523. end)
  1524. end)
  1525.  
  1526. -- END BACKTRACK LOOP
  1527.  
  1528. -- ANTIAIM {
  1529. do
  1530. local Pitch2Deg = function(x) return (x*36)+180 end
  1531. local Deg2Pitch = function(x) return (x-180)/36 end
  1532.  
  1533. local Antiaim = Exploits:CreateTab("Antiaim")
  1534.  
  1535. local Core = Antiaim:AddLocalTab("Core")
  1536. local Enabled = Core:AddToggle("Enabled", false)
  1537. local UntrustedPitch = Core:AddToggle("Allow Untrusted Pitch", false)
  1538.  
  1539. local BasePitch = Core:AddSlider("Base Pitch", 360, 180)
  1540. local BaseYaw = Core:AddSlider("Base Yaw", 360, 0)
  1541.  
  1542. local Mode = Core:AddDropdown("Mode", 1, {"Manual", "Autodirection"})
  1543. local Direction = ""
  1544. local Defaults = {Left = Enum.KeyCode.Z, Back = Enum.KeyCode.X, Right = Enum.KeyCode.C}
  1545. for i,name in pairs({"Left", "Back", "Right"}) do
  1546. key = Defaults[name]
  1547. Core:AddKeybind(name, key, function()
  1548. if Mode.value == "Manual" then
  1549. if Direction == name then
  1550. Direction = ""
  1551. else
  1552. Direction = name
  1553. end
  1554. end
  1555. end)
  1556. end
  1557.  
  1558. local Jitters = {}
  1559. for i,v in pairs({"Pitch", "Yaw"}) do
  1560. Jitters[v] = 0
  1561. local JD = false
  1562. local JR = false
  1563.  
  1564. local Jitter = Antiaim:AddLocalTab(v.." Jitter")
  1565.  
  1566. local JS = Jitter:AddSlider("Jitter Speed", 90, 2)
  1567.  
  1568. local JR = Jitter:AddSlider("Jitter Range", 360, 45)
  1569.  
  1570. Jitter:AddKeybind("Inverse Direction", nil, function()
  1571. JD = not JD
  1572. end, false)
  1573.  
  1574. Jitter:AddKeybind("Inverse Rotation", nil, function()
  1575. JR = not JR
  1576. end, false)
  1577.  
  1578. -- __HEADER
  1579. local abs = math.abs
  1580.  
  1581. local PosJitter = 0
  1582. RS:connect(function()
  1583. if JD then
  1584. PosJitter = (PosJitter - JS.value) % (JR.value+1)
  1585. else
  1586. PosJitter = (PosJitter + JS.value) % (JR.value+1)
  1587. end
  1588. if JR then
  1589. Jitters[v] = -abs(PosJitter)
  1590. else
  1591. Jitters[v] = PosJitter
  1592. end
  1593. end)
  1594. end
  1595.  
  1596. do
  1597. local _f
  1598. local function Closure()
  1599. if _f then
  1600. _f()
  1601. end
  1602. end
  1603.  
  1604. local ManualVis = Antiaim:AddLocalTab("Manual Visual Indicator")
  1605.  
  1606. local Enabled = ManualVis:AddToggle("Enabled", false, Closure)
  1607. local Color = ManualVis:AddCP("Color", Color3.new(1,0.5,0), Closure, 0.7)
  1608. local Size = ManualVis:AddSlider("Arrow Size", 200, 50, Closure)
  1609. local Bounds = ManualVis:AddSlider("Bounds", 1000, 400, Closure)
  1610.  
  1611. local Arrow
  1612. local Arrow
  1613. local Changed = false
  1614.  
  1615. _f = function()
  1616. Changed = true
  1617. end
  1618.  
  1619. RS:connect(function()
  1620. if not Enabled.state then
  1621. if Arrow then Arrow.Marker.ImageTransparency = 1 end
  1622. return
  1623. end
  1624.  
  1625. if not isAlive(Player) then
  1626. if Arrow then Arrow.Marker.ImageTransparency = 1 end
  1627. return
  1628. end
  1629.  
  1630. if not Arrow or Changed then
  1631. if Arrow then
  1632. Arrow:Destroy()
  1633. Arrow = nil
  1634. end
  1635. Arrow = CreateArrows(Color.color, Color.alpha, Size.value, Bounds.value)
  1636. Arrow.Parent = library.base
  1637. Changed = false
  1638. end
  1639.  
  1640. if Direction == "" then
  1641. if Arrow then Arrow.Marker.ImageTransparency = 1 end
  1642. else
  1643. Arrow.Marker.ImageTransparency = Color.alpha
  1644. if Direction == "Right" then
  1645. Arrow.Rotation = 90
  1646. elseif Direction == "Back" then
  1647. Arrow.Rotation = 180
  1648. elseif Direction == "Left" then
  1649. Arrow.Rotation = 270
  1650. end
  1651. end
  1652. end)
  1653. end
  1654.  
  1655. local Visuals = Antiaim:AddLocalTab("Visuals")
  1656.  
  1657. for i,v in pairs({"Pitch", "Yaw"}) do
  1658.  
  1659. -- __HEADER
  1660. local abs = math.abs
  1661. local text = SkeetText(v.." Jitter", function()
  1662. return abs(Jitters[v])/360
  1663. end)
  1664. Visuals:AddToggle(v.." Jitter Text", false, function(b)
  1665. text:SetVisibility(b)
  1666. end)
  1667. end
  1668.  
  1669. local Exploits = Antiaim:AddLocalTab("Exploits")
  1670. Invisibility = Exploits:AddToggle("Become Invisible", false)
  1671. DestroyHead = Exploits:AddToggle("Remove Head", false)
  1672. end
  1673. -- ANTIAIM }
  1674.  
  1675. -- GAME CHEATS {
  1676. do
  1677. local GameCheats = Exploits:CreateTab("Game Cheats")
  1678. end
  1679. -- GAME CHEATS }
  1680.  
  1681. -- SKINS
  1682.  
  1683. local OldInventory = Environment.CurrentInventory
  1684. local Skin = {}
  1685. local SortedSkins = {}
  1686. do
  1687. local addSkin = function(name, value)
  1688. if not SortedSkins[name] then
  1689. SortedSkins[name] = {value}
  1690. else
  1691. table.insert(SortedSkins[name], value)
  1692. end
  1693. end
  1694.  
  1695. for i,v in pairs(Services.ReplicatedStorage.Skins:GetChildren()) do
  1696. for a,b in pairs(v:GetChildren()) do
  1697. table.insert(Skin, {v.Name.. "_".. b.Name})
  1698. addSkin(v.Name, #Skin)
  1699. end
  1700. end
  1701.  
  1702. for i,v in pairs(Services.ReplicatedStorage.Gloves:GetChildren()) do
  1703. if v:FindFirstChild("Type") then
  1704. if v.Type.Value == "Wraps" then
  1705. table.insert(Skin,{"Handwraps_"..v.Name})
  1706. end
  1707. if v.Type.Value == "Sports" then
  1708. table.insert(Skin,{"Sports Glove_"..v.Name})
  1709. end
  1710. if v.Type.Value == "Fingerless" then
  1711. table.insert(Skin,{"Fingerless Glove_"..v.Name})
  1712. end
  1713. if v.Type.Value == "Straps" then
  1714. table.insert(Skin,{"Strapped Glove_"..v.Name})
  1715. end
  1716. end
  1717. end
  1718.  
  1719. table.insert(Skin,{"CTKnife_Stock"})
  1720. table.insert(Skin,{"TKnife_Stock"})
  1721.  
  1722. for i,v in pairs(Services.ReplicatedStorage.Skins:GetChildren()) do
  1723. if v.Name ~= "Flip Knife" and v.Name ~= "Bayonet" and v.Name ~= "Falchion Knife" and v.Name ~= "Karambit" and v.Name ~= "Huntsman Knife" and v.Name ~= "Banana" and v.Name ~= "Butterfly Knife" then
  1724. table.insert(Skin, {v.Name.. "_Stock"})
  1725. end
  1726. end
  1727. end
  1728.  
  1729. PickupCT = nil
  1730. AntidefuseT = nil
  1731. -- PLAYER CHEATS {
  1732. do
  1733. local PlayerCheats = Exploits:CreateTab("Player Cheats")
  1734. local Bunnyhopping = PlayerCheats:AddLocalTab("Bunnyhopping")
  1735. local Enabled = Bunnyhopping:AddToggle("Bunnyhopping", false)
  1736. local Autohop = Bunnyhopping:AddToggle("Autohop", false)
  1737. local Autostrafe = Bunnyhopping:AddToggle("Autostrafe", false)
  1738.  
  1739. speedupdate = hookfunction(Environment.speedupdate, function(...)
  1740. if Enabled.state then
  1741. Environment.landing = false
  1742. end
  1743. local Humanoid = Player.Character.Humanoid
  1744. if Services.UserInputService:IsKeyDown(Enum.KeyCode.Space) and Services.UserInputService:GetFocusedTextBox() == nil then
  1745. if Autohop.state then
  1746. Humanoid.Jump = true
  1747. end
  1748. if Autostrafe.state then
  1749. Humanoid.WalkSpeed = Humanoid.WalkSpeed + 0.1
  1750. return
  1751. end
  1752. end
  1753. return speedupdate(...)
  1754. end)
  1755.  
  1756. local Bomb = PlayerCheats:AddLocalTab("Bomb")
  1757. Bomb:AddToggle("Pick up Bomb as CT", false, function(b)
  1758. PickupCT = b
  1759. end)
  1760. local Instaplant = Bomb:AddToggle("Instaplant", false)
  1761. Bomb:AddToggle("Plant bomb into ground", false, function(b)
  1762. AntidefuseT = b
  1763. end)
  1764. local FakeDefuse = Bomb:AddToggle("Fake defuse", false)
  1765.  
  1766. spawn(function()
  1767. while wait() do
  1768. if FakeDefuse.state and Player.Status.Team.Value == "CT" then
  1769. local C4 = workspace:FindFirstChild("C4")
  1770. local RoundOver = workspace.Status.RoundOver
  1771. repeat wait() until RoundOver.Value or not isAlive(Player) or (C4.Handle.Position - Player.Character.UpperTorso.Position).magnitude <= 6
  1772. if not RoundOver.Value and isAlive(Player) then
  1773. local DTime = 10
  1774. if Player.Character:FindFirstChild("DKit") then
  1775. DTime = 5
  1776. end
  1777. repeat
  1778. Player.Backpack.PressDefuse:FireServer()
  1779. wait(DTime - 1)
  1780. Player.Backpack.ReleaseDefuse:FireServer()
  1781. wait()
  1782. until RoundOver.Value or not isAlive(Player)
  1783. end
  1784. end
  1785. end
  1786. end)
  1787. end
  1788. -- PLAYER CHEATS }
  1789.  
  1790. Visuals = library:CreateWindow("Visuals", nil, Vector2.new(540, 40))
  1791.  
  1792. function Beam(v1, v2, Enabled, Color, Thickness1, Thickness2, Transparency, Lifetime)
  1793. if not Enabled then return end
  1794. local b1 = Instance.new("Part", workspace["Ray_Ignore"])
  1795. b1.Size = Vector3.new(0.0001,0.0001,0.0001)
  1796. b1.Transparency = 1
  1797. b1.CanCollide = false
  1798. b1.CFrame = CFrame.new(v1)
  1799. b1.Anchored = true
  1800. local a1 = Instance.new("Attachment", b1)
  1801. local b2 = Instance.new("Part", workspace["Ray_Ignore"])
  1802. b2.Size = Vector3.new(0.0001,0.0001,0.0001)
  1803. b2.Transparency = 1
  1804. b2.CanCollide = false
  1805. b2.CFrame = CFrame.new(v2)
  1806. b2.Anchored = true
  1807. local a2 = Instance.new("Attachment", b2)
  1808. local b = Instance.new("Beam", b1)
  1809. b.FaceCamera = true
  1810. b.Attachment0 = a1
  1811. b.Attachment1 = a2
  1812. b.LightEmission = 1
  1813. b.LightInfluence = 0
  1814. b.Color = ColorSequence.new(Color)
  1815. b.Width0 = Thickness1 * 0.01
  1816. b.Width1 = Thickness2 * 0.01
  1817. b.Transparency = NumberSequence.new(Transparency)
  1818. delay(Lifetime/1000, function()
  1819. for i = Transparency,1,0.02 do
  1820. wait()
  1821. b.Transparency = NumberSequence.new(i)
  1822. end
  1823. b1:Destroy()
  1824. b2:Destroy()
  1825. end)
  1826. end
  1827.  
  1828. getBSARGS = nil
  1829. ZoomScope = nil
  1830.  
  1831. function dump(o)
  1832. if type(o) == 'table' then
  1833. local s = '{ '
  1834. for k,v in pairs(o) do
  1835. if type(k) ~= 'number' then k = '"'..k..'"' end
  1836. s = s .. '['..k..'] = ' .. dump(v) .. ','
  1837. end
  1838. return s .. '} '
  1839. else
  1840. return tostring(o)
  1841. end
  1842. end
  1843.  
  1844. -- VISUALS {
  1845. do
  1846. local UI = Visuals:CreateTab("Visuals")
  1847. do
  1848. local Tab = UI:AddLocalTab("Bullet Tracers")
  1849. local Enabled = Tab:AddToggle("Enabled", true)
  1850. local Thickness1 = Tab:AddSlider("Starting Thickness", 10, 2)
  1851. local Thickness2 = Tab:AddSlider("Ending Thickness", 10, 5)
  1852. local Color = Tab:AddCP("Color", Color3.new(1, 0.5, 0), nil, 0.7)
  1853. local Lifetime = Tab:AddSlider("Lifetime", 1000, 250)
  1854.  
  1855. getBSARGS = function()
  1856. return Enabled.state, Color.color, Thickness1.value, Thickness2.value, Color.alpha, Lifetime.value
  1857. end
  1858. end
  1859.  
  1860. do
  1861. local Tab = UI:AddLocalTab("Skin Unlocker (NOT FE)")
  1862. Tab:AddToggle("Enabled", false, function(b)
  1863. SkinChanged = b
  1864. if b then
  1865. Environment.CurrentInventory = Skin
  1866. else
  1867. Environment.CurrentInventory = OldInventory
  1868. end
  1869. end)
  1870. Tab:AddButton("Randomize Skins", function()
  1871. if SkinChanged then
  1872. local oldUpdate = Environment.GeneratePage
  1873. Environment.GeneratePage = function() end
  1874. for i,t in pairs({"T", "CT"}) do
  1875. for w,v in pairs(SortedSkins) do
  1876. local s = math.random(1, #v)
  1877. Environment.equipitem(v[s], t)
  1878. end
  1879. end
  1880. Environment.GeneratePage = oldUpdate
  1881. end
  1882. end)
  1883. end
  1884.  
  1885. do
  1886. local _f
  1887. local UpdateScope = function()
  1888. if _f then
  1889. _f()
  1890. end
  1891. end
  1892.  
  1893. local Scope = UI:AddLocalTab("Scope")
  1894. Scope:AddToggle("Don't Zoom In", false, function(b)
  1895. ZoomScope = b
  1896. end)
  1897. local ScopeDropdown = Scope:AddDropdown("Scope", 1, {"Default", "Remove All Black", "Stretch Scope"}, UpdateScope)
  1898.  
  1899. _f = function()
  1900. local bruh = Player.PlayerGui.GUI.Crosshairs
  1901. if ScopeDropdown.value == "Remove All Black" then
  1902. for i = 1,4 do
  1903. bruh["Frame"..i].BackgroundTransparency = 1
  1904. end
  1905. bruh.Scope.ImageTransparency = 1
  1906. else
  1907. for i = 1,4 do
  1908. bruh["Frame"..i].BackgroundTransparency = 0
  1909. end
  1910. bruh.Scope.ImageTransparency = 0
  1911. end
  1912. end
  1913. end
  1914.  
  1915. do
  1916. local Hitsounds = {
  1917. None = 0,
  1918. TF2 = 3455144981,
  1919. TF2_Squasher = 3466981613,
  1920. TF2_Retro = 3466984142,
  1921. TF2_Beepo = 3466987025,
  1922. TF2_Percussion = 3466985670,
  1923. TF2_Space = 3466982899,
  1924. TF2_Vortex = 3466980212,
  1925. TF2_Electro = 3458224686,
  1926. TF2_Note = 3466988045,
  1927. TF2_Panhit = 3431749479,
  1928. Body = 3213738472,
  1929. Body2 = 2729036768,
  1930. Thud = 3213739706,
  1931. Clink = 1347140027,
  1932. Skeet = 3124869783
  1933. }
  1934.  
  1935. local HitsoundsTable = {
  1936. "None",
  1937. "Skeet",
  1938. "TF2",
  1939. "TF2_Squasher",
  1940. "TF2_Retro",
  1941. "TF2_Beepo",
  1942. "TF2_Percussion",
  1943. "TF2_Space",
  1944. "TF2_Vortex",
  1945. "TF2_Electro",
  1946. "TF2_Note",
  1947. "TF2_Panhit",
  1948. "Body",
  1949. "Body2",
  1950. "Thud",
  1951. "Clink"
  1952. }
  1953.  
  1954. local Hit = UI:AddLocalTab("On hit")
  1955. local Hitmarker = Hit:AddToggle("Hitmarker", true)
  1956. local FollowHit = Hit:AddToggle("Hitmarker follow hit", false)
  1957. local Hitsound = Hit:AddDropdown("Hitsound", 1, HitsoundsTable)
  1958. local Hitlogs = Hit:AddToggle("Hitlogs", true)
  1959. local FontSize = Hit:AddSlider("Hitlog Font Size", 8, 2, nil)
  1960. local TextColor = Hit:AddCP("Hitlog Text Color", Color3.new(1,1,1), nil, 0)
  1961. local StrokeColor = Hit:AddCP("Hitlog Text Stroke Color", Color3.new(0,0,0), nil, 0)
  1962.  
  1963. HitFunctions.Hitsound = function()
  1964. local s = Instance.new("Sound")
  1965. s.Parent = workspace
  1966. s.SoundId = "rbxassetid://"..Hitsounds[Hitsound.value]
  1967. s.Volume = 4
  1968. s.PlayOnRemove = true
  1969. s:Destroy()
  1970. end
  1971.  
  1972. HitFunctions.Hitmarker = function()
  1973. if not Hitmarker.state then return end
  1974. local Line = Drawing.new("Line")
  1975. local Line2 = Drawing.new("Line")
  1976. local Line3 = Drawing.new("Line")
  1977. local Line4 = Drawing.new("Line")
  1978.  
  1979. local Color = Color3.new(1,1,1)--CurrentConfig().Hitmarker.Color()
  1980. local x, y
  1981. local pos = lastHit.Position
  1982. if FollowHit.state then
  1983. local vector, onScreen = Camera:WorldToViewportPoint(pos)
  1984. x, y = vector.X, vector.Y
  1985. else
  1986. local Size = Camera.ViewportSize
  1987. x, y = Size.X/2, Size.Y/2
  1988. end
  1989.  
  1990. Line.From = Vector2.new(x + 4, y + 4)
  1991. Line.To = Vector2.new(x + 10, y + 10)
  1992. Line.Color = Color
  1993. Line.Visible = true
  1994.  
  1995. Line2.From = Vector2.new(x + 4, y - 4)
  1996. Line2.To = Vector2.new(x + 10, y - 10)
  1997. Line2.Color = Color
  1998. Line2.Visible = true
  1999.  
  2000. Line3.From = Vector2.new(x - 4, y - 4)
  2001. Line3.To = Vector2.new(x - 10, y - 10)
  2002. Line3.Color = Color
  2003. Line3.Visible = true
  2004.  
  2005. Line4.From = Vector2.new(x - 4, y + 4)
  2006. Line4.To = Vector2.new(x - 10, y + 10)
  2007. Line4.Color = Color
  2008. Line4.Visible = true
  2009.  
  2010. Line.Transparency = 1
  2011. Line2.Transparency = 1
  2012. Line3.Transparency = 1
  2013. Line4.Transparency = 1
  2014.  
  2015. Line.Thickness = 1
  2016. Line2.Thickness = 1
  2017. Line3.Thickness = 1
  2018. Line4.Thickness = 1
  2019.  
  2020. spawn(function()
  2021. while Line ~= nil and FollowHit.state do
  2022. wait()
  2023. local vector, onScreen = Camera:WorldToViewportPoint(pos)
  2024. x, y = vector.X, vector.Y
  2025.  
  2026. Line.From = Vector2.new(x + 4, y + 4)
  2027. Line.To = Vector2.new(x + 10, y + 10)
  2028. Line.Color = Color
  2029. Line.Visible = true
  2030.  
  2031. Line2.From = Vector2.new(x + 4, y - 4)
  2032. Line2.To = Vector2.new(x + 10, y - 10)
  2033. Line2.Color = Color
  2034. Line2.Visible = true
  2035.  
  2036. Line3.From = Vector2.new(x - 4, y - 4)
  2037. Line3.To = Vector2.new(x - 10, y - 10)
  2038. Line3.Color = Color
  2039. Line3.Visible = true
  2040.  
  2041. Line4.From = Vector2.new(x - 4, y + 4)
  2042. Line4.To = Vector2.new(x - 10, y + 10)
  2043. Line4.Color = Color
  2044. Line4.Visible = true
  2045.  
  2046. if not onScreen then
  2047. Line.Transparency = 0
  2048. Line2.Transparency = 0
  2049. Line3.Transparency = 0
  2050. Line4.Transparency = 0
  2051. end
  2052. end
  2053. end)
  2054.  
  2055. wait(.3)
  2056. for i = 1,0,-.1 do
  2057. wait()
  2058. Line.Transparency = i
  2059. Line2.Transparency = i
  2060. Line3.Transparency = i
  2061. Line4.Transparency = i
  2062. end
  2063. Line:Remove()
  2064. Line2:Remove()
  2065. Line3:Remove()
  2066. Line4:Remove()
  2067. end
  2068.  
  2069. HitFunctions.Hitlog = function(name, damage)
  2070. if not Hitlogs.state then return end
  2071. local additive = ""
  2072. if lastHit then
  2073. additive = " at "..lastHit.Part.Name
  2074. if lastHit.Wallbang then
  2075. additive = additive.." through a wall"
  2076. end
  2077. local magnitude = (Mouse.Hit.p - lastHit.Position).magnitude
  2078. local accuracy = math.ceil(500/magnitude)
  2079. additive = additive.." ("..accuracy.."%)"
  2080. end
  2081.  
  2082. local TextLabel = Instance.new("TextLabel")
  2083. TextLabel.Parent = HitlogFrame
  2084. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2085. TextLabel.BackgroundTransparency = 1
  2086. TextLabel.Size = UDim2.new(0, 302, 0, 20)
  2087. TextLabel.Font = Enum.Font.Code
  2088. TextLabel.Text = "Hit "..name.." for "..damage..additive
  2089. TextLabel.TextColor3 = TextColor.color
  2090. TextLabel.TextTransparency = TextColor.alpha
  2091. TextLabel.TextSize = 12 + FontSize.value
  2092. TextLabel.TextStrokeColor3 = StrokeColor.color
  2093. TextLabel.TextStrokeTransparency = StrokeColor.alpha
  2094. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  2095.  
  2096. delay(5, function()
  2097. for i = 0,1,0.01 do
  2098. wait()
  2099. TextLabel.TextTransparency = TextColor.alpha + i
  2100. TextLabel.TextStrokeTransparency = StrokeColor.alpha + i
  2101. end
  2102. TextLabel:Destroy()
  2103. end)
  2104. end
  2105. end
  2106. end
  2107. -- VISUALS }
  2108.  
  2109. -- BASE ESP {
  2110. local Materials = {"None", "ForceField","Plastic","Wood","Slate","Concrete","CorrodedMetal","DiamondPlate","Foil","Grass","Ice","Marble","Granite","Brick","Pebble","Sand","Fabric","SmoothPlastic","Metal","WoodPlanks","Cobblestone","Neon","Glass"}
  2111. for i,v in pairs({"Enemy", "Ally"}) do
  2112. local Group = (v == "Enemy" and Enemies) or Allies
  2113. local Verification = (v == "Enemy" and IsEnemy) or IsAlly
  2114. local ESP = Visuals:CreateTab(v.." ESP", UDim2.new(0,0,1.8,0))
  2115.  
  2116. for i,category in pairs({"Wallhack", "Physical Model"}) do
  2117. local _f
  2118. local function Closure()
  2119. if _f then
  2120. for i,bruh in pairs(_f) do
  2121. bruh()
  2122. end
  2123. end
  2124. end
  2125.  
  2126. local Performance
  2127. local Tab = ESP:AddLocalTab(category)
  2128. local Enabled = Tab:AddToggle("Enabled", false, Closure)
  2129. if category == "Wallhack" then
  2130. Performance = Tab:AddToggle("Performance Mode", true)
  2131. end
  2132. local RemoveAccessories = Tab:AddToggle("Remove "..v.." Accessories", false, Closure)
  2133. local RemoveFaces = Tab:AddToggle("Remove "..v.." Faces", false, Closure)
  2134. local RemoveArms = Tab:AddToggle("Remove "..v.." Arms", false, Closure)
  2135. local Material = Tab:AddDropdown("Material", 1, Materials, Closure)
  2136. local ChangeColor = Tab:AddToggle("Change Color", false, Closure)
  2137. local ChangeTransparency = Tab:AddToggle("Change Transparency", false, Closure)
  2138. local Color = Tab:AddCP("Color", Color3.new(1,0.5,0), Closure, 0)
  2139.  
  2140. local function Modify(char)
  2141. for i,p in pairs(char:GetDescendants()) do
  2142. ModifyItem(p)
  2143. end
  2144. end
  2145.  
  2146. local function ModifyItem(p)
  2147. if RemoveFaces.state and p.Name == "face" then
  2148. p:Destroy()
  2149. end
  2150. if RemoveAccessories.state and (p:IsA("Accessory") or p:IsA("Clothing")) then
  2151. p:Destroy()
  2152. end
  2153. if p:IsA("BasePart") then
  2154. if Material.value ~= "None" then
  2155. p.Material = Enum.Material[Material.value]
  2156. end
  2157. if ChangeColor.state then
  2158. p.Color = Color.color
  2159. end
  2160. if ChangeTransparency.state and p.Name ~= "HumanoidRootPart" and p.Name ~= "Head" and p.Name ~= "HeadHB" then
  2161. p.Transparency = Color.alpha
  2162. end
  2163. if RemoveArms.state and (p.Name:find("Arm") or p.Name:find("Hand")) then
  2164. p.Transparency = 1
  2165. end
  2166. end
  2167. end
  2168.  
  2169. local Changed = false
  2170.  
  2171. _f = {}
  2172. table.insert(_f, function()
  2173. if not Enabled.state then return end
  2174. if category == "Physical Model" then
  2175. Group(function(v)
  2176. if isAlive(v) then
  2177. Modify(v.Character)
  2178. end
  2179. end)
  2180. else
  2181. Changed = true
  2182. end
  2183. end)
  2184.  
  2185. if category == "Physical Model" then
  2186. Players(function(v)
  2187. v.CharacterAdded:connect(function(c)
  2188. if not Verification(v) then return end
  2189. if Enabled.state then
  2190. Modify(c)
  2191. end
  2192. c.DescendantAdded:connect(function(p)
  2193. if not Enabled.state then return end
  2194. ModifyItem(p)
  2195. end)
  2196. end)
  2197. end, true)
  2198. else
  2199. Players(function(v)
  2200. local Steps = 0
  2201. local FakeCharacter
  2202. local Changed
  2203.  
  2204. table.insert(_f, function()
  2205. Changed = true
  2206. end)
  2207.  
  2208. RS:connect(function()
  2209. if not Verification(v) then
  2210. if FakeCharacter then FakeCharacter:Destroy() FakeCharacter = nil end
  2211. return
  2212. end
  2213.  
  2214. if not Enabled.state then
  2215. if FakeCharacter then FakeCharacter:Destroy() FakeCharacter = nil end
  2216. return
  2217. end
  2218.  
  2219. Steps = Steps + 1
  2220. if not Performance.state and Steps % 2 ~= 0 then
  2221. return
  2222. end
  2223.  
  2224. if not isAlive(v) then
  2225. if FakeCharacter then FakeCharacter:Destroy() FakeCharacter = nil end
  2226. return
  2227. end
  2228.  
  2229. local function CopyPosition(Fake, Real)
  2230. for i,Part in pairs(Fake:GetChildren()) do
  2231. if (Real:FindFirstChild(Part.Name)) then
  2232. if Part:IsA("BasePart") then
  2233. Part.CFrame = (Real:FindFirstChild(Part.Name).CFrame) or CFrame.new()
  2234. end
  2235. CopyPosition(Fake[Part.Name], Real[Part.Name])
  2236. end
  2237. end
  2238. end
  2239.  
  2240. local Character = v.Character
  2241. Character.Archivable = true
  2242. --Detect if visible
  2243. local Points = {Camera.CFrame.Position, Character.Head.Position}
  2244. local Ignore = {Camera, Character, Player.Character}
  2245. local ScreenPoint, OnScreen = Camera:WorldToScreenPoint(Character.Head.Position)
  2246. local Visible = #Camera:GetPartsObscuringTarget(Points, Ignore) > 0
  2247.  
  2248. if Visible and OnScreen then
  2249. if not FakeCharacter or Changed then
  2250. if FakeCharacter then
  2251. FakeCharacter = nil
  2252. end
  2253. FakeCharacter = Character:Clone()
  2254. FakeCharacter.Parent = ViewportFrame
  2255. Modify(FakeCharacter)
  2256. Changed = false
  2257. else
  2258. CopyPosition(FakeCharacter, Character)
  2259. end
  2260. elseif FakeCharacter then
  2261. FakeCharacter:Destroy()
  2262. FakeCharacter = nil
  2263. end
  2264. end)
  2265. end, true)
  2266. end
  2267. end
  2268.  
  2269. do
  2270. local LookBeams = ESP:AddLocalTab("Look Beams")
  2271. local Enabled = LookBeams:AddToggle("Enabled", false, nil)
  2272. local Performance = LookBeams:AddToggle("Performance Mode", false, nil)
  2273. local Color = LookBeams:AddCP("Color", Color3.new(1,1,1), nil, 0)
  2274. local DistanceLimit = LookBeams:AddSlider("Distance Limit", 50, 0, nil)
  2275. local Thickness = LookBeams:AddSlider("Thickness", 5, 0.1, nil, 0.1)
  2276.  
  2277. Players(function(v)
  2278. local Steps = 0
  2279. local Changed
  2280. local Line = Drawing.new("Line")
  2281.  
  2282. RS:connect(function()
  2283. if not Verification(v) then
  2284. Line.Visible = false
  2285. return
  2286. end
  2287.  
  2288. if not Enabled.state then
  2289. Line.Visible = false
  2290. return
  2291. end
  2292.  
  2293. Steps = Steps + 1
  2294. if Performance.state and Steps % 2 ~= 0 then
  2295. return
  2296. end
  2297.  
  2298. if not isAlive(v) then
  2299. Line.Visible = false
  2300. return
  2301. end
  2302.  
  2303. local CameraCF = v.CameraCF.Value
  2304. local Distance = (DistanceLimit.value == 0 and 300) or DistanceLimit.value
  2305. local ray = Ray.new(CameraCF.p, CameraCF.lookVector * Distance)
  2306. local part, hitPosition = workspace:FindPartOnRay(ray, v.Character)
  2307. local From, OnScreen1 = Camera:WorldToViewportPoint(CameraCF.p)
  2308. local To, OnScreen2 = Camera:WorldToViewportPoint(hitPosition)
  2309. if OnScreen1 and OnScreen2 then
  2310. Line.Visible = true
  2311. Line.Color = Color.color
  2312. Line.Transparency = 1-Color.alpha
  2313. Line.Thickness = Thickness.value
  2314. Line.From = Vector2.new(From.X, From.Y)
  2315. Line.To = Vector2.new(To.X, To.Y)
  2316. else
  2317. Line.Visible = false
  2318. end
  2319. end)
  2320. end, true)
  2321. end
  2322.  
  2323.  
  2324. do
  2325. local _f
  2326. local function Closure()
  2327. if _f then
  2328. for i,bruh in pairs(_f) do
  2329. bruh()
  2330. end
  2331. end
  2332. end
  2333.  
  2334. local FOVArrows = ESP:AddLocalTab("Out of FOV Arrow")
  2335. local Enabled = FOVArrows:AddToggle("Enabled", false, Closure)
  2336. local Performance = FOVArrows:AddToggle("Performance Mode", false, Closure)
  2337. local DisableOffscreen = FOVArrows:AddToggle("Disable when Offscreen", true, Closure)
  2338. local Color = FOVArrows:AddCP("Color", Color3.new(1,1,1), Closure, 0)
  2339. local Size = FOVArrows:AddSlider("Arrow Size", 200, 50, Closure)
  2340. local Bounds = FOVArrows:AddSlider("Bounds", 1000, 400, Closure)
  2341.  
  2342. _f = {}
  2343. local Changed = false
  2344.  
  2345.  
  2346. Players(function(v)
  2347. local Steps = 0
  2348. local Arrow
  2349. local Changed = false
  2350.  
  2351. table.insert(_f, function()
  2352. Changed = true
  2353. end)
  2354.  
  2355. RS:connect(function()
  2356. if not Verification(v) then
  2357. if Arrow then Arrow.Marker.ImageTransparency = 1 end
  2358. return
  2359. end
  2360.  
  2361. if not Enabled.state then
  2362. if Arrow then Arrow.Marker.ImageTransparency = 1 end
  2363. return
  2364. end
  2365.  
  2366. Steps = Steps + 1
  2367. if not Performance.state and Steps % 2 ~= 0 then
  2368. return
  2369. end
  2370.  
  2371. if not isAlive(v) then
  2372. if Arrow then Arrow.Marker.ImageTransparency = 1 end
  2373. return
  2374. end
  2375.  
  2376. if not Arrow or Changed then
  2377. if Arrow then
  2378. Arrow:Destroy()
  2379. Arrow = nil
  2380. end
  2381. Arrow = CreateArrows(Color.color, Color.alpha, Size.value, Bounds.value)
  2382. Arrow.Parent = library.base
  2383. Changed = false
  2384. end
  2385.  
  2386. local vector, onScreen = Camera:WorldToScreenPoint(v.Character.Head.Position)
  2387. if (DisableOffscreen.state and not onScreen) or not DisableOffscreen.state then
  2388. Arrow.Marker.ImageTransparency = Color.alpha
  2389. Arrow.Rotation = MathforArrows(vector, Arrow.AbsolutePosition)
  2390. else
  2391. Arrow.Marker.ImageTransparency = 1
  2392. end
  2393. end)
  2394. end, true)
  2395. end
  2396.  
  2397. do
  2398. local Location = {"Top", "Right", "Bottom"}
  2399. local Fonts = {"UI", "System", "Plex", "Monospace"}
  2400. local TextSettings = {}
  2401. local Text = {
  2402. {"Nametag", "Nametags"},
  2403. {"Bomb", "Has Bomb"},
  2404. {"Reload", "Reloading Indicator"},
  2405. }
  2406.  
  2407. for i,v in pairs(Text) do
  2408. local TextTab = ESP:AddLocalTab(v[2])
  2409. TextSettings[v[1]] = {
  2410. Enabled = TextTab:AddToggle("Enabled", false, nil),
  2411. Color = TextTab:AddCP("Text Color", Color3.new(1,0.5,0), nil, 0),
  2412. Outline = TextTab:AddToggle("Outline", true, nil),
  2413. OutlineColor = TextTab:AddCP("Outline Color", Color3.new(0,0,0), nil, 0),
  2414. Size = TextTab:AddSlider("Size", 36, 14, nil),
  2415. Font = TextTab:AddDropdown("Font", 3, Fonts, nil)
  2416. }
  2417. end
  2418.  
  2419. local BoxESP = ESP:AddLocalTab("Box ESP")
  2420. local BoxSettings = {
  2421. Enabled = BoxESP:AddToggle("Enabled", false, nil),
  2422. Performance = BoxESP:AddToggle("Performance Mode", false, nil),
  2423. Color = BoxESP:AddCP("Color", Color3.new(1,1,1), nil, 0),
  2424. Thickness = BoxESP:AddSlider("Thickness", 5, 0.1, nil, 0.1)
  2425. }
  2426.  
  2427. local getCorners = function(obj, size)
  2428. local corners = {
  2429. Vector3.new(obj.X+size.X/2, obj.Y+size.Y/2, obj.Z+size.Z/2);
  2430. Vector3.new(obj.X-size.X/2, obj.Y+size.Y/2, obj.Z+size.Z/2);
  2431.  
  2432. Vector3.new(obj.X-size.X/2, obj.Y-size.Y/2, obj.Z-size.Z/2);
  2433. Vector3.new(obj.X+size.X/2, obj.Y-size.Y/2, obj.Z-size.Z/2);
  2434.  
  2435. Vector3.new(obj.X-size.X/2, obj.Y+size.Y/2, obj.Z-size.Z/2);
  2436. Vector3.new(obj.X+size.X/2, obj.Y+size.Y/2, obj.Z-size.Z/2);
  2437.  
  2438. Vector3.new(obj.X-size.X/2, obj.Y-size.Y/2, obj.Z+size.Z/2);
  2439. Vector3.new(obj.X+size.X/2, obj.Y-size.Y/2, obj.Z+size.Z/2);
  2440. }
  2441. return corners
  2442. end
  2443.  
  2444. Players(function(v)
  2445. local Steps = 0
  2446. local Changed
  2447. local Box = Drawing.new("Square")
  2448.  
  2449. local disable = function()
  2450. Box.Visible = false
  2451. end
  2452.  
  2453. RS:connect(function()
  2454. if not Verification(v) or not isAlive(v) then
  2455. return disable()
  2456. end
  2457.  
  2458. Steps = Steps + 1
  2459. if Steps % 2 ~= 0 then
  2460. return
  2461. end
  2462.  
  2463. local allCorners = {}
  2464. for _,v in pairs(v.Character:GetChildren()) do
  2465. if v:isA("BasePart") then
  2466. local a = getCorners(v.CFrame, v.Size)
  2467. for _,v in pairs(a) do
  2468. table.insert(allCorners, v)
  2469. end
  2470. end
  2471. end
  2472.  
  2473. local xMin = Camera.ViewportSize.X
  2474. local yMin = Camera.ViewportSize.Y
  2475. local xMax = 0
  2476. local yMax = 0
  2477.  
  2478. for i,v in pairs(allCorners) do
  2479. local pos, ons = Camera:WorldToViewportPoint(v)
  2480. if not ons then
  2481. return disable()
  2482. end
  2483. if pos.X > xMax then
  2484. xMax = pos.X
  2485. end
  2486. if pos.X < xMin then
  2487. xMin = pos.X
  2488. end
  2489. if pos.Y > yMax then
  2490. yMax = pos.Y
  2491. end
  2492. if pos.Y < yMin then
  2493. yMin = pos.Y
  2494. end
  2495. end
  2496.  
  2497. if BoxSettings.Enabled.state then
  2498. Box.Visible = true
  2499. Box.Color = BoxSettings.Color.color
  2500. Box.Transparency = 1-BoxSettings.Color.alpha
  2501. Box.Thickness = BoxSettings.Thickness.value
  2502. Box.Position = Vector2.new(xMin, yMin)
  2503. Box.Size = Vector2.new(xMax-xMin, yMax-yMin)
  2504. end
  2505. end)
  2506. end, true)
  2507. end
  2508.  
  2509. local ESPLocation = Instance.new("Folder", library.base)
  2510. for i,ChamsType in pairs({"Inner", "Outer"}) do
  2511. local _f
  2512. local function Closure()
  2513. if _f then
  2514. _f()
  2515. end
  2516. end
  2517.  
  2518. local Chams = {}
  2519. local ChamsTab = ESP:AddLocalTab(ChamsType.." Chams")
  2520. local Enabled = ChamsTab:AddToggle("Enabled", false, Closure)
  2521. local Color = ChamsTab:AddCP("Color", (ChamsType == "Inner" and Color3.new(1,1,1)) or Color3.new(1,0.5,0), Closure)
  2522. local TeamColor = ChamsTab:AddToggle("Use Team Color Instead", false, Closure)
  2523.  
  2524. local Size = {value = 0}
  2525. if ChamsType == "Outer" then
  2526. Size = ChamsTab:AddSlider("Size", 5, 0.35, Closure, 0.01)
  2527. end
  2528.  
  2529. local function isPart(p)
  2530. return p:IsA("BasePart") and p.Name ~= "HumanoidRootPart" and p.Name ~= "Head" and p.Name ~= "Gun" and p.Name ~= "HeadHB"
  2531. end
  2532.  
  2533. local function ApplyPart(p, v)
  2534. local Cham = Instance.new("BoxHandleAdornment", ESPLocation)
  2535. Cham.Adornee = p
  2536. Cham.AlwaysOnTop = true
  2537. Cham.ZIndex = (ChamsType == "Inner" and 2) or 1
  2538. if Enabled.state then
  2539. Cham.Transparency = Color.alpha
  2540. else
  2541. Cham.Transparency = 1
  2542. end
  2543. Cham.Size = ((p.Name ~= "Head" and p.Size) or Vector3.new(1,1,1)) + Vector3.new(Size.value, Size.value, Size.value)
  2544. Cham.Color3 = Color.color
  2545. if TeamColor.state then
  2546. Cham.Color3 = v.TeamColor.Color
  2547. end
  2548.  
  2549. table.insert(Chams[v.Name], Cham)
  2550. end
  2551.  
  2552. local function Apply(v)
  2553. for i,p in pairs(v.Character:GetChildren()) do
  2554. if isPart(p) then
  2555. ApplyPart(p, v)
  2556. end
  2557. end
  2558. end
  2559.  
  2560. local function removeChams(v)
  2561. for i,c in pairs(Chams[v.Name]) do
  2562. c:Destroy()
  2563. end
  2564. Chams[v.Name] = {}
  2565. end
  2566.  
  2567. _f = function()
  2568. Group(function(v)
  2569. if isAlive(v) then
  2570. removeChams(v)
  2571. Apply(v)
  2572. end
  2573. end)
  2574. end
  2575.  
  2576. Players(function(v)
  2577. Chams[v.Name] = {}
  2578. v.CharacterAdded:connect(function(c)
  2579. if not Verification(v) then return end
  2580. if Enabled.state then
  2581. removeChams(v)
  2582. Apply(v)
  2583. end
  2584. c.DescendantAdded:connect(function(p)
  2585. if not Enabled.state then return end
  2586. if not isPart(p) then return end
  2587. ApplyPart(p, v)
  2588. end)
  2589. end)
  2590. if isAlive(v) then
  2591. removeChams(v)
  2592. Apply(v)
  2593. end
  2594. spawn(function()
  2595. v:WaitForChild("Status"):WaitForChild("Alive"):GetPropertyChangedSignal("Value"):Connect(function()
  2596. removeChams(v)
  2597. end)
  2598. end)
  2599. end, true)
  2600. end
  2601. if v == "Enemy" then
  2602. do
  2603. local Tab = ESP:AddLocalTab("Hit History")
  2604. local Enabled = Tab:AddToggle("Enabled", false, nil)
  2605. local RemoveAccessories = Tab:AddToggle("Remove "..v.." Accessories", true, nil)
  2606. local RemoveFaces = Tab:AddToggle("Remove "..v.." Faces", true, nil)
  2607. local RemoveArms = Tab:AddToggle("Remove "..v.." Arms", false, nil)
  2608. local Material = Tab:AddDropdown("Material", 2, Materials, nil)
  2609. local ChangeColor = Tab:AddToggle("Change Color", true, nil)
  2610. local ChangeTransparency = Tab:AddToggle("Change Transparency", false, nil)
  2611. local Color = Tab:AddCP("Color", Color3.new(1,0.5,0), nil, 0)
  2612. local Lifetime = Tab:AddSlider("Lifetime", 60, 5)
  2613.  
  2614. local function ModifyItem(p)
  2615. if RemoveFaces.state and p.Name == "face" then
  2616. p:Destroy()
  2617. end
  2618. if RemoveAccessories.state and (p:IsA("Accessory") or p:IsA("Clothing")) then
  2619. p:Destroy()
  2620. end
  2621. if p:IsA("BasePart") then
  2622. p.Anchored = true
  2623. p.CanCollide = false
  2624. if Material.value ~= "None" then
  2625. p.Material = Enum.Material[Material.value]
  2626. end
  2627. if ChangeColor.state then
  2628. p.Color = Color.color
  2629. end
  2630. if p.Name ~= "HumanoidRootPart" and p.Name ~= "Head" and p.Name ~= "HeadHB" then
  2631. if ChangeTransparency.state then
  2632. p.Transparency = Color.alpha
  2633. else
  2634. p.Transparency = 0
  2635. end
  2636. end
  2637. if RemoveArms.state and (p.Name:find("Arm") or p.Name:find("Hand")) then
  2638. p.Transparency = 1
  2639. end
  2640. end
  2641. end
  2642.  
  2643. local function Modify(char)
  2644. for i,p in pairs(char:GetDescendants()) do
  2645. ModifyItem(p)
  2646. end
  2647. end
  2648.  
  2649. HitFunctions.History = function(name)
  2650. if not Enabled.state then return end
  2651. local plr = Services.Players[name]
  2652.  
  2653. plr.Character.Archivable = true
  2654. local FakeCharacter = plr.Character:Clone()
  2655. Modify(FakeCharacter)
  2656. FakeCharacter.Name = "F"
  2657. FakeCharacter.Parent = workspace
  2658. Services.Debris:AddItem(FakeCharacter, Lifetime.value)
  2659. end
  2660. end
  2661. end
  2662. end
  2663. -- BASE ESP }
  2664.  
  2665. -- SELF ESP {
  2666. do
  2667. local Self = Visuals:CreateTab("Self ESP")
  2668. end
  2669. -- SELF ESP }
  2670.  
  2671. -- OTHER ESP {
  2672. do
  2673. local function getSite(p)
  2674. local SpawnPoints = workspace.Map.SpawnPoints
  2675. local Pos = p.Position
  2676. if GetDistanceSq3(Pos, SpawnPoints.C4Plant.Position) <
  2677. GetDistanceSq3(Pos, SpawnPoints.C4Plant2.Position) then
  2678. return "B"
  2679. else
  2680. return "A"
  2681. end
  2682. end
  2683. local Other = Visuals:CreateTab("Other ESP")
  2684. local Drop = Other:AddLocalTab("Dropped Weapons")
  2685. local Bomb = Other:AddLocalTab("Armed Bomb")
  2686. local Enabled = Bomb:AddToggle("BombGUI", false)
  2687. local Cham = Bomb:AddToggle("Enable Cham", false)
  2688. local Color = Bomb:AddCP("Color", Color3.new(1,0.5,0))
  2689. local Rainbow = Bomb:AddToggle("Rainbow Cham", false)
  2690. local Size = Bomb:AddSlider("Size", 5, 0, nil, 0.01)
  2691.  
  2692. if not Studio then
  2693. workspace.Status.RoundOver:GetPropertyChangedSignal("Value"):connect(function()
  2694. if not Enabled.state then return end
  2695. if not workspace.Status.RoundOver.Value then return end
  2696. BombGUI.Visible = false
  2697. end)
  2698. workspace.Status.Armed:GetPropertyChangedSignal("Value"):connect(function()
  2699. if not Enabled.state then return end
  2700. if not workspace.Status.Armed.Value then return end
  2701. BombGUI.Visible = true
  2702. BombGUI.DT.Visible = false
  2703. BombGUI.CT.Visible = false
  2704. BombGUI.T.Size = UDim2.new(1,0,0,10)
  2705. BombGUI.CT.Size = UDim2.new(1,0,0,10)
  2706. local explode = tick()+38
  2707. BombGUI.T:TweenSize(UDim2.new(0,0,0,10), Enum.EasingDirection.Out, Enum.EasingStyle.Sine, 38, true, function(complete)
  2708. BombGUI.Visible = false
  2709. end)
  2710. spawn(function()
  2711. repeat wait() BombGUI.ET.Text = "Explosion Time: "..string.format("%.2f", explode-tick()).." seconds" until tick() > explode
  2712. end)
  2713.  
  2714. local C4 = workspace:WaitForChild("C4")
  2715.  
  2716. C4.ChildAdded:connect(function(p)
  2717. if p.Name == "Defusing" then
  2718. BombGUI.CT.Visible = true
  2719. BombGUI.DT.Visible = true
  2720. BombGUI.CT.Size = UDim2.new(1,0,0,10)
  2721. repeat wait() until p.Value ~= nil
  2722. local plr = p.Value
  2723. local defusetime = 10
  2724. if plr.Character:FindFirstChild("DKit") then
  2725. defusetime = 5
  2726. end
  2727. local defuse = tick()+defusetime
  2728. BombGUI.CT:TweenSize(UDim2.new(0,0,0,10), Enum.EasingDirection.Out, Enum.EasingStyle.Sine, defusetime, true)
  2729. repeat wait() BombGUI.DT.Text = "Defuse Time: "..string.format("%.2f", defuse-tick()).." seconds" until tick() > defuse or p.Parent == nil
  2730. BombGUI.CT.Size = UDim2.new(1,0,0,10)
  2731. BombGUI.CT.Visible = false
  2732. BombGUI.DT.Visible = false
  2733. end
  2734. end)
  2735.  
  2736. local Handle = C4:WaitForChild("Handle")
  2737. BombGUI.Site.Text = getSite(Handle)
  2738. if Cham.state then
  2739. local Bomb = Instance.new("BoxHandleAdornment", library.base)
  2740. Bomb.Adornee = Handle
  2741. Bomb.AlwaysOnTop = true
  2742. Bomb.ZIndex = 1
  2743. if Enabled.state then
  2744. Bomb.Transparency = Color.alpha
  2745. else
  2746. Bomb.Transparency = 1
  2747. end
  2748. Bomb.Size = Handle.Size + Vector3.new(Size.value, Size.value, Size.value)
  2749. Bomb.Color3 = Color.color
  2750. C4.AncestryChanged:connect(function()
  2751. Bomb:Destroy()
  2752. end)
  2753. if Rainbow then
  2754. repeat
  2755. wait()
  2756. Bomb.Color3 = Rainbow(3,1,1)
  2757. until C4.Parent == nil
  2758. end
  2759. end
  2760. end)
  2761. end
  2762. end
  2763. -- OTHER ESP }
  2764.  
  2765. -- WORLD OPTIONS {
  2766.  
  2767. do
  2768. local World = Visuals:CreateTab("World", UDim2.new(0,0,2,0))
  2769. local Appearance = World:AddLocalTab("Appearance")
  2770.  
  2771. local debounce = true
  2772. local _f
  2773. local Closure = function()
  2774. if _f then
  2775. _f()
  2776. end
  2777. end
  2778.  
  2779. local Lighting = Services.Lighting
  2780.  
  2781. Ambient = Appearance:AddCP("Ambient", Lighting.Ambient, Closure)
  2782. Brightness = Appearance:AddSlider("Brightness", 10, Lighting.Brightness, Closure, 0.01)
  2783. ColorShift_Bottom = Appearance:AddCP("ColorShift_Bottom", Lighting.ColorShift_Bottom, Closure)
  2784. ColorShift_Top = Appearance:AddCP("ColorShift_Top", Lighting.ColorShift_Top, Closure)
  2785. EnvironmentDiffuseScale = Appearance:AddSlider("EnvironmentDiffuseScale", 1, Lighting.EnvironmentDiffuseScale, Closure, 0.01)
  2786. GlobalShadows = Appearance:AddToggle("GlobalShadows", Lighting.GlobalShadows, Closure)
  2787. OutdoorAmbient = Appearance:AddCP("OutdoorAmbient", Lighting.OutdoorAmbient, Closure)
  2788.  
  2789. local Data = World:AddLocalTab("Lighting Data")
  2790. ClockTime = Data:AddSlider("Time of Day", 24, Lighting.ClockTime, Closure, 0.01)
  2791. GeographicLatitude = Data:AddSlider("GeographicLatitude", 360, Lighting.GeographicLatitude, Closure)
  2792.  
  2793. local Fog = World:AddLocalTab("Fog")
  2794. FogColor = Fog:AddCP("FogColor", Lighting.FogColor, Closure)
  2795. FogEnd = Fog:AddBox("FogEnd", Lighting.FogEnd, Closure)
  2796. FogStart = Fog:AddBox("FogStart", Lighting.FogStart, Closure)
  2797.  
  2798. local Bloom = World:AddLocalTab("Bloom")
  2799. local BloomEffect = Instance.new("BloomEffect", Lighting)
  2800. BloomEnabled = Bloom:AddToggle("Enabled", false, function(b) BloomEffect.Enabled = b end)
  2801. BloomIntensity = Bloom:AddSlider("Intensity", 1, BloomEffect.Intensity, function(scale) BloomEffect.Intensity = scale end, 0.01)
  2802. BloomSize = Bloom:AddSlider("Size", 56, BloomEffect.Size, function(scale) BloomEffect.Size = scale end)
  2803. BloomThreshold = Bloom:AddSlider("Threshold", 1, BloomEffect.Threshold, function(scale) BloomEffect.Threshold = scale end, 0.01)
  2804.  
  2805. local Blur = World:AddLocalTab("Blur")
  2806. local BlurEffect = Instance.new("BlurEffect", Lighting)
  2807. BlurEnabled = Blur:AddToggle("Enabled", false, function(b) BlurEffect.Enabled = b end)
  2808. BlurSize = Blur:AddSlider("Size", 56, BlurEffect.Size, function(scale) BlurEffect.Size = scale end)
  2809.  
  2810. local ColorCorrection = World:AddLocalTab("Color Correction")
  2811. local ColorCorrectionEffect = Instance.new("ColorCorrectionEffect", Lighting)
  2812. ColorCorrection:AddToggle("Enabled", false, function(b) ColorCorrectionEffect.Enabled = b end)
  2813. ColorCorrectionSaturation = ColorCorrection:AddSlider("Saturation", 2, ColorCorrectionEffect.Saturation+1, function(scale) ColorCorrectionEffect.Saturation = scale-1 end, 0.01)
  2814. ColorCorrectionBrightness = ColorCorrection:AddSlider("Brightness", 2, ColorCorrectionEffect.Brightness+1, function(scale) ColorCorrectionEffect.Brightness = scale-1 end, 0.01)
  2815. ColorCorrectionContrast = ColorCorrection:AddSlider("Contrast", 2, ColorCorrectionEffect.Contrast+1, function(scale) ColorCorrectionEffect.Contrast = scale-1 end, 0.01)
  2816. ColorCorrectionTintColor = ColorCorrection:AddCP("TintColor", ColorCorrectionEffect.TintColor, function(color) ColorCorrectionEffect.TintColor = color end)
  2817.  
  2818. local DepthOfField = World:AddLocalTab("Depth of Field")
  2819. local DepthOfFieldEffect = Instance.new("DepthOfFieldEffect", Lighting)
  2820. DepthOfFieldEnabled = DepthOfField:AddToggle("Enabled", false, function(b) DepthOfFieldEffect.Enabled = b end)
  2821. DepthOfFieldFarIntensity = DepthOfField:AddSlider("FarIntensity", 1, DepthOfFieldEffect.FarIntensity, function(scale) DepthOfFieldEffect.FarIntensity = scale end, 0.01)
  2822. DepthOfFieldFocusDistance = DepthOfField:AddSlider("FocusDistance", 200, DepthOfFieldEffect.FocusDistance, function(scale) DepthOfFieldEffect.FocusDistance = scale end)
  2823. DepthOfFieldInFocusRadius = DepthOfField:AddSlider("InFocusRadius", 50, DepthOfFieldEffect.InFocusRadius, function(scale) DepthOfFieldEffect.InFocusRadius = scale end, 0.01)
  2824. DepthOfFieldNearIntensity = DepthOfField:AddSlider("NearIntensity", 1, DepthOfFieldEffect.NearIntensity, function(scale) DepthOfFieldEffect.NearIntensity = scale end, 0.01)
  2825.  
  2826. local SunRays = World:AddLocalTab("Sun Rays")
  2827. local SunRaysEffect = Instance.new("SunRaysEffect", Lighting)
  2828. SunRaysEnabled = SunRays:AddToggle("Enabled", false, function(b) SunRaysEffect.Enabled = b end)
  2829. SunRaysIntensity = SunRays:AddSlider("Intensity", 1, SunRaysEffect.Intensity, function(scale) SunRaysEffect.Intensity = scale end, 0.01)
  2830. SunRaysSpread = SunRays:AddSlider("Spread", 1, SunRaysEffect.Spread, function(scale) SunRaysEffect.Spread = scale end, 0.01)
  2831.  
  2832. _f = function()
  2833. if debounce then
  2834. debounce = false
  2835. Lighting.Ambient = Ambient.color
  2836. Lighting.Brightness = Brightness.value
  2837. Lighting.ColorShift_Bottom = ColorShift_Bottom.color
  2838. Lighting.ColorShift_Top = ColorShift_Top.color
  2839. Lighting.EnvironmentDiffuseScale = EnvironmentDiffuseScale.value
  2840. Lighting.GlobalShadows = GlobalShadows.state
  2841. Lighting.OutdoorAmbient = OutdoorAmbient.color
  2842. Lighting.ClockTime = ClockTime.value
  2843. Lighting.GeographicLatitude = GeographicLatitude.value
  2844. Lighting.FogColor = FogColor.color
  2845. Lighting.FogEnd = tonumber(FogEnd.value)
  2846. Lighting.FogStart = tonumber(FogStart.value)
  2847. debounce = true
  2848. end
  2849. end
  2850.  
  2851. Lighting.LightingChanged:Connect(_f)
  2852. end
  2853.  
  2854. -- WORLD OPTIONS }
  2855.  
  2856. HitboxPriority = library:CreateWindow("Hitbox Priorities", Vector2.new(280 + 20, 330 + 75), Vector2.new(40, 580))
  2857. for tab,prefix in pairs({"Legit", "Rage", "Override"}) do
  2858. local Tab = HitboxPriority:CreateTab(prefix)
  2859. local Control = HitboxPriorityControl:Clone()
  2860. Control.Parent = Tab.main
  2861.  
  2862. for i,v in pairs(Control:GetChildren()) do
  2863. v.MouseButton1Click:connect(function()
  2864. Priorities[prefix][v.Name] = (Priorities[prefix][v.Name] + 1) % 6
  2865. v.Text = Priorities[prefix][v.Name] + 1
  2866. end)
  2867. v.Text = Priorities[prefix][v.Name] + 1
  2868. end
  2869. end
  2870.  
  2871. WeaponMods = library:CreateWindow("Weapon Modifications", Vector2.new(450, 308), Vector2.new(1030, 40))
  2872. starting_debounce = false
  2873. for i,v in pairs(Weapons.Types) do
  2874. local BulletOverride = false
  2875. local tab = WeaponMods:CreateTab(v)
  2876. local FR = tab:AddLocalTab("Firerate")
  2877. FR:AddSlider("Firerate Multiplier", 5, 1, function(value)
  2878. if starting_debounce then
  2879. for i,v in pairs(Weapons[v]) do
  2880. local Weapon = Weapons.Path[v]
  2881. local Old = Weapons.Old[v]
  2882. local Value = Weapon:FindFirstChild("FireRate")
  2883. local OldValue = Old:FindFirstChild("FireRate")
  2884. if Value and value then
  2885. Value.Value = OldValue.Value / value
  2886. elseif Value then
  2887. Value.Value = OldValue.Value
  2888. end
  2889. end
  2890. end
  2891. end, 0.1)
  2892.  
  2893. local RT = tab:AddLocalTab("Reload Time")
  2894. RT:AddSlider("Reduce Reload Time", 5, 1, function(value)
  2895. if starting_debounce then
  2896. for i,v in pairs(Weapons[v]) do
  2897. local Weapon = Weapons.Path[v]
  2898. local Old = Weapons.Old[v]
  2899. local Value = Weapon:FindFirstChild("ReloadTime")
  2900. local OldValue = Old:FindFirstChild("ReloadTime")
  2901. if Value then
  2902. Value.Value = OldValue.Value / value
  2903. elseif Value then
  2904. Value.Value = OldValue.Value
  2905. end
  2906. end
  2907. end
  2908. end, 0.1)
  2909.  
  2910. local IA = tab:AddLocalTab("Infinite Ammo")
  2911. IA:AddToggle("Infinite Ammo", false, function(value)
  2912. if starting_debounce then
  2913. for i,v in pairs(Weapons[v]) do
  2914. local Weapon = Weapons.Path[v]
  2915. local Old = Weapons.Old[v]
  2916. local Value1 = Weapon:FindFirstChild("StoredAmmo")
  2917. local OldValue1 = Old:FindFirstChild("StoredAmmo")
  2918. local Value2 = Weapon:FindFirstChild("Ammo")
  2919. local OldValue2 = Old:FindFirstChild("Ammo")
  2920. if value then
  2921. if Value1 then
  2922. Value1.Value = 9e12
  2923. end
  2924. if Value2 then
  2925. Value2.Value = 9e9
  2926. end
  2927. else
  2928. if Value1 then
  2929. Value1.Value = OldValue1.Value
  2930. end
  2931. if Value2 then
  2932. Value2.Value = OldValue2.Value
  2933. end
  2934. end
  2935. end
  2936. end
  2937. end)
  2938.  
  2939. local FA = tab:AddLocalTab("Force Auto")
  2940. FA:AddToggle("Force Auto", false, function(value)
  2941. if starting_debounce then
  2942. for i,v in pairs(Weapons[v]) do
  2943. local Weapon = Weapons.Path[v]
  2944. local Value = Weapon:FindFirstChild("Auto")
  2945. if Value then
  2946. Value.Value = value
  2947. end
  2948. end
  2949. end
  2950. end)
  2951.  
  2952. local RT = tab:AddLocalTab("Force Shotgun")
  2953. RT:AddToggle("Enable Bullet Override", false, function(value)
  2954. if starting_debounce then
  2955. BulletOverride = value
  2956. if not value then
  2957. for i,v in pairs(Weapons[v]) do
  2958. local Weapon = Weapons.Path[v]
  2959. local Old = Weapons.Old[v]
  2960. local Value = Weapon:FindFirstChild("Bullets")
  2961. local OldValue = Old:FindFirstChild("Bullets")
  2962. if Value then
  2963. Value.Value = OldValue.Value
  2964. end
  2965. end
  2966. end
  2967. end
  2968. end)
  2969.  
  2970. RT:AddSlider("Bullets to shoot", 100, 1, function(value)
  2971. if starting_debounce then
  2972. for i,v in pairs(Weapons[v]) do
  2973. local Weapon = Weapons.Path[v]
  2974. local Old = Weapons.Old[v]
  2975. local Value = Weapon:FindFirstChild("Bullets")
  2976. local OldValue = Old:FindFirstChild("Bullets")
  2977. if Value and BulletOverride and Value:FindFirstChild("Value") then
  2978. Value.Value = value
  2979. else
  2980. Value.Value = OldValue.Value
  2981. end
  2982. end
  2983. end
  2984. end)
  2985.  
  2986. local IE = tab:AddLocalTab("Instant Equip")
  2987. IE:AddToggle("Instant Equip", false, function(value)
  2988. if starting_debounce then
  2989. for i,v in pairs(Weapons[v]) do
  2990. local Weapon = Weapons.Path[v]
  2991. local Old = Weapons.Old[v]
  2992. local Value = Weapon:FindFirstChild("EquipTime")
  2993. local OldValue = Old:FindFirstChild("EquipTime")
  2994. if Value and value then
  2995. Value.Value = 0
  2996. elseif Value then
  2997. Value.Value = OldValue.Value
  2998. end
  2999. end
  3000. end
  3001. end)
  3002.  
  3003. local RT = tab:AddLocalTab("RCS and Spread")
  3004. --[[
  3005. RT:AddSlider("Reduce Spread", 1, 0, function(value)
  3006. if starting_debounce then
  3007. for i,v in pairs(Weapons[v]) do
  3008. local Weapon = Weapons.Path[v]
  3009. local Old = Weapons.Old[v]
  3010. local Value = Weapon:FindFirstChild("Spread")
  3011. local OldValue = Old:FindFirstChild("Spread")
  3012. if Value then
  3013. Value.Value = OldValue.Value * (1-value)
  3014. for _,children in pairs(Value:GetChildren()) do
  3015. children.Value = OldValue[children.Name].Value * (1-value)
  3016. end
  3017. end
  3018. end
  3019. end
  3020. end, 0.01)]]
  3021.  
  3022. RT:AddSlider("Reduce Recoil", 1, 0, function(value)
  3023. for i,v in pairs(Weapons[v]) do
  3024. --Storage[v] = (1-value)
  3025. end
  3026. end, 0.01)
  3027. end
  3028.  
  3029. -- "laff" - bloxxite 2020
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement