Advertisement
d2rq

fine

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