SyntaxIsHere

Untitled

Oct 27th, 2018
1,062
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 92.93 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local MainGUI = Instance.new("Frame")
  6. local TextLabel = Instance.new("TextLabel")
  7. local DST = Instance.new("TextButton")
  8. local SA = Instance.new("TextButton")
  9. local MI = Instance.new("TextButton")
  10. local ZZ = Instance.new("TextButton")
  11. local ESP = Instance.new("TextButton")
  12. local TextLabel_2 = Instance.new("TextLabel")
  13. local Aimbot = Instance.new("TextButton")
  14. local MP2 = Instance.new("TextButton")
  15. local MG = Instance.new("TextButton")
  16. local TextLabel_3 = Instance.new("TextLabel")
  17. local IB = Instance.new("TextButton")
  18. local CB = Instance.new("TextButton")
  19. local BAGP = Instance.new("TextButton")
  20. local TextLabel_4 = Instance.new("TextLabel")
  21. local TextLabel_5 = Instance.new("TextLabel")
  22. local TextLabel_6 = Instance.new("TextLabel")
  23. local TextLabel_7 = Instance.new("TextLabel")
  24. local ESP_2 = Instance.new("TextButton")
  25. local PFESP = Instance.new("TextButton")
  26. local Extras = Instance.new("Frame")
  27. local KNIFESIM = Instance.new("TextButton")
  28. local HILTON = Instance.new("TextButton")
  29. local CBRO = Instance.new("TextButton")
  30. local APOC = Instance.new("TextButton")
  31. local EXTRAS = Instance.new("TextButton")
  32. local Open = Instance.new("TextButton")
  33. local Close = Instance.new("TextButton")
  34. --Properties:
  35. ScreenGui.Parent = game.CoreGui
  36.  
  37. MainGUI.Name = "Main GUI"
  38. MainGUI.Parent = ScreenGui
  39. MainGUI.BackgroundColor3 = Color3.new(1, 1, 1)
  40. MainGUI.Position = UDim2.new(0.219819099, 0, 0.110072792, 0)
  41. MainGUI.Size = UDim2.new(0, 464, 0, 383)
  42. MainGUI.Active = true
  43. MainGUI.Draggable = true
  44.  
  45. TextLabel.Parent = MainGUI
  46. TextLabel.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  47. TextLabel.Position = UDim2.new(0, 0, -0.0496083535, 0)
  48. TextLabel.Size = UDim2.new(0, 464, 0, 19)
  49. TextLabel.Font = Enum.Font.SourceSans
  50. TextLabel.Text = "Crcos And Sandals V2 (Money Hacks)"
  51. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  52. TextLabel.TextSize = 14
  53.  
  54. DST.Name = "DST"
  55. DST.Parent = MainGUI
  56. DST.BackgroundColor3 = Color3.new(1, 1, 1)
  57. DST.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  58. DST.Position = UDim2.new(0.019396551, 0, 0.0156657957, 0)
  59. DST.Size = UDim2.new(0, 147, 0, 29)
  60. DST.Font = Enum.Font.SourceSans
  61. DST.Text = "Deep Space Tycoon Money"
  62. DST.TextColor3 = Color3.new(0, 0, 0)
  63. DST.TextSize = 14
  64. DST.MouseButton1Down:connect(function()
  65. local RStorage = game.ReplicatedStorage.RemoteEvents
  66.  
  67. for i=1,1000 do
  68. RStorage.Codes.GRANDOPENING:FireServer()
  69. end
  70. end)
  71.  
  72. SA.Name = "SA"
  73. SA.Parent = MainGUI
  74. SA.BackgroundColor3 = Color3.new(1, 1, 1)
  75. SA.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  76. SA.Position = UDim2.new(0.019396551, 0, 0.112271532, 0)
  77. SA.Size = UDim2.new(0, 147, 0, 29)
  78. SA.Font = Enum.Font.SourceSans
  79. SA.Text = "Shark Attack (1 Gem Needed)"
  80. SA.TextColor3 = Color3.new(0, 0, 0)
  81. SA.TextSize = 14
  82. SA.MouseButton1Down:connect(function()
  83. game.ReplicatedStorage.Functions.TradeGem:InvokeServer("Green Gems","100000")
  84. end)
  85.  
  86. MI.Name = "MI"
  87. MI.Parent = MainGUI
  88. MI.BackgroundColor3 = Color3.new(1, 1, 1)
  89. MI.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  90. MI.Position = UDim2.new(0.019396551, 0, 0.20887728, 0)
  91. MI.Size = UDim2.new(0, 147, 0, 29)
  92. MI.Font = Enum.Font.SourceSans
  93. MI.Text = "Monster Island "
  94. MI.TextColor3 = Color3.new(0, 0, 0)
  95. MI.TextSize = 14
  96. MI.MouseButton1Down:connect(function()
  97. while wait(0.1) do
  98. game.Players.LocalPlayer.ChangeStat:InvokeServer("Update","Gold", 1000000)
  99. end
  100. end)
  101.  
  102. ZZ.Name = "ZZ"
  103. ZZ.Parent = MainGUI
  104. ZZ.BackgroundColor3 = Color3.new(1, 1, 1)
  105. ZZ.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  106. ZZ.Position = UDim2.new(0.019396551, 0, 0.308093995, 0)
  107. ZZ.Size = UDim2.new(0, 147, 0, 29)
  108. ZZ.Font = Enum.Font.SourceSans
  109. ZZ.Text = "Zombie Zone"
  110. ZZ.TextColor3 = Color3.new(0, 0, 0)
  111. ZZ.TextSize = 14
  112. ZZ.MouseButton1Down:connect(function()
  113. game.ReplicatedStorage.RemoteEvents.UpgradePurchase:FireServer(-999999999, game.Players.LocalPlayer.ClipSize)
  114. end)
  115.  
  116. ESP.Name = "ESP"
  117. ESP.Parent = MainGUI
  118. ESP.BackgroundColor3 = Color3.new(1, 1, 1)
  119. ESP.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  120. ESP.Position = UDim2.new(0.019396551, 0, 0.772845924, 0)
  121. ESP.Size = UDim2.new(0, 147, 0, 29)
  122. ESP.Font = Enum.Font.SourceSans
  123. ESP.Text = "ESP"
  124. ESP.TextColor3 = Color3.new(0, 0, 0)
  125. ESP.TextSize = 14
  126. ESP.MouseButton1Down:connect(function()
  127. local lPlayer = game.Players.LocalPlayer;
  128. local lTeam = lPlayer.TeamColor;
  129. local mode = 1;
  130. local speed = .7; -- CFrame interpolation every second.
  131. local aimToggle = false;
  132. local enemyColor = BrickColor.Red();
  133. local friendlyColor = BrickColor.Blue();
  134.  
  135. function onKeyPress(inputObject, gameProcessedEvent)
  136. if inputObject.KeyCode == Enum.KeyCode.RightAlt then
  137. if aimToggle == false then
  138. --aimToggle = true;
  139. else
  140. --aimToggle = false;
  141. end
  142. end
  143. if inputObject.KeyCode == Enum.KeyCode.RightControl then
  144. if mode == 1 then
  145. mode = 0;
  146. for i,v in pairs(game.Players:GetChildren()) do
  147. if v ~= lPlayer then
  148. if game.Workspace:FindFirstChild(v.Name) ~= nil then
  149. if v.Character:FindFirstChild("Torso") ~= nil then
  150. v.Character.Torso.eP.Frame.Visible = false;
  151. end
  152. for t,x in pairs(v.Character:GetChildren()) do
  153. if x.ClassName == "Part" then
  154. if v.Character:FindFirstChild("Head") ~= nil then
  155. if v.Character.Head:FindFirstChild("1") ~= nil then
  156. for l=1,6 do
  157. x:FindFirstChild(l).Frame.Visible = true;
  158. end
  159. end
  160. end
  161. end
  162. end
  163. end
  164. end
  165. end
  166. elseif mode == 0 then
  167. mode = 1;
  168. for i,v in pairs(game.Players:GetChildren()) do
  169. if v ~= lPlayer then
  170. if game.Workspace:FindFirstChild(v.Name) ~= nil then
  171. if v.Character:FindFirstChild("Torso") ~= nil then
  172. v.Character.Torso.eP.Frame.Visible = true;
  173. end
  174. for t,x in pairs(v.Character:GetChildren()) do
  175. if x.ClassName == "Part" then
  176. if v.Character:FindFirstChild("Head") ~= nil then
  177. if v.Character.Head:FindFirstChild("1") ~= nil then
  178. for l=1,6 do
  179. x:FindFirstChild(l).Frame.Visible = false;
  180. end
  181. end
  182. end
  183. end
  184. end
  185. end
  186. end
  187. end
  188. end
  189. end
  190. end
  191.  
  192. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  193.  
  194. local function ClosestPlayer(point)
  195. local OnTarget = false;
  196. local CurDis = nil;
  197. local CurPlayer = nil;
  198. for i,v in pairs(game.Players:GetChildren()) do
  199. if v ~= lPlayer then
  200. if CurDis == nil then
  201. CurDis = v:DistanceFromCharacter(lPlayer.Character.Torso.Position);
  202. CurPlayer = v;
  203. else
  204. if v:DistanceFromCharacter(lPlayer.Character.Torso.Position) < CurDis then
  205. CurDis = v:DistanceFromCharacter(lPlayer.Character.Torso.Position);
  206. CurPlayer = v;
  207. end
  208. end
  209. end
  210. end
  211. while aimToggle == true do
  212. for i = 0, 1, .01 do
  213. game.Workspace.CurrentCamera.CFrame = CFrame.new(Vector3.new(game.Workspace.CurrentCamera.CFrame.X,game.Workspace.CurrentCamera.CFrame.Y,game.Workspace.CurrentCamera.CFrame.Z), CurPlayer.Character.Torso.Position);
  214. end
  215. end
  216. end
  217.  
  218. while true do
  219. for i,v in pairs(game.Players:GetChildren()) do
  220. local vChar = game.Workspace:WaitForChild(v.Name);
  221. if vChar.Torso:FindFirstChild("eP") == nil and v ~= lPlayer then
  222. local fLayer = Instance.new("BillboardGui");
  223. fLayer.Name = "eP";
  224. fLayer.Size = UDim2.new(8,0,8,0);
  225. fLayer.SizeOffset = Vector2.new(.5,-.55);
  226. fLayer.LightInfluence = 0;
  227. fLayer.AlwaysOnTop = true;
  228. fLayer.Adornee = vChar:WaitForChild("Torso");
  229. fLayer.Parent = vChar.Torso;
  230. local sLayer = Instance.new("Frame");
  231. sLayer.BackgroundTransparency = .5;
  232. sLayer.AnchorPoint = Vector2.new(.5,.5);
  233. if v.TeamColor == lTeam then
  234. sLayer.BackgroundColor = BrickColor.Blue();
  235. else
  236. sLayer.BackgroundColor = BrickColor.Red();
  237. end
  238. sLayer.BorderSizePixel = 0;
  239. sLayer.Size = UDim2.new(.5,0,.7,0);
  240. sLayer.Parent = fLayer;
  241. if mode == 0 then
  242. sLayer.Visible = false;
  243. end
  244. local fhLayer = Instance.new("BillboardGui");
  245. fhLayer.Name = "ePh";
  246. fhLayer.Size = UDim2.new(8,0,8,0);
  247. fhLayer.SizeOffset = Vector2.new(.25,-.13);
  248. fhLayer.LightInfluence = 0;
  249. fhLayer.AlwaysOnTop = true;
  250. fhLayer.Adornee = vChar:WaitForChild("Torso");
  251. fhLayer.Parent = vChar.Torso;
  252. local health = Instance.new("Frame");
  253. health.AnchorPoint = Vector2.new(0,.5);
  254. health.Name = "health";
  255. health.BorderSizePixel = 0;
  256. health.BackgroundColor3 = Color3.fromRGB(255,0,0);
  257. health.Size = UDim2.new((v.Character.Humanoid.Health/v.Character.Humanoid.MaxHealth)/2,0,.05,0);
  258. health.Parent = fhLayer;
  259. local fnLayer = Instance.new("BillboardGui");
  260. fnLayer.Name = "ePn";
  261. fnLayer.Size = UDim2.new(8,0,8,0);
  262. fnLayer.SizeOffset = Vector2.new(.25,0);
  263. fnLayer.LightInfluence = 0;
  264. fnLayer.AlwaysOnTop = true;
  265. fnLayer.Adornee = vChar:WaitForChild("Torso");
  266. fnLayer.Parent = vChar.Torso;
  267. local name = Instance.new("TextLabel");
  268. name.AnchorPoint = Vector2.new(0,.5);
  269. name.Name = "txtlabel";
  270. name.BorderSizePixel = 0;
  271. name.BackgroundTransparency = 1;
  272. name.Size = UDim2.new(.5,0,.05,0);
  273. name.Position = UDim2.new(0,0,0,0);
  274. name.TextScaled = true;
  275. name.Text = v.Name;
  276. name.TextColor3 = Color3.fromRGB(sLayer.BackgroundColor.r,sLayer.BackgroundColor.g,sLayer.BackgroundColor.b);
  277. name.Parent = fnLayer;
  278. for x,t in pairs(vChar:GetChildren()) do
  279. if t.ClassName == "Part" then
  280. for l = 1, 6 do
  281. local headLayer = Instance.new("SurfaceGui");
  282. headLayer.Name = l;
  283. headLayer.LightInfluence = 0;
  284. headLayer.AlwaysOnTop = true;
  285. headLayer.Adornee = vChar:WaitForChild(t.Name);
  286. headLayer.Parent = t;
  287. if l==1 then
  288. headLayer.Face = "Front";
  289. elseif l==2 then
  290. headLayer.Face = "Right";
  291. elseif l==3 then
  292. headLayer.Face = "Left";
  293. elseif l==4 then
  294. headLayer.Face = "Back";
  295. elseif l==5 then
  296. headLayer.Face = "Top";
  297. elseif l==6 then
  298. headLayer.Face = "Bottom";
  299. end
  300. local xLayer = Instance.new("Frame");
  301. xLayer.BackgroundTransparency = .5;
  302. xLayer.AnchorPoint = Vector2.new(0,0);
  303. if v.TeamColor == lTeam then
  304. xLayer.BackgroundColor = BrickColor.Blue();
  305. else
  306. xLayer.BackgroundColor = BrickColor.Red();
  307. end
  308. xLayer.BorderSizePixel = 0;
  309. xLayer.Size = UDim2.new(1,0,1,0);
  310. xLayer.Parent = headLayer;
  311. if mode == 1 then
  312. xLayer.Visible = false;
  313. end
  314. end
  315. end
  316. end
  317. else
  318. if v ~= lPlayer then
  319. v.Character.Torso.ePh.health.Size = UDim2.new((v.Character.Humanoid.Health/v.Character.Humanoid.MaxHealth)/2,0,.05,0);
  320. end
  321. end
  322. end
  323. wait(.3);
  324. end
  325. end)
  326.  
  327. TextLabel_2.Parent = MainGUI
  328. TextLabel_2.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  329. TextLabel_2.Position = UDim2.new(0, 0, 0.704960823, 0)
  330. TextLabel_2.Size = UDim2.new(0, 464, 0, 19)
  331. TextLabel_2.Font = Enum.Font.SourceSans
  332. TextLabel_2.Text = "Crocs And Sandals v2 (Other Hacks)"
  333. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  334. TextLabel_2.TextSize = 14
  335.  
  336. Aimbot.Name = "Aimbot"
  337. Aimbot.Parent = MainGUI
  338. Aimbot.BackgroundColor3 = Color3.new(1, 1, 1)
  339. Aimbot.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  340. Aimbot.Position = UDim2.new(0.357758611, 0, 0.772845924, 0)
  341. Aimbot.Size = UDim2.new(0, 147, 0, 29)
  342. Aimbot.Font = Enum.Font.SourceSans
  343. Aimbot.Text = "Mad Paintball 2 Aimbot"
  344. Aimbot.TextColor3 = Color3.new(0, 0, 0)
  345. Aimbot.TextSize = 14
  346. Aimbot.MouseButton1Down:connect(function()
  347. _G.HitBoxSize = Vector3.new(300, 300, 300)
  348.  
  349. game:service('RunService').RenderStepped:connect(function()
  350. for i, v in pairs(game.Workspace.Camera.GameElementContainer.HITBOXES:GetDescendants()) do
  351. if v:IsA('Part') and v.Size ~= _G.HitBoxSize and v.Transparency ~= 0 and v.Name == 'Head' then v.Size = _G.HitBoxSize
  352. v.Transparency = 0
  353. end
  354. end
  355. end)
  356. end)
  357.  
  358. MP2.Name = "MP2"
  359. MP2.Parent = MainGUI
  360. MP2.BackgroundColor3 = Color3.new(1, 1, 1)
  361. MP2.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  362. MP2.Position = UDim2.new(0.357758611, 0, 0.0156657994, 0)
  363. MP2.Size = UDim2.new(0, 147, 0, 29)
  364. MP2.Font = Enum.Font.SourceSans
  365. MP2.Text = "Mad Paintball 2"
  366. MP2.TextColor3 = Color3.new(0, 0, 0)
  367. MP2.TextSize = 14
  368. MP2.MouseButton1Down:connect(function()
  369. game.ReplicatedStorage.GameMain.Select:FireServer("BuySlot", {"2Slots1Day", -2e99})
  370. end)
  371.  
  372. MG.Name = "MG"
  373. MG.Parent = MainGUI
  374. MG.BackgroundColor3 = Color3.new(1, 1, 1)
  375. MG.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  376. MG.Position = UDim2.new(0.357758611, 0, 0.112271547, 0)
  377. MG.Size = UDim2.new(0, 147, 0, 29)
  378. MG.Font = Enum.Font.SourceSans
  379. MG.Text = "Mini Golf"
  380. MG.TextColor3 = Color3.new(0, 0, 0)
  381. MG.TextSize = 14
  382. MG.MouseButton1Down:connect(function()
  383. local credit = game.Players.LocalPlayer.PlayerGui.Credits.Credit.Text
  384. game.Workspace.UpdateCredit:FireServer(2147483512 - credit)
  385. end)
  386.  
  387. TextLabel_3.Parent = MainGUI
  388. TextLabel_3.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  389. TextLabel_3.Position = UDim2.new(0.706896544, 0, 0, 0)
  390. TextLabel_3.Size = UDim2.new(0, 136, 0, 19)
  391. TextLabel_3.Font = Enum.Font.SourceSans
  392. TextLabel_3.Text = "Credits:"
  393. TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
  394. TextLabel_3.TextSize = 14
  395.  
  396. IB.Name = "IB"
  397. IB.Parent = MainGUI
  398. IB.BackgroundColor3 = Color3.new(1, 1, 1)
  399. IB.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  400. IB.Position = UDim2.new(0.356546223, 0, 0.206829578, 0)
  401. IB.Size = UDim2.new(0, 147, 0, 29)
  402. IB.Font = Enum.Font.SourceSans
  403. IB.Text = "Ice Breaker"
  404. IB.TextColor3 = Color3.new(0, 0, 0)
  405. IB.TextSize = 14
  406. IB.MouseButton1Down:connect(function()
  407. while wait() do
  408.  
  409. game.ReplicatedStorage.removeDebris:FireServer(30)
  410.  
  411. end
  412. end)
  413.  
  414. CB.Name = "CB"
  415. CB.Parent = MainGUI
  416. CB.BackgroundColor3 = Color3.new(1, 1, 1)
  417. CB.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  418. CB.Position = UDim2.new(0.356546223, 0, 0.306928247, 0)
  419. CB.Size = UDim2.new(0, 147, 0, 29)
  420. CB.Font = Enum.Font.SourceSans
  421. CB.Text = "Crate Bait"
  422. CB.TextColor3 = Color3.new(0, 0, 0)
  423. CB.TextSize = 14
  424. CB.MouseButton1Down:connect(function()
  425. while wait(0.1)do
  426. workspace.GiveRobux:FireServer()
  427. end
  428. end)
  429.  
  430. BAGP.Name = "BAGP"
  431. BAGP.Parent = MainGUI
  432. BAGP.BackgroundColor3 = Color3.new(1, 1, 1)
  433. BAGP.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  434. BAGP.Position = UDim2.new(0.0186242461, 0, 0.406088203, 0)
  435. BAGP.Size = UDim2.new(0, 147, 0, 29)
  436. BAGP.Font = Enum.Font.SourceSans
  437. BAGP.Text = "Boys And Girls Paradise"
  438. BAGP.TextColor3 = Color3.new(0, 0, 0)
  439. BAGP.TextSize = 14
  440. BAGP.MouseButton1Down:connect(function()
  441. game.ReplicatedStorage.GameEvents.PurchaseItemFunction:InvokeServer("BlueJayFedora", -999999)
  442. end)
  443.  
  444. TextLabel_4.Parent = MainGUI
  445. TextLabel_4.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  446. TextLabel_4.Position = UDim2.new(0.706896544, 0, 0.0496083535, 0)
  447. TextLabel_4.Size = UDim2.new(0, 136, 0, 19)
  448. TextLabel_4.Font = Enum.Font.SourceSans
  449. TextLabel_4.Text = "Syntax"
  450. TextLabel_4.TextColor3 = Color3.new(1, 1, 1)
  451. TextLabel_4.TextSize = 14
  452.  
  453. TextLabel_5.Parent = MainGUI
  454. TextLabel_5.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  455. TextLabel_5.Position = UDim2.new(0.706896544, 0, 0.0992167071, 0)
  456. TextLabel_5.Size = UDim2.new(0, 136, 0, 19)
  457. TextLabel_5.Font = Enum.Font.SourceSans
  458. TextLabel_5.Text = "Luci"
  459. TextLabel_5.TextColor3 = Color3.new(1, 1, 1)
  460. TextLabel_5.TextSize = 14
  461.  
  462. TextLabel_6.Parent = MainGUI
  463. TextLabel_6.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  464. TextLabel_6.Position = UDim2.new(0.706896544, 0, 0.754569173, 0)
  465. TextLabel_6.Size = UDim2.new(0, 136, 0, 19)
  466. TextLabel_6.Font = Enum.Font.SourceSans
  467. TextLabel_6.Text = "Discord: Syntax#3736"
  468. TextLabel_6.TextColor3 = Color3.new(1, 1, 1)
  469. TextLabel_6.TextSize = 14
  470.  
  471. TextLabel_7.Parent = MainGUI
  472. TextLabel_7.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  473. TextLabel_7.Position = UDim2.new(0.706896544, 0, 0.148825064, 0)
  474. TextLabel_7.Size = UDim2.new(0, 136, 0, 19)
  475. TextLabel_7.Font = Enum.Font.SourceSans
  476. TextLabel_7.Text = "_Cry_"
  477. TextLabel_7.TextColor3 = Color3.new(1, 1, 1)
  478. TextLabel_7.TextSize = 14
  479. ESP_2.Name = "ESP"
  480. ESP_2.Parent = MainGUI
  481. ESP_2.BackgroundColor3 = Color3.new(1, 1, 1)
  482. ESP_2.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  483. ESP_2.Position = UDim2.new(0.019396551, 0, 0.872062624, 0)
  484. ESP_2.Size = UDim2.new(0, 147, 0, 29)
  485. ESP_2.Font = Enum.Font.SourceSans
  486. ESP_2.Text = "Aimworks 3.2"
  487. ESP_2.TextColor3 = Color3.new(0, 0, 0)
  488. ESP_2.TextSize = 14
  489. ESP_2.MouseButton1Down:connect(function()
  490. -- /$$$$$$ /$$$$$$ /$$ /$$ /$$ /$$ /$$$$$$ /$$$$$$$ /$$ /$$ /$$$$$$ /$$$$$$ /$$$$$$
  491. -- /$$__ $$|_ $$_/| $$$ /$$$| $$ /$ | $$ /$$__ $$| $$__ $$| $$ /$$/ /$$__ $$ /$$__ $$ /$$__ $$
  492. -- | $$ \ $$ | $$ | $$$$ /$$$$| $$ /$$$| $$| $$ \ $$| $$ \ $$| $$ /$$/ | $$ \__/ |__/ \ $$ |__/ \ $$
  493. -- | $$$$$$$$ | $$ | $$ $$/$$ $$| $$/$$ $$ $$| $$ | $$| $$$$$$$/| $$$$$/ | $$$$$$ /$$$$$/ /$$$$$$/
  494. -- | $$__ $$ | $$ | $$ $$$| $$| $$$$_ $$$$| $$ | $$| $$__ $$| $$ $$ \____ $$ |___ $$ /$$____/
  495. -- | $$ | $$ | $$ | $$\ $ | $$| $$$/ \ $$$| $$ | $$| $$ \ $$| $$\ $$ /$$ \ $$ /$$ \ $$ | $$
  496. -- | $$ | $$ /$$$$$$| $$ \/ | $$| $$/ \ $$| $$$$$$/| $$ | $$| $$ \ $$| $$$$$$/ | $$$$$$//$$| $$$$$$$$
  497. -- |__/ |__/|______/|__/ |__/|__/ \__/ \______/ |__/ |__/|__/ \__/ \______/ \______/|__/|________/
  498. -- "IT ACTUALLY WORKS THIS TIME"
  499.  
  500.  
  501. -- AIMWORKS 3.2: NEARLY DECENT..
  502. -- THE GREATEST AIMBOT ON ROBLOX
  503. -- AND PROBABLY THE BUGGIEST TOO
  504. -- BUT WHATEVER IT'S GOOD ENOUGH
  505. -- WRITTEN BY UNREAL AND SCAPTER
  506. -- THANKS AUSTIN, CACA22, SAFAZI
  507. -- THANKS THETRUERIAS TOO UR GR8
  508. -- THANKS FOR CHOOSING FAZE SHIT
  509. -- SHOUTOUT TO CHROME/XETRICS XD
  510.  
  511. -- i should probably be using userinputservice
  512. -- tbh i shud probably get working on proper FOV stuffs
  513. -- prune dead vars
  514. -- FOV restrictions
  515. -- ESPP :D(Chams - Scap)
  516.  
  517. -- added in this version (3.1): huge amount of bug fixes, even uglier code (i keep impressing myself with how bad this can get... i need 2 rewrite this soon),
  518.  
  519. local accuracy = 80
  520. local aimkey = "f" --Disable/Enable AimWorks
  521. local toggle_teamcheck = "h" --Ez-Pz Fix so people don't have to rejoin on FFA/TDM Games.
  522. local lassokey = "q" --Disable/Enable Lasso Rendering
  523. local control = "p" --Hide/UnHide Gui
  524. local headshot = 35
  525. local ignoreFOV = true
  526. local ignoreWalls = true
  527. local perfect_aim = true
  528. local perfect_aim_firstperson_distance = 28
  529. local rage_triggers = false --Elysian Only
  530. local RenderLassos = true
  531. local ShootingTeam = false -- will target neutral people anyways XDDD
  532. local SpreadControlRadius = Vector3.new(25, 25, 15) -- the larger you make those numbers the more likely your bullet is to hit. anything above 25, 25, 25 is a bit much. try 15, 15, 5
  533. local trigger_speed = 0.1
  534. local triggers = false --Elysian Only
  535. local Chams = true --Works now!??!!?
  536.  
  537. --Player Whitelist(People who don't get shot at.)
  538. local Whitelist = {"ihanks", "Lua_Environment", "like_clockwork", "Gin_Freecs", "AimWorks"}
  539. for i,v in pairs(game.Players:GetChildren()) do --Adds anyone in-game who's friends with the Currenet player into the list.
  540. if game.Players.LocalPlayer:IsFriendsWith(v.userId) then
  541. table.insert(Whitelist, v.Name)
  542. end
  543. end
  544.  
  545. game.Players.PlayerAdded:connect(function(player) --Adds friends to whitelist if they're just joining the game.
  546. if game.Players.LocalPlayer:IsFriendsWith(player.userId) then
  547. table.insert(Whitelist, player.Name)
  548. end
  549. end)
  550.  
  551. -- todo --
  552. _G.SwordFightMode = false -- stuff that i am testing goes in _G. so i can toggle it
  553.  
  554. -- aim engine vars
  555. -- todo: more priorities
  556. -- prune dead vars
  557. local aim_through_list = {nil, nil, nil}
  558. local bone_name
  559. local camera = workspace.CurrentCamera
  560. local closest_distance
  561. local deathBlock
  562. local distance
  563. local FilteringEnabled = workspace.FilteringEnabled
  564. local huge = math.huge
  565. local in_fov
  566. local lasso
  567. local localplayer = game:GetService("Players").LocalPlayer
  568. local most_viable_player
  569. local mouse = localplayer:GetMouse()
  570. local CreatorId = game.CreatorId
  571. local players_service = game:GetService("Players")
  572. local position
  573. local random = math.random
  574. local ray = Ray.new
  575. local ray_start
  576. local running = true
  577. local sleeping
  578. local target
  579. local tele_bone
  580. local targ_bone
  581. local ticksslept = 0
  582. local trigger_debounce
  583. local vector
  584. local viableplayers = {}
  585.  
  586. local function FindInstance(instance_className, search_directory) -- i can inline this in a LOT of places... plus i can very very easily make this return a table of all found parts if a certain parameter is passed... might add that feature to my boilerplate
  587.  
  588. if not search_directory then return end
  589.  
  590. for i, v in pairs(search_directory:GetChildren()) do
  591. if v.className == instance_className then
  592. return(v)
  593. end
  594. end
  595.  
  596. end
  597.  
  598. local function CreateBlockOfDeath()
  599.  
  600. if deathBlock then deathBlock:Destroy() end
  601.  
  602. deathBlock = Instance.new("Part", workspace)
  603. deathBlock.CanCollide = false
  604. deathBlock.Size = SpreadControlRadius
  605. deathBlock.Locked = true
  606. mouse.TargetFilter = deathBlock
  607. return deathBlock -- unnecessary
  608.  
  609. end -- Finished
  610.  
  611. local function ReturnsScreenCoordinatesAsVectorAndFOVChecksAsBool(player, bone) -- note: figure out what i wanted to do with datas in here
  612.  
  613. if not bone then
  614. return {_, false}
  615. end
  616.  
  617. return camera:WorldToScreenPoint(player.Character[bone].Position)
  618.  
  619. end
  620.  
  621. local function ReturnsPlayerCheckResults(player)
  622.  
  623. -- Checks teams. If we won't shoot teammates and they're a teammate when we're not neutral, target them. We do this now because it can save a lot of FPS.
  624. if not ShootingTeam then -- if not shooting teammates
  625. if player.TeamColor == localplayer.TeamColor then -- if we're not shooting teammates and they're teammates
  626. if not (player.Neutral and localplayer.Neutral) then -- if we're not shooting teammates and they're teammates and they're not neutral
  627. return false
  628. end
  629. end
  630. end
  631.  
  632. --Read through player 'Whitelist'
  633. for i,v in pairs(Whitelist) do
  634. if player.Name == v then
  635. return false
  636. end
  637. end
  638.  
  639. -- Checks if person is yourself.
  640. if player == localplayer then
  641. return false
  642. end
  643.  
  644. -- Checks if the player can be hurt.
  645. if FindInstance("ForceField", player.Character) or FindInstance("Humanoid", player.Character, true).MaxHealth == huge then
  646. return false
  647. end
  648.  
  649. -- Checks if they're dead.
  650. if FindInstance("Humanoid", player.Character, true).Health == 0 then
  651. return false
  652. end
  653.  
  654. -- Checks if person is in FOV.
  655. local screen_position, in_fov = ReturnsScreenCoordinatesAsVectorAndFOVChecksAsBool(player, "Torso")
  656. if not (in_fov or ignoreFOV) then
  657. return false
  658. else
  659. return player, screen_position
  660. end
  661.  
  662. end
  663.  
  664. local function ReturnsBoneOrFalse(player)
  665.  
  666. if perfect_aim then
  667. return (FilteringEnabled and "Head" or "Left Arm") -- should be Head or left arm
  668. end
  669.  
  670. if not (random(1, 100) <= accuracy) then
  671. return false
  672. end
  673.  
  674. if (random(1, 100) <= headshot) and FilteringEnabled then
  675. return "Head"
  676. end
  677.  
  678. return "Left Arm" -- should be left arm
  679.  
  680. end
  681.  
  682.  
  683. -- rewrite for cursor distance checks then optimize
  684. local function ReturnsViablePlayerOrNil() -- this is a clusterfuck i should probably branch this off into more functions... especially one for raycasting
  685. aim_through_list[1], aim_through_list[2] = deathBlock, localplayer.Character
  686. local distance = 1000
  687. local closest_distance = 1000
  688. local most_viable_player = nil
  689.  
  690. -- FPS optimizations for shitty pcs... should more than double FPS in some situations. not really necessary for me :D..
  691. -- if sleeping and ticksslept ~= 15 then
  692. -- ticksslept = ticksslept + 1
  693. -- return target
  694. -- end
  695.  
  696. local your_character = localplayer.Character
  697. local your_head = your_character and your_character:FindFirstChild "Head"
  698.  
  699. for i, player_being_checked in pairs(players_service:GetPlayers()) do -- getplayers is underrated
  700.  
  701. local player_or_false, targets_coordinates = ReturnsPlayerCheckResults(player_being_checked)
  702.  
  703. if player_or_false then
  704.  
  705. local char = player_being_checked.Character
  706. local target_torso = char and char:FindFirstChild "Torso" -- where the ray will aim/shoot for
  707.  
  708. if target_torso then
  709.  
  710. -- phantom fuckery tbh
  711. -- aim ahead (why arent we just taking advantage of ignorerays austin tf) of gun sights... Swag :O
  712. if (camera.Focus.p - camera.CoordinateFrame.p).magnitude <= 1 then
  713. ray_start = your_head.Position + your_head.CFrame.lookVector * 10 + Vector3.new(0, 3, 0)
  714. else
  715. ray_start = your_head.Position + Vector3.new(0, 2, 0)
  716. end
  717.  
  718. -- ray_start = your_head.Position + your_head.CFrame.lookVector * 10 + Vector3.new(0, 3, 0) -- doododoo do DOODODOododoDoERFAhaagr
  719.  
  720. if not targets_coordinates then -- unnecessary rn
  721. distance = (Vector2.new(targets_coordinates.X, targets_coordinates.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude -- broken
  722. else
  723. distance = (Vector2.new(targets_coordinates.X, targets_coordinates.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude
  724. end
  725. vector = (target_torso.Position - ray_start)
  726.  
  727. -- distance = vector -- bug
  728.  
  729. if (not targets_coordinates) or (distance <= closest_distance) then
  730.  
  731. -- create ray that starts at 'ray_start' and points towards the target
  732. local new_ray = ray(ray_start, vector.unit * 1000) -- "fire" ray and make sure to ignore our own character
  733. local hit, position = workspace:FindPartOnRayWithIgnoreList(new_ray, aim_through_list) -- check if the ray hit anything and if it's a descendant of the target's character
  734.  
  735. if (hit and hit:isDescendantOf(char)) or ignoreWalls then
  736. -- only change closest_distance if the target character is visible
  737. closest_distance = distance
  738. most_viable_player = player_being_checked
  739. end -- hit or ignore walls
  740.  
  741. end -- meets distance or no priority
  742.  
  743. end -- closes player_or_false
  744.  
  745. end -- closes player_or_false check
  746. end -- closes table loop
  747.  
  748. blockName = ReturnsBoneOrFalse(most_viable_player)
  749. sleeping = true
  750. return most_viable_player
  751.  
  752. end -- closes function
  753.  
  754.  
  755. function CreateChams()
  756. if Chams then
  757. for _,q in pairs(camera:GetChildren()) do
  758. if q:IsA("BoxHandleAdornment") then
  759. q:Destroy()
  760. end
  761. end
  762. for _,v in pairs(game.Players:GetChildren()) do
  763. if v.Name ~= game.Players.LocalPlayer.Name and v.Character then
  764. for _,c in pairs(v.Character:GetChildren()) do
  765. if c.Name ~= "Head" and c:IsA("BasePart") then
  766. for _,p in pairs(Whitelist) do
  767. if v.TeamColor == game.Players.LocalPlayer.TeamColor or v.Name == p then
  768. local esp = Instance.new("BoxHandleAdornment", camera)
  769. esp.Color3 = Color3.new(0, 255, 0)
  770. esp.Size = c.Size
  771. esp.AlwaysOnTop = true
  772. esp.ZIndex = 1
  773. esp.Adornee = c
  774. elseif v.TeamColor ~= game.Players.LocalPlayer.TeamColor then
  775. local esp = Instance.new("BoxHandleAdornment", camera)
  776. esp.Color3 = Color3.new(255, 0, 0)
  777. esp.Size = c.Size
  778. esp.AlwaysOnTop = true
  779. esp.ZIndex = 1
  780. esp.Adornee = c
  781. end
  782. end
  783. end
  784. end
  785. end
  786. end
  787. end
  788. end
  789.  
  790. CreateChams()
  791.  
  792. game.Workspace.ChildAdded:connect(function(child)
  793. if child:IsA("Model") or child:IsA("Folder") or child:IsA("BasePart") then
  794. CreateChams()
  795. end
  796. end)
  797.  
  798. game.Workspace.ChildRemoved:connect(function(child)
  799. if child:IsA("Model") or child:IsA("Folder") then
  800. CreateChams()
  801. end
  802. end)
  803.  
  804. game.Players.LocalPlayer.Changed:connect(function()
  805. CreateChams()
  806. end)
  807.  
  808. local function TargetPlayer(player) -- this needs to be refactored
  809.  
  810. -- not needed anymore unless you want sticky aim (this can be a good thing) or the aimbot lags you
  811. -- sticky aim would be defined as "wont instantly target another guy if they enter the screen"
  812.  
  813. -- if ticksslept == 15 then -- ok
  814. -- ticksslept = 0
  815. -- sleeping = false
  816. -- end
  817.  
  818. if aim_through_list[3] then
  819. aim_through_list[3].Position = aim_through_list[3].Position + Vector3.new(0,200,0)
  820. table.remove(aim_through_list, 3)
  821. end
  822.  
  823. if not player then -- i see this and i pretty much give up on rewriting
  824. if lasso then lasso:Destroy() lasso = nil end -- this feels wrong. i cant stand reusing code outside functions >:(
  825. target = nil
  826. lasso = Instance.new("SelectionPointLasso", camera)
  827. lasso.Humanoid, lasso.Point = FindInstance("Humanoid", localplayer.Character, true), mouse.Hit.p
  828. lasso.Color3 = Color3.new(0,255,0)
  829. return -- this one line here determines a surprising amount about how the aimbot works XD
  830. -- thats not a good thing :(
  831. end
  832.  
  833. if RenderLassos then -- should be snaplassos... always gon be lassos tbh
  834. if lasso then lasso:Destroy() lasso = nil end
  835. lasso = Instance.new("SelectionPartLasso", camera)
  836. lasso.Humanoid, lasso.Part = FindInstance("Humanoid", player.Character, true), game.Players.LocalPlayer.Character.Torso
  837. lasso.Color3 = Color3.new(0,255,0)
  838. end
  839.  
  840. bone_name = ReturnsBoneOrFalse(player)
  841.  
  842. if player.Character.Head and bone_name then
  843. -- this lets us force headshots :D
  844. tele_bone = player.Character[bone_name]
  845. tele_bone.Parent = player.Character
  846. tele_bone.Size = SpreadControlRadius
  847. tele_bone.CanCollide = false
  848. tele_bone.CFrame = CFrame.new(workspace.CurrentCamera.CoordinateFrame.p + workspace.CurrentCamera.CoordinateFrame.lookVector * perfect_aim_firstperson_distance, workspace.CurrentCamera.CoordinateFrame.p) -- // thx to my main man safazi,,,, for this and for showing me the magic of coordinateframe <3
  849. tele_bone.Transparency=1
  850. tele_bone:ClearAllChildren()
  851. table.insert(aim_through_list, 3, tele_bone)
  852. -- swager
  853. target = player
  854. return player
  855.  
  856. end
  857.  
  858. if bone_name then
  859. deathBlock.Parent = player.Character
  860. deathBlock.CanCollide = false
  861. deathBlock.Name = bone_name
  862. else
  863. return
  864. end
  865.  
  866. target = player
  867. return player
  868.  
  869. end
  870.  
  871.  
  872. --[[
  873.  
  874. INIT PROCESS DOCUMENTATION:
  875.  
  876. 1] CREATE DEATHBLOCK
  877. 2] MAKE DEATHBLOCK REGENERATE
  878. 3] USE BINDTORENDERSTEP TO START AIMBOT LOOP
  879. 4] DETECT KEY INPUT (WITHOUT USERINPUTSERVICE. I KNOW THAT IM LAME)
  880.  
  881. ]]--
  882.  
  883.  
  884. CreateBlockOfDeath()
  885. workspace.DescendantRemoving:connect(function(instance)
  886. if instance == deathBlock then CreateBlockOfDeath() end
  887. end)
  888. -- Keeps blockie safe :33 XD
  889.  
  890. -- test? havent tried
  891. local function shoot() -- elysian only :33333 XDd. bother jordan, not mememememe.
  892.  
  893. if not mouse1press then return end
  894.  
  895. if trigger_debounce then return end
  896.  
  897. trigger_debounce = true
  898.  
  899. if rage_triggers and mouse1press() then
  900.  
  901. mouse1press()
  902. wait(0.1)
  903. mouse1release()
  904.  
  905. elseif mouse1press then
  906.  
  907. mouse1press()
  908. wait(0)
  909. mouse1release()
  910. wait(trigger_speed)
  911.  
  912. end
  913.  
  914. trigger_debounce = false
  915.  
  916. end
  917.  
  918. -- refaactorrrr
  919. game:GetService("RunService"):BindToRenderStep("First", Enum.RenderPriority.First.Value, function() -- another clusterfuck
  920.  
  921. if running then
  922. if localplayer.Character then -- pretty sure i do this in getviableplayer lmao tbh
  923. TargetPlayer(ReturnsViablePlayerOrNil())
  924. if target and target.Character then
  925. if localplayer:GetMouse().Target == deathBlock then return end -- praise targetfilter!
  926. -- later
  927. -- deathBlock.CFrame = CFrame.new(localplayer.Character.Head.Position + (mouse.Hit.p + localplayer.Character.Head.Position).unit * 16)
  928. -- print(deathBlock)
  929. if triggers then shoot() end
  930. else
  931. deathBlock.Parent = workspace
  932. end
  933. end
  934. end
  935.  
  936. end)
  937.  
  938. local Keys = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  939. Keys.Name = "AimWorks Container"
  940. local Frame = Instance.new("Frame", Keys)
  941. Frame.Name = "Holder"
  942. Frame.BackgroundColor3 = Color3.new(62/255, 62/255, 62/255)
  943. Frame.BackgroundTransparency = 0.3
  944. Frame.BorderSizePixel = 2
  945. Frame.BorderColor3 = Color3.new(255,255,255)
  946. Frame.Size = UDim2.new(0, 200, 0, 300)
  947. Frame.Position = UDim2.new(0, 0, 0.5, 0)
  948. local Aim = Instance.new("TextLabel", Frame)
  949. Aim.BackgroundTransparency = 1
  950. Aim.Size = UDim2.new(0, 200, 0, 100)
  951. Aim.FontSize = "Size32"
  952. Aim.Font = "SourceSans"
  953. Aim.Text = " Rendering Lassos: "..tostring(RenderLassos).." \n Key: "..lassokey
  954. Aim.TextColor3 = Color3.new(255, 255, 255)
  955. Aim.TextXAlignment = "Left"
  956. Aim.TextStrokeTransparency = 0
  957. Aim.TextYAlignment = "Top"
  958. Aim.TextWrapped = true
  959. local Team = Instance.new("TextLabel", Frame)
  960. Team.Position = UDim2.new(0, 0, 0, 100)
  961. Team.BackgroundTransparency = 1
  962. Team.Size = UDim2.new(0, 200, 0, 100)
  963. Team.FontSize = "Size32"
  964. Team.Font = "SourceSans"
  965. Team.Text = " Team Check: \n "..tostring(ShootingTeam).." \n Key: "..toggle_teamcheck
  966. Team.TextColor3 = Color3.new(255, 255, 255)
  967. Team.TextXAlignment = "Left"
  968. Team.TextStrokeTransparency = 0
  969. Team.TextYAlignment = "Top"
  970. Team.TextWrapped = true
  971. local Run = Instance.new("TextLabel", Frame)
  972. Run.Position = UDim2.new(0, 0, 0, 200)
  973. Run.BackgroundTransparency = 1
  974. Run.Size = UDim2.new(0, 200, 0, 100)
  975. Run.FontSize = "Size32"
  976. Run.Font = "SourceSans"
  977. Run.Text = " Running: "..tostring(running).." \n Key: "..aimkey
  978. Run.TextColor3 = Color3.new(255, 255, 255)
  979. Run.TextXAlignment = "Left"
  980. Run.TextStrokeTransparency = 0
  981. Run.TextYAlignment = "Top"
  982. Run.TextWrapped = true
  983.  
  984. local keydown = mouse.KeyDown:connect(function(keys)
  985. if (keys == aimkey) then
  986. running = not running
  987. if (running) then
  988. print("[SILENTAIM] activated.")
  989. Run.Text = " Running: "..tostring(running).." \n Key: "..aimkey
  990. else
  991. print("[SILENTAIM] deactivated.")
  992. Run.Text = " Running: "..tostring(running).." \n Key: "..aimkey
  993. end
  994. end
  995. end)
  996.  
  997. local keydowns = mouse.KeyDown:connect(function(keys)
  998. if (keys == toggle_teamcheck) then
  999. if (ShootingTeam) then
  1000. print("[SILENTAIM] Team Shooting deactivated")
  1001. ShootingTeam = false
  1002. Team.Text = " Team Check: \n "..tostring(ShootingTeam).." \n Key: "..toggle_teamcheck
  1003. else
  1004. print("[SILENTAIM] Team Shooting activated")
  1005. ShootingTeam = true
  1006. Team.Text = " Team Check: \n "..tostring(ShootingTeam).." \n Key: "..toggle_teamcheck
  1007. end
  1008. end
  1009. end)
  1010.  
  1011. local keydowns = mouse.KeyDown:connect(function(keys)
  1012. if (keys == lassokey) then
  1013. if (RenderLassos) then
  1014. print("[SILENTAIM] No Longer Rendering Lassos")
  1015. RenderLassos = false
  1016. Aim.Text = " Rendering Lassos: "..tostring(RenderLassos).." \n Key: "..lassokey
  1017. else
  1018. print("[SILENTAIM] Rendering Lassos")
  1019. RenderLassos = true
  1020. Aim.Text = " Rendering Lassos: "..tostring(RenderLassos).." \n Key: "..lassokey
  1021. end
  1022. end
  1023. end)
  1024.  
  1025. local keydowns = mouse.KeyDown:connect(function(keys)
  1026. if (keys == control) then
  1027. if (Frame.Visible == true) then
  1028. Frame.Visible = false
  1029. else
  1030. Frame.Visible = true
  1031. end
  1032. end
  1033. end)
  1034. end)
  1035.  
  1036. PFESP.Name = "PFESP"
  1037. PFESP.Parent = MainGUI
  1038. PFESP.BackgroundColor3 = Color3.new(1, 1, 1)
  1039. PFESP.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  1040. PFESP.Position = UDim2.new(0.355603427, 0, 0.872062624, 0)
  1041. PFESP.Size = UDim2.new(0, 147, 0, 29)
  1042. PFESP.Font = Enum.Font.SourceSans
  1043. PFESP.Text = "PF ESP"
  1044. PFESP.TextColor3 = Color3.new(0, 0, 0)
  1045. PFESP.TextSize = 14
  1046. PFESP.MouseButton1Down:connect(function()
  1047. --Updated aimbot it will now work!
  1048. ESP = true --Do you want ESP?
  1049. Aimbot = true --Do you want Aimbot?
  1050. IgnoreWalls = true --Do you want to shoot through walls?
  1051. _G.Legit = true --Do you always want to shoot headshots?
  1052. BeepEffect = true --Do you want it to make a sound when someone comes close to you from behind?
  1053. BeepSound = 138081500 --What sound do you want to play when someone comes behind you (BeepEffect must be enabled for it to work)
  1054. BeepSize = 8 --How large should the red dot be?
  1055. BeepVolume = 1 --Max volume for the SoundID(1 is max, 0 is nothing.)
  1056. TimeDelay = 6 --If you look at the person it won't beep again until the timedelay is up (BeepEffect must be enabled)
  1057. SoundDelay = 2 --Time before a new sound is played. (Useful if many people spawn on the same person so you won't hear 999 beeps)
  1058. DetectionTime = 1 --How long should you wait to make sure the person is looking at you to beep?
  1059. BehindDetectionTime = 1 --How long should you wait to check if the person is behind you?
  1060.  
  1061. Sniper = {"INTERVENTION", "REMINGTON 700", "AWS", "L115A3", "MOSIN NAGANT", "OBREZ"}
  1062. SpecialSniper = {"BFG 50", "SFG 50"}
  1063. WeakSniper = {"MK11", "SKS", "SCAR SSR", "DRAGUNOV SVU", "HENRY 45-70"}
  1064. SMG = {"SCAR-H", "AG-3", "M4A1", "G36C", "M4", "L22", "SCAR PDW", "SR-3M", "P90", "AUG A3 PARA", "AK12", "AN-94", "AS VAL", "SCAR-L", "AUG A1", "M16A4", "G36", "M16A3", "AUG A2", "FAMAS", "AK44", "AUG A3", "L85A2", "HONEY BADGER", "AK74", "AKM", "M231"}
  1065. WeakSMG = {"MP5K", "UMP45", "MP7", "MAC10", "MP5", "COLT SMG 635", "MP5SD", "MP10", "MP5/10", "KRISS VECTOR"}
  1066. ShotGun = {"REMINGTON 870", "KSG 12", "KS-23M", "SERBU SHOTGUN"}
  1067. LMG = {"COLT LMG", "M60", "AUG HBAR", "MG36", "L86 LSW", "RPK", "SCAR HAMR", "RPK74"}
  1068. Other = {"M9", "GLOCK 17", "M1911", "DEAGLE 44", "GLOCK 18", "M93R", "TEC9", "MP412 REX"}
  1069. Melee = {"KNIFE", "MACHETE"}
  1070.  
  1071. warn("Version: 1.0.0, Welcome To Project Bear's ESP, Report bugs to the Project Bear Discord.")
  1072.  
  1073.  
  1074. local camera = workspace.CurrentCamera
  1075. local ScreenX, ScreenY = workspace.CurrentCamera.ViewportSize.X, workspace.CurrentCamera.ViewportSize.Y
  1076. local inversePi = 1 / math.pi
  1077. _G.FOV = 9
  1078. local magic = _G.FOV*inversePi
  1079. _G.ignoreFOV = false
  1080. local aim_through_list = {nil, nil, nil}
  1081. local distance
  1082. local ignore
  1083. local distance2
  1084. Pixels = ScreenX * ScreenY
  1085. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  1086. Radius = math.sqrt(Pixels*magic)
  1087. local viable
  1088. local your_head = game:GetService("Players").LocalPlayer.Character:FindFirstChild("Head")
  1089. local ray_start
  1090. local vector
  1091. _G.ignoreWalls = true
  1092. _G.ShootingTeam = false
  1093. local enabled = false
  1094. local target
  1095.  
  1096.  
  1097. local function ReturnF(player, bone)
  1098. if not bone and player.Character:FindFirstChild(bone) then
  1099. return {_, false}
  1100. end
  1101. return camera:WorldToScreenPoint(player.Character[bone].Position)
  1102. end
  1103. local function checksight(player)
  1104. local screen_position, in_fov = ReturnF(player, "Head") -- end my life
  1105. if not (in_fov or _G.ignoreFOV) then
  1106. return false
  1107. else -- bug here with fov checks
  1108. if (not _G.ignoreFOV) and (_G.FOV~=-1) then
  1109. local distance2 = (Vector2.new(screen_position.X, screen_position.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude
  1110. if distance2<=Radius then
  1111. return player, screen_position
  1112. end
  1113. return false
  1114. else
  1115. return player, screen_position
  1116. end
  1117. end
  1118. end
  1119.  
  1120.  
  1121. local function ViableP()
  1122. aim_through_list[1] = game:GetService("Players").LocalPlayer.Character
  1123. local distance = 1000
  1124. local closest_distance = 1000
  1125. local most_viable_player = nil
  1126. for i, player_being_checked in pairs(game:GetService("Players"):GetPlayers()) do
  1127. local player_or_false, targets_coordinates = checksight(player_being_checked)
  1128. if (player_or_false) then
  1129. local char = player_being_checked.Character
  1130. local target_torso = char and char:FindFirstChild "Torso"
  1131. if (camera.Focus.p - camera.CoordinateFrame.p).magnitude <= 1 then
  1132. ray_start = your_head.Position + your_head.CFrame.lookVector * 16 + Vector3.new(0, 4, 0)
  1133. else
  1134. ray_start = your_head.Position + Vector3.new(0, 4, 0)
  1135. end
  1136. if not targets_coordinates then
  1137. distance = (Vector2.new(targets_coordinates.X, targets_coordinates.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude
  1138. else
  1139. distance = (Vector2.new(targets_coordinates.X, targets_coordinates.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude
  1140. end
  1141. vector = (target_torso.Position - ray_start)
  1142. if char:FindFirstChild("Head") then
  1143. if (not targets_coordinates) or (distance <= closest_distance) then
  1144. local new_ray = Ray.new(ray_start, vector.unit * 1000) -- "fire" ray and make sure to ignore our own character
  1145. local hit, position = workspace:FindPartOnRayWithIgnoreList(new_ray, aim_through_list) -- check if the ray hit anything and if it's a descendant of the target's character
  1146. if (hit and hit:isDescendantOf(char)) or _G.ignoreWalls then
  1147. if char.HumanoidRootPart:FindFirstChild("ESP") then
  1148. if char.HumanoidRootPart.ESP.Frame.BackgroundColor3 == Color3.new(1, 0.666667, 0) or char.HumanoidRootPart.ESP.Frame.BackgroundColor3 == Color3.new(0, 1, 0.498039) then
  1149. closest_distance = distance
  1150. most_viable_player = player_being_checked
  1151. target = player_being_checked
  1152. else
  1153. if IgnoreWalls == false then
  1154. most_viable_player = nil
  1155. target = nil
  1156. elseif IgnoreWalls == true then
  1157. closest_distance = distance
  1158. most_viable_player = player_being_checked
  1159. target = player_being_checked
  1160.  
  1161. end
  1162. end
  1163. else
  1164.  
  1165. if IgnoreWalls == false then
  1166. most_viable_player = nil
  1167. target = nil
  1168. elseif IgnoreWalls == true then
  1169. closest_distance = distance
  1170. most_viable_player = player_being_checked
  1171. target = player_being_checked
  1172.  
  1173. end
  1174.  
  1175. end
  1176. else
  1177. most_viable_player = nil
  1178. target = nil
  1179. end -- hit or ignore walls
  1180. end -- meets distance or no priority
  1181. end
  1182. end
  1183. end
  1184. return most_viable_player
  1185. end
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191. game:GetService("RunService").Heartbeat:connect(function()
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197. if Aimbot == true then
  1198. ViableP()
  1199. workspace.DeadBody:ClearAllChildren()
  1200. wep = nil
  1201. for i,v in pairs(workspace.Camera:GetChildren()) do
  1202. if v:FindFirstChild("Flame") then
  1203. wep = v
  1204. break
  1205. end
  1206. end
  1207. if wep and target ~= nil then
  1208. if target.TeamColor ~= game:GetService("Players").LocalPlayer.TeamColor then
  1209. wep.Flame.Size = Vector3.new(1,5,1)
  1210. wep.Flame.Anchored = true
  1211. if target.Character:FindFirstChild("Head") then
  1212. if _G.Legit == false then
  1213. wep.Flame.CFrame = target.Character.Head.CFrame*CFrame.new(0,0,1.9) -- this is where the magic is
  1214. elseif _G.Legit == true then
  1215. wep = false
  1216. Type = nil
  1217.  
  1218. Current = nil
  1219. for i,v in pairs(workspace.CurrentCamera:GetChildren()) do
  1220. if v.Name ~= "Right Arm" and v.Name ~= "Left Arm" then
  1221. if v:IsA("Model") then
  1222. if v:FindFirstChild("Flame") then
  1223. Current = v
  1224. break
  1225. end
  1226. end
  1227. end
  1228. end
  1229.  
  1230. if wep == false then
  1231. for i = 1,#LMG do
  1232. if Current ~= nil then
  1233. if LMG[i] == Current.Name then
  1234. wep = true
  1235. Type = "LMG"
  1236. break
  1237. end
  1238. end
  1239. end
  1240. end
  1241.  
  1242. if wep == false then
  1243. for i = 1,#SMG do
  1244. if Current ~= nil then
  1245. if SMG[i] == Current.Name then
  1246. wep = true
  1247. Type = "SMG"
  1248. break
  1249. end
  1250. end
  1251. end
  1252. end
  1253.  
  1254. if wep == false then
  1255. for i = 1,#WeakSMG do
  1256. if Current ~= nil then
  1257. if WeakSMG[i] == Current.Name then
  1258. wep = true
  1259. Type = "WeakSMG"
  1260. break
  1261. end
  1262. end
  1263. end
  1264. end
  1265.  
  1266. if wep == false then
  1267. for i = 1,#Other do
  1268. if Current ~= nil then
  1269. if Other[i] == Current.Name then
  1270. wep = true
  1271. Type = "Other"
  1272. break
  1273. end
  1274. end
  1275. end
  1276. end
  1277.  
  1278. if wep == false then
  1279. for i = 1,#ShotGun do
  1280. if Current ~= nil then
  1281. if ShotGun[i] == Current.Name then
  1282. wep = true
  1283. Type = "ShotGun"
  1284. break
  1285. end
  1286. end
  1287. end
  1288. end
  1289. if Type == nil then
  1290. random = math.random(1,3)
  1291. if random == 1 then
  1292. Current.Flame.CFrame = target.Character.Head.CFrame*CFrame.new(0,0,0.1) -- this is where the magic is
  1293. end
  1294. if random >= 2 and random <= 3 then
  1295. Current.Flame.CFrame = target.Character.Torso.CFrame*CFrame.new(0,0,0.1) -- this is where the magic is
  1296. end
  1297. elseif Type == "LMG" then
  1298. if ((game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position - target.Character.HumanoidRootPart.Position).magnitude) <= 150 then
  1299. random = math.random(1,6)
  1300. if random == 1 then
  1301. Current.Flame.CFrame = target.Character.Head.CFrame*CFrame.new(0,0,0.1) -- this is where the magic is
  1302. end
  1303. if random >= 2 and random <= 3 then
  1304. Current.Flame.CFrame = target.Character.Torso.CFrame*CFrame.new(0,0,0.1) -- this is where the magic is
  1305. end
  1306. if random >= 4 and random <= 6 then
  1307. Current.Flame.CFrame = CFrame.new(0,0,0)
  1308. end
  1309. else
  1310. random = math.random(1,10)
  1311. if random == 1 then
  1312. Current.Flame.CFrame = target.Character.Head.CFrame*CFrame.new(0,0,0.1) -- this is where the magic is
  1313. end
  1314. if random >= 2 and random <= 3 then
  1315. Current.Flame.CFrame = target.Character.Torso.CFrame*CFrame.new(0,0,0.1) -- this is where the magic is
  1316. end
  1317. if random >= 4 and random <= 10 then
  1318. Current.Flame.CFrame = CFrame.new(0,0,0)
  1319. end
  1320.  
  1321. end
  1322. elseif Type == "ShotGun" then
  1323. random = math.random(1,5)
  1324. if random == 1 then
  1325. Current.Flame.CFrame = target.Character.Head.CFrame*CFrame.new(0,0,0.1) -- this is where the magic is
  1326. end
  1327. if random >= 2 and random <= 3 then
  1328. Current.Flame.CFrame = target.Character.Torso.CFrame*CFrame.new(0,0,0.1) -- this is where the magic is
  1329. end
  1330. if random >= 4 and random <= 5 then
  1331. Current.Flame.CFrame = CFrame.new(0,0,0)
  1332. end
  1333. elseif Type == "WeakSMG" or Type == "SMG" then
  1334. if ((game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position - target.Character.HumanoidRootPart.Position).magnitude) <= 125 then
  1335. random = math.random(1,6)
  1336. if random == 1 then
  1337. Current.Flame.CFrame = target.Character.Head.CFrame*CFrame.new(0,0,0.1) -- this is where the magic is
  1338. end
  1339. if random >= 2 and random <= 3 then
  1340. Current.Flame.CFrame = target.Character.Torso.CFrame*CFrame.new(0,0,0.1) -- this is where the magic is
  1341. end
  1342. if random >= 4 and random <= 6 then
  1343. Current.Flame.CFrame = CFrame.new(0,0,0)
  1344. end
  1345. else
  1346. random = math.random(1,8)
  1347. if random == 1 then
  1348. Current.Flame.CFrame = target.Character.Head.CFrame*CFrame.new(0,0,0.1) -- this is where the magic is
  1349. end
  1350. if random >= 2 and random <= 3 then
  1351. Current.Flame.CFrame = target.Character.Torso.CFrame*CFrame.new(0,0,0.1) -- this is where the magic is
  1352. end
  1353. if random >= 4 and random <= 8 then
  1354. Current.Flame.CFrame = CFrame.new(0,0,0)
  1355. end
  1356.  
  1357. end
  1358. elseif Type == "Other" then
  1359. random = math.random(1,6)
  1360. if random == 1 then
  1361. Current.Flame.CFrame = target.Character.Head.CFrame*CFrame.new(0,0,0.1) -- this is where the magic is
  1362. end
  1363. if random >= 2 and random <= 4 then
  1364. Current.Flame.CFrame = target.Character.Torso.CFrame*CFrame.new(0,0,0.1) -- this is where the magic is
  1365. end
  1366. if random >= 5 and random <= 6 then
  1367. Current.Flame.CFrame = CFrame.new(0,0,0)
  1368. end
  1369. end
  1370. end
  1371. end
  1372. end
  1373. end
  1374. end
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380. if ESP == true then
  1381. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  1382. pass = false
  1383. if workspace:FindFirstChild(v.Name) then
  1384. if v.Team == game:GetService("Players").LocalPlayer.Team then
  1385. if v.Character:FindFirstChild("HumanoidRootPart") then
  1386. if v.Character.HumanoidRootPart:FindFirstChild("ESP") then
  1387. v.Character.HumanoidRootPart.ESP:Destroy()
  1388. end
  1389. end
  1390. end
  1391. if v.Team ~= game:GetService("Players").LocalPlayer.Team then
  1392. if v.Character:FindFirstChild("HumanoidRootPart") then
  1393. for i,v in pairs(v.Character:GetChildren()) do
  1394. if v:IsA("Model") then
  1395. pass = true
  1396. break
  1397. end
  1398. end
  1399.  
  1400. shirt = nil
  1401. passer = false
  1402. for i,v in pairs(v.Character:GetChildren()) do
  1403. if v:IsA("Shirt") then
  1404. shirt = v
  1405. break
  1406. end
  1407. end
  1408.  
  1409. for i,v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do
  1410. if v:IsA("Shirt") then
  1411. if shirt ~= nil then
  1412. if v.Name ~= shirt.Name then
  1413. passer = true
  1414. break
  1415. end
  1416. end
  1417. end
  1418. end
  1419.  
  1420. if passer == true then
  1421. if v.Character:FindFirstChild("HumanoidRootPart") then
  1422. if v.Character.HumanoidRootPart:FindFirstChild("ESP") then
  1423.  
  1424. v.Character.HumanoidRootPart.ESP.TextLabel.Text = v.Name.." Distance: "..math.floor(((game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position - v.Character.HumanoidRootPart.Position).magnitude))
  1425.  
  1426. hitting = false
  1427.  
  1428.  
  1429. local ray = Ray.new(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p, (v.Character.HumanoidRootPart.CFrame.p - game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p).unit * 2000)
  1430. local part, position = workspace:FindPartOnRayWithIgnoreList(ray, {game:GetService("Players").LocalPlayer.Character, workspace.CurrentCamera, workspace.Ignore}, false, true)
  1431. if part then
  1432. if part.Parent == v.Character then
  1433. hitting = true
  1434. end
  1435. end
  1436. if hitting == false then
  1437. elseif hitting == true then
  1438. v.Character.HumanoidRootPart.ESP.Frame.BackgroundColor3 = Color3.new(0, 1, 0.498039)
  1439. end
  1440.  
  1441. if hitting == false then
  1442. local ray = Ray.new(game:GetService("Players").LocalPlayer.Character.Head.CFrame.p, (v.Character.Head.CFrame.p - game:GetService("Players").LocalPlayer.Character.Head.CFrame.p).unit * 2000)
  1443. local part, position = workspace:FindPartOnRayWithIgnoreList(ray, {game:GetService("Players").LocalPlayer.Character, workspace.CurrentCamera, workspace.Ignore}, false, true)
  1444. if part then
  1445. if part.Parent == v.Character then
  1446. hitting = true
  1447. end
  1448. end
  1449. if hitting == false then
  1450. v.Character.HumanoidRootPart.ESP.Frame.BackgroundColor3 = Color3.new(1, 0, 0)
  1451. elseif hitting == true then
  1452. v.Character.HumanoidRootPart.ESP.Frame.BackgroundColor3 = Color3.new(0, 1, 0.498039)
  1453. end
  1454.  
  1455. if hitting == false then
  1456. elseif hitting == true then
  1457. v.Character.HumanoidRootPart.ESP.Frame.BackgroundColor3 = Color3.new(0, 1, 0.498039)
  1458. end
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470. if hitting == false then
  1471. local ray = Ray.new(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p, (v.Character.HumanoidRootPart.CFrame.p - game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p).unit * 2000)
  1472. local part, position = workspace:FindPartOnRayWithIgnoreList(ray, {game:GetService("Players").LocalPlayer.Character, workspace.CurrentCamera, workspace.Ignore}, false, true)
  1473. if part then
  1474. if part:IsA("BasePart") then
  1475.  
  1476. CurrentGun = nil
  1477. for i,v in pairs(workspace.CurrentCamera:GetChildren()) do
  1478. if v.Name ~= "Right Arm" and v.Name ~= "Left Arm" then
  1479. if v:IsA("Model") then
  1480. if v:FindFirstChild("Flame") then
  1481. CurrentGun = v
  1482. break
  1483. end
  1484. end
  1485. end
  1486. end
  1487.  
  1488. found = false
  1489.  
  1490. if found == false then
  1491. for i = 1,#Sniper do
  1492. if CurrentGun ~= nil then
  1493. if Sniper[i] == CurrentGun.Name then
  1494. found = true
  1495. Min = 2.75
  1496. Max = 3
  1497. break
  1498. end
  1499. end
  1500. end
  1501. end
  1502.  
  1503. if found == false then
  1504. for i = 1,#SpecialSniper do
  1505. if CurrentGun ~= nil then
  1506. if SpecialSniper[i] == CurrentGun.Name then
  1507. found = true
  1508. Min = 3.25
  1509. Max = 3.5
  1510. break
  1511. end
  1512. end
  1513. end
  1514. end
  1515.  
  1516. if found == false then
  1517. for i = 1,#WeakSniper do
  1518. if CurrentGun ~= nil then
  1519. if WeakSniper[i] == CurrentGun.Name then
  1520. found = true
  1521. Min = 2.75
  1522. Max = 3
  1523. break
  1524. end
  1525. end
  1526. end
  1527. end
  1528.  
  1529. if found == false then
  1530. for i = 1,#WeakSMG do
  1531. if CurrentGun ~= nil then
  1532. if WeakSMG[i] == CurrentGun.Name then
  1533. found = true
  1534. Min = 2.25
  1535. Max = 3
  1536. break
  1537. end
  1538. end
  1539. end
  1540. end
  1541.  
  1542. if found == false then
  1543. for i = 1,#SMG do
  1544. if CurrentGun ~= nil then
  1545. if SMG[i] == CurrentGun.Name then
  1546. found = true
  1547. Min = 2.5
  1548. Max = 3
  1549. break
  1550. end
  1551. end
  1552. end
  1553. end
  1554.  
  1555. if found == false then
  1556. for i = 1,#ShotGun do
  1557. if CurrentGun ~= nil then
  1558. if ShotGun[i] == CurrentGun.Name then
  1559. found = true
  1560. Min = 2.75
  1561. Max = 3
  1562. break
  1563. end
  1564. end
  1565. end
  1566. end
  1567.  
  1568. if found == false then
  1569. for i = 1,#LMG do
  1570. if CurrentGun ~= nil then
  1571. if LMG[i] == CurrentGun.Name then
  1572. found = true
  1573. Min = 2.5
  1574. Max = 3
  1575. break
  1576. end
  1577. end
  1578. end
  1579. end
  1580.  
  1581. if found == false then
  1582. for i = 1,#Other do
  1583. if CurrentGun ~= nil then
  1584. if Other[i] == CurrentGun.Name then
  1585. found = true
  1586. Min = 0
  1587. Max = 0
  1588. break
  1589. end
  1590. end
  1591. end
  1592. end
  1593.  
  1594. if found == false then
  1595. for i = 1,#Melee do
  1596. if CurrentGun ~= nil then
  1597. if Melee[i] == CurrentGun.Name then
  1598. found = true
  1599. Min = 0
  1600. Max = 0
  1601. break
  1602. end
  1603. end
  1604. end
  1605. end
  1606.  
  1607. if found == false then
  1608. Min = 0
  1609. Max = 0
  1610. end
  1611.  
  1612. if part.Parent.Name == "Map" then
  1613. if part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y >= Max then
  1614. hitting = true
  1615. parter = part
  1616. elseif part.Size.X <= Min and part.Size.Z >= Max and part.Size.Y >= Max then
  1617. hitting = true
  1618. parter = part
  1619. elseif part.Size.X <= Min and part.Size.Z >= Max and part.Size.Y <= Min then
  1620. hitting = true
  1621. parter = part
  1622. elseif part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y <= Min then
  1623. hitting = true
  1624. parter = part
  1625. elseif part.Size.X <= Min and part.Size.Z >= Min and part.Size.Y <= Min then
  1626. hitting = true
  1627. parter = part
  1628. elseif part.Size.X >= Max and part.Size.Z <= Min and part.Size.Y <= Min then
  1629. hitting = true
  1630. parter = part
  1631. elseif part.Size.X >= Max and part.Size.Z >= Max and part.Size.Y <= Min-1 then
  1632. hitting = true
  1633. parter = part
  1634. elseif part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y <= Max then
  1635. hitting = true
  1636. parter = part
  1637. elseif part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y >= Max then
  1638. hitting = true
  1639. parter = part
  1640. elseif part.Size.X <= Min or part.Size.Z <= Min or part.Size.Z <= Min then
  1641. hitting = true
  1642. parter = part
  1643. end
  1644. end
  1645. end
  1646. end
  1647. if hitting == true then
  1648. hitting = false
  1649. part = parter
  1650. list = {}
  1651. pos1 = part.Position - (part.Size/2) - Vector3.new(0.01,0.01,0.01)
  1652. pos2 = part.Position + (part.Size/2) + Vector3.new(0.01,0.01,0.01)
  1653. Reg = Region3.new(pos1, pos2)
  1654. TouchingParts = game.Workspace:FindPartsInRegion3(Reg)
  1655. o = 1
  1656. if TouchingParts ~= nil then
  1657. for i,v in pairs(TouchingParts) do
  1658. if v ~= parter then
  1659.  
  1660.  
  1661. part = v
  1662. if part.Parent.Name == "Map" then
  1663. if part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y >= Max then
  1664. hitting = true
  1665. parter = part
  1666. elseif part.Size.X <= Min and part.Size.Z >= Max and part.Size.Y >= Max then
  1667. hitting = true
  1668. parter = part
  1669. elseif part.Size.X <= Min and part.Size.Z >= Max and part.Size.Y <= Min then
  1670. hitting = true
  1671. parter = part
  1672. elseif part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y <= Min then
  1673. hitting = true
  1674. parter = part
  1675. elseif part.Size.X <= Min and part.Size.Z >= Min and part.Size.Y <= Min then
  1676. hitting = true
  1677. parter = part
  1678. elseif part.Size.X >= Max and part.Size.Z <= Min and part.Size.Y <= Min then
  1679. hitting = true
  1680. parter = part
  1681. elseif part.Size.X >= Max and part.Size.Z >= Max and part.Size.Y <= Min-1 then
  1682. hitting = true
  1683. parter = part
  1684. elseif part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y <= Max then
  1685. hitting = true
  1686. parter = part
  1687. elseif part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y >= Max then
  1688. hitting = true
  1689. parter = part
  1690. elseif part.Size.X <= Min or part.Size.Z <= Min or part.Size.Z <= Min then
  1691. hitting = true
  1692. parter = part
  1693. end
  1694. end
  1695.  
  1696.  
  1697. if hitting == true then
  1698. table.insert(list, o, v)
  1699. o = o + 1
  1700. end
  1701. end
  1702. end
  1703. end
  1704.  
  1705. hitting = false
  1706.  
  1707. part = parter
  1708.  
  1709. pos1 = part.Position + (part.Size/2) + Vector3.new(0.01,0.01,0.01)
  1710. pos2 = part.Position - (part.Size/2) - Vector3.new(0.01,0.01,0.01)
  1711.  
  1712. local ray = Ray.new(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p, (v.Character.HumanoidRootPart.CFrame.p - game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p).unit * 2000)
  1713. local part, position = workspace:FindPartOnRayWithIgnoreList(ray, {game:GetService("Players").LocalPlayer.Character, workspace.CurrentCamera, workspace.Ignore, parter, unpack(list)}, false, true)
  1714. if part then
  1715. if part.Parent == v.Character then
  1716. hitting = true
  1717. end
  1718. end
  1719. if hitting == false then
  1720. v.Character.HumanoidRootPart.ESP.Frame.BackgroundColor3 = Color3.new(1, 0, 0)
  1721. elseif hitting == true then
  1722. if ((parter.Position - v.Character.HumanoidRootPart.Position).magnitude) <= 40 then
  1723. v.Character.HumanoidRootPart.ESP.Frame.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  1724. else
  1725. v.Character.HumanoidRootPart.ESP.Frame.BackgroundColor3 = Color3.new(1, 0, 0)
  1726. end
  1727. end
  1728.  
  1729. elseif hitting == false then
  1730. v.Character.HumanoidRootPart.ESP.Frame.BackgroundColor3 = Color3.new(1, 0, 0)
  1731. end
  1732. end
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740.  
  1741.  
  1742.  
  1743. if hitting == false then
  1744. local ray = Ray.new(game:GetService("Players").LocalPlayer.Character.Head.CFrame.p, (v.Character.Head.CFrame.p - game:GetService("Players").LocalPlayer.Character.Head.CFrame.p).unit * 2000)
  1745. local part, position = workspace:FindPartOnRayWithIgnoreList(ray, {game:GetService("Players").LocalPlayer.Character, workspace.CurrentCamera, workspace.Ignore}, false, true)
  1746. if part then
  1747. if part:IsA("BasePart") then
  1748.  
  1749. CurrentGun = nil
  1750. for i,v in pairs(workspace.CurrentCamera:GetChildren()) do
  1751. if v.Name ~= "Right Arm" and v.Name ~= "Left Arm" then
  1752. if v:IsA("Model") then
  1753. if v:FindFirstChild("Flame") then
  1754. CurrentGun = v
  1755. break
  1756. end
  1757. end
  1758. end
  1759. end
  1760.  
  1761. found = false
  1762.  
  1763. if found == false then
  1764. for i = 1,#Sniper do
  1765. if CurrentGun ~= nil then
  1766. if Sniper[i] == CurrentGun.Name then
  1767. found = true
  1768. Min = 2.75
  1769. Max = 3
  1770. break
  1771. end
  1772. end
  1773. end
  1774. end
  1775.  
  1776. if found == false then
  1777. for i = 1,#SpecialSniper do
  1778. if CurrentGun ~= nil then
  1779. if SpecialSniper[i] == CurrentGun.Name then
  1780. found = true
  1781. Min = 3.25
  1782. Max = 3.5
  1783. break
  1784. end
  1785. end
  1786. end
  1787. end
  1788.  
  1789. if found == false then
  1790. for i = 1,#WeakSniper do
  1791. if CurrentGun ~= nil then
  1792. if WeakSniper[i] == CurrentGun.Name then
  1793. found = true
  1794. Min = 2.75
  1795. Max = 3
  1796. break
  1797. end
  1798. end
  1799. end
  1800. end
  1801.  
  1802. if found == false then
  1803. for i = 1,#WeakSMG do
  1804. if CurrentGun ~= nil then
  1805. if WeakSMG[i] == CurrentGun.Name then
  1806. found = true
  1807. Min = 2.25
  1808. Max = 3
  1809. break
  1810. end
  1811. end
  1812. end
  1813. end
  1814.  
  1815. if found == false then
  1816. for i = 1,#SMG do
  1817. if CurrentGun ~= nil then
  1818. if SMG[i] == CurrentGun.Name then
  1819. found = true
  1820. Min = 2.5
  1821. Max = 3
  1822. break
  1823. end
  1824. end
  1825. end
  1826. end
  1827.  
  1828. if found == false then
  1829. for i = 1,#ShotGun do
  1830. if CurrentGun ~= nil then
  1831. if ShotGun[i] == CurrentGun.Name then
  1832. found = true
  1833. Min = 2.75
  1834. Max = 3
  1835. break
  1836. end
  1837. end
  1838. end
  1839. end
  1840.  
  1841. if found == false then
  1842. for i = 1,#LMG do
  1843. if CurrentGun ~= nil then
  1844. if LMG[i] == CurrentGun.Name then
  1845. found = true
  1846. Min = 2.5
  1847. Max = 3
  1848. break
  1849. end
  1850. end
  1851. end
  1852. end
  1853.  
  1854. if found == false then
  1855. for i = 1,#Other do
  1856. if CurrentGun ~= nil then
  1857. if Other[i] == CurrentGun.Name then
  1858. found = true
  1859. Min = 0
  1860. Max = 0
  1861. break
  1862. end
  1863. end
  1864. end
  1865. end
  1866.  
  1867. if found == false then
  1868. for i = 1,#Melee do
  1869. if CurrentGun ~= nil then
  1870. if Melee[i] == CurrentGun.Name then
  1871. found = true
  1872. Min = 0
  1873. Max = 0
  1874. break
  1875. end
  1876. end
  1877. end
  1878. end
  1879.  
  1880. if found == false then
  1881. Min = 0
  1882. Max = 0
  1883. end
  1884.  
  1885. if part.Parent.Name == "Map" then
  1886. if part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y >= Max then
  1887. hitting = true
  1888. parter = part
  1889. elseif part.Size.X <= Min and part.Size.Z >= Max and part.Size.Y >= Max then
  1890. hitting = true
  1891. parter = part
  1892. elseif part.Size.X <= Min and part.Size.Z >= Max and part.Size.Y <= Min then
  1893. hitting = true
  1894. parter = part
  1895. elseif part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y <= Min then
  1896. hitting = true
  1897. parter = part
  1898. elseif part.Size.X <= Min and part.Size.Z >= Min and part.Size.Y <= Min then
  1899. hitting = true
  1900. parter = part
  1901. elseif part.Size.X >= Max and part.Size.Z <= Min and part.Size.Y <= Min then
  1902. hitting = true
  1903. parter = part
  1904. elseif part.Size.X >= Max and part.Size.Z >= Max and part.Size.Y <= Min-1 then
  1905. hitting = true
  1906. parter = part
  1907. elseif part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y <= Max then
  1908. hitting = true
  1909. parter = part
  1910. elseif part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y >= Max then
  1911. hitting = true
  1912. parter = part
  1913. elseif part.Size.X <= Min or part.Size.Z <= Min or part.Size.Z <= Min then
  1914. hitting = true
  1915. parter = part
  1916. end
  1917. end
  1918. end
  1919. end
  1920. if hitting == true then
  1921. hitting = false
  1922. part = parter
  1923. list = {}
  1924. pos1 = part.Position - (part.Size/2) - Vector3.new(0.01,0.01,0.01)
  1925. pos2 = part.Position + (part.Size/2) + Vector3.new(0.01,0.01,0.01)
  1926. Reg = Region3.new(pos1, pos2)
  1927. TouchingParts = game.Workspace:FindPartsInRegion3(Reg)
  1928. o = 1
  1929. if TouchingParts ~= nil then
  1930. for i,v in pairs(TouchingParts) do
  1931. if v ~= parter then
  1932.  
  1933.  
  1934. part = v
  1935. if part.Parent.Name == "Map" then
  1936. if part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y >= Max then
  1937. hitting = true
  1938. parter = part
  1939. elseif part.Size.X <= Min and part.Size.Z >= Max and part.Size.Y >= Max then
  1940. hitting = true
  1941. parter = part
  1942. elseif part.Size.X <= Min and part.Size.Z >= Max and part.Size.Y <= Min then
  1943. hitting = true
  1944. parter = part
  1945. elseif part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y <= Min then
  1946. hitting = true
  1947. parter = part
  1948. elseif part.Size.X <= Min and part.Size.Z >= Min and part.Size.Y <= Min then
  1949. hitting = true
  1950. parter = part
  1951. elseif part.Size.X >= Max and part.Size.Z <= Min and part.Size.Y <= Min then
  1952. hitting = true
  1953. parter = part
  1954. elseif part.Size.X >= Max and part.Size.Z >= Max and part.Size.Y <= Min-1 then
  1955. hitting = true
  1956. parter = part
  1957. elseif part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y <= Max then
  1958. hitting = true
  1959. parter = part
  1960. elseif part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y >= Max then
  1961. hitting = true
  1962. parter = part
  1963. elseif part.Size.X <= Min or part.Size.Z <= Min or part.Size.Z <= Min then
  1964. hitting = true
  1965. parter = part
  1966. end
  1967. end
  1968.  
  1969.  
  1970. if hitting == true then
  1971. table.insert(list, o, v)
  1972. o = o + 1
  1973. end
  1974. end
  1975. end
  1976. end
  1977.  
  1978. hitting = false
  1979.  
  1980. part = parter
  1981.  
  1982. pos1 = part.Position + (part.Size/2) + Vector3.new(0.01,0.01,0.01)
  1983. pos2 = part.Position - (part.Size/2) - Vector3.new(0.01,0.01,0.01)
  1984.  
  1985. local ray = Ray.new(game:GetService("Players").LocalPlayer.Character.Head.CFrame.p, (v.Character.Head.CFrame.p - game:GetService("Players").LocalPlayer.Character.Head.CFrame.p).unit * 2000)
  1986. local part, position = workspace:FindPartOnRayWithIgnoreList(ray, {game:GetService("Players").LocalPlayer.Character, workspace.CurrentCamera, workspace.Ignore, parter, unpack(list)}, false, true)
  1987. if part then
  1988. if part.Parent == v.Character then
  1989. hitting = true
  1990. end
  1991. end
  1992. if hitting == false then
  1993. v.Character.HumanoidRootPart.ESP.Frame.BackgroundColor3 = Color3.new(1, 0, 0)
  1994. elseif hitting == true then
  1995. if ((parter.Position - v.Character.HumanoidRootPart.Position).magnitude) <= 40 then
  1996. v.Character.HumanoidRootPart.ESP.Frame.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  1997. else
  1998. v.Character.HumanoidRootPart.ESP.Frame.BackgroundColor3 = Color3.new(1, 0, 0)
  1999. end
  2000. end
  2001.  
  2002. elseif hitting == false then
  2003. v.Character.HumanoidRootPart.ESP.Frame.BackgroundColor3 = Color3.new(1, 0, 0)
  2004. end
  2005. end
  2006. end
  2007.  
  2008.  
  2009.  
  2010. elseif pass == true then
  2011. local ESP = Instance.new("BillboardGui",v.Character.HumanoidRootPart)
  2012. ESP.Name = "ESP"
  2013. ESP.Size = UDim2.new(6, 0, 8, 0)
  2014. ESP.StudsOffset = Vector3.new(0, 0.75, 0)
  2015. ESP.AlwaysOnTop = true
  2016. local Frame = Instance.new("Frame",ESP)
  2017. Frame.ZIndex = 1000
  2018. Frame.Size = UDim2.new(0.6, 0, 0.8, 0)
  2019. Frame.Position = UDim2.new(0.2, 0, 0.3, 0)
  2020. Frame.BorderSizePixel = 3
  2021. Frame.BackgroundTransparency = 0.3
  2022. Frame.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  2023. Label = Instance.new("TextLabel", ESP)
  2024. Label.Position = UDim2.new(0, 0, -0.1, 0)
  2025. Label.Size = UDim2.new(1, 0, 0.3, 0)
  2026. Label.Font = "SourceSansLight"
  2027. Label.TextColor3 = Color3.new(1,1,1)
  2028. Label.TextStrokeColor3 = Color3.new(0,0,0)
  2029. Label.TextStrokeTransparency = 0
  2030. Label.BackgroundColor3 = Color3.new(1, 1, 1)
  2031. Label.TextScaled = true
  2032. Label.Text = v.Name.." Distance: "..math.floor(((game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position - v.Character.HumanoidRootPart.Position).magnitude))
  2033. Label.BackgroundTransparency = 1
  2034. end
  2035. end
  2036. end
  2037. end
  2038. end
  2039. end
  2040. end
  2041. end
  2042. end)
  2043.  
  2044. end)
  2045.  
  2046. Extras.Name = "Extras"
  2047. Extras.Parent = MainGUI
  2048. Extras.BackgroundColor3 = Color3.new(1, 1, 1)
  2049. Extras.Position = UDim2.new(0, 0, 1, 0)
  2050. Extras.Size = UDim2.new(0, 464, 0, 100)
  2051. Extras.Active = true
  2052.  
  2053. KNIFESIM.Name = "KNIFESIM"
  2054. KNIFESIM.Parent = Extras
  2055. KNIFESIM.BackgroundColor3 = Color3.new(1, 1, 1)
  2056. KNIFESIM.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  2057. KNIFESIM.Position = UDim2.new(0.0172413588, 0, 0.0834986567, 0)
  2058. KNIFESIM.Size = UDim2.new(0, 147, 0, 29)
  2059. KNIFESIM.Font = Enum.Font.SourceSans
  2060. KNIFESIM.Text = "Knife Sim Aimbot"
  2061. KNIFESIM.TextColor3 = Color3.new(0, 0, 0)
  2062. KNIFESIM.TextSize = 14
  2063. KNIFESIM.MouseButton1Down:connect(function()
  2064. local plrs = game:service("Players")
  2065. local ms = plrs.LocalPlayer:GetMouse()
  2066. local nearest = function()
  2067. local plr,dist = nil,5000
  2068. for k,l in pairs(plrs:GetPlayers()) do
  2069. local pos = l.Character:GetPrimaryPartCFrame().p
  2070. local len = (ms.Hit.p - pos).Magnitude
  2071. if len <= dist then
  2072. plr = l
  2073. dist = len
  2074. end
  2075. end
  2076. return plr.Character:GetPrimaryPartCFrame().p
  2077. end
  2078. workspace.CurrentCamera.trash.ChildAdded:connect(function(c)
  2079. c.CFrame = CFrame.new(nearest())
  2080. end)
  2081. end)
  2082.  
  2083. HILTON.Name = "HILTON"
  2084. HILTON.Parent = Extras
  2085. HILTON.BackgroundColor3 = Color3.new(1, 1, 1)
  2086. HILTON.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  2087. HILTON.Position = UDim2.new(0.355603427, 0, 0.473498672, 0)
  2088. HILTON.Size = UDim2.new(0, 147, 0, 29)
  2089. HILTON.Font = Enum.Font.SourceSans
  2090. HILTON.Text = " Hilton Hotels GUI"
  2091. HILTON.TextColor3 = Color3.new(0, 0, 0)
  2092. HILTON.TextSize = 14
  2093. HILTON.MouseButton1Down:connect(function()
  2094. loadstring(game:GetObjects("rbxassetid://1049551978")[1].Source)()
  2095. end)
  2096.  
  2097. CBRO.Name = "CBRO"
  2098. CBRO.Parent = Extras
  2099. CBRO.BackgroundColor3 = Color3.new(1, 1, 1)
  2100. CBRO.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  2101. CBRO.Position = UDim2.new(0.357758611, 0, 0.0834986567, 0)
  2102. CBRO.Size = UDim2.new(0, 147, 0, 29)
  2103. CBRO.Font = Enum.Font.SourceSans
  2104. CBRO.Text = "Cbro Aimbot, -. RALT, RCTRL"
  2105. CBRO.TextColor3 = Color3.new(0, 0, 0)
  2106. CBRO.TextSize = 14
  2107. CBRO.MouseButton1Down:connect(function()
  2108.  
  2109.  
  2110.  
  2111. -- @Lilith.lua
  2112. -- author: lenny
  2113. local f_print, printing = print, true
  2114. local function print ( ... )
  2115. if printing then
  2116. f_print("[Lilith] - ", ...)
  2117. end
  2118. end
  2119. print "Version 1.4b, official release;"
  2120. print "Aimbot will not work in every game, such as Phantom Forces."
  2121.  
  2122. -- configuration:
  2123. local settings = {
  2124. -- hotkeys:
  2125. commandbar_Hotkey = "Minus",
  2126. esp_Hotkey = "RightAlt",
  2127. aimbot_Hotkey = "RightControl";
  2128.  
  2129. -- defaults:
  2130. esp_boxColor = "Bright red",
  2131. esp_boxTransparent = true,
  2132. esp_useTeamColorIfApplicable = true,
  2133. esp_showDistance = true,
  2134. esp_holdHotkey = false,
  2135. esp_showCharacterEspd = true,
  2136. aimbot_clickToLock = true,
  2137. aimbot_clickToLockDistanceOverride = true,
  2138. aimbot_maxDistance = 250,
  2139. aimbot_aimFor = "Head";
  2140.  
  2141. -- ignores:
  2142. esp_ignoreTeam = true,
  2143. esp_dont_ignoreSelf = false,
  2144. aimbot_ignoreWalls = false,
  2145. aimbot_ignoreTeam = false;
  2146. }
  2147.  
  2148. -- mainscript:
  2149. local Players = game:GetService("Players")
  2150. local Teams = game:GetService("Teams")
  2151. local RunService = game:GetService("RunService")
  2152. local UserInputService = game:GetService("UserInputService")
  2153.  
  2154. local localPlayer = Players.LocalPlayer
  2155. local Mouse = localPlayer:GetMouse()
  2156. local CoreGui = game:GetService("CoreGui")
  2157.  
  2158. local function findFirstChild (obj, name, sensitive)
  2159. local children = obj:GetChildren()
  2160. for i = 1, #children do
  2161. local objN = children[i].Name
  2162. if not sensitive then
  2163. objN, name = objN:lower(), name:lower()
  2164. end
  2165. if objN:sub(1, name:len()) == name then
  2166. return children[i]
  2167. end
  2168. end
  2169. end
  2170. local function setHotkey (section, keyName)
  2171. if Enum.KeyCode[keyName] then
  2172. settings[section .. '_Hotkey'] = Enum.KeyCode[keyName]
  2173. print ("Sucessfully set " .. section .. "'s hotkey to " .. keyName)
  2174. end
  2175. end setHotkey("esp", settings.esp_Hotkey); setHotkey("aimbot", settings.aimbot_Hotkey); setHotkey("commandbar", settings.commandbar_Hotkey)
  2176. local function splitString (str, delimeter)
  2177. local strParts = {}
  2178. local pattern = ("([^%s]+)"):format(delimeter)
  2179.  
  2180. str:gsub(pattern, function(section)
  2181. strParts[#strParts + 1] = section
  2182. end)
  2183. return strParts
  2184. end
  2185. local function isHumanoidAlive (character)
  2186. if character then
  2187. local humanoid = character:FindFirstChildOfClass("Humanoid")
  2188. if humanoid and humanoid.Health > 0 then
  2189. return character, humanoid
  2190. end
  2191. end
  2192. end
  2193. local function getCharacterFromPart (obj) -- made this in haste, so its unorganized!
  2194. while (obj ~= game and obj ~= workspace) and (obj.Parent and not Players:GetPlayerFromCharacter(obj.Parent)) do
  2195. obj = obj.Parent
  2196. end
  2197. return obj
  2198. end
  2199. local function viewNotObstructed (lookingAt, parent)
  2200. local character, _ = isHumanoidAlive(localPlayer.Character)
  2201. if character then
  2202. local headPos = character.Head.CFrame.p
  2203. local viewRay = Ray.new(headPos, (lookingAt.CFrame.p - headPos).unit *
  2204. settings.aimbot_maxDistance)
  2205. local object = workspace:FindPartOnRay(viewRay, character, true, true)
  2206. if object then
  2207. return object:IsDescendantOf(parent)
  2208. end
  2209. end
  2210. end
  2211. local function setColor (color)
  2212. return select(2, pcall(function()
  2213. if typeof(color) == "BrickColor" then
  2214. color = color.Color
  2215. elseif typeof(color) == "string" then
  2216. color = BrickColor.new(color).Color
  2217. end
  2218. return color
  2219. end))
  2220. end
  2221.  
  2222. -- @create objects
  2223. local ESPOBJF do
  2224. ESPOBJF = findFirstChild(CoreGui, "ESPOBJF")
  2225. if not ESPOBJF then
  2226. ESPOBJF = Instance.new("Folder", CoreGui)
  2227. ESPOBJF.Name = "ESPOBJF"
  2228. end
  2229. end
  2230. local Box, espText, aimbotText
  2231. local commandBar do
  2232. commandBar = Instance.new("ScreenGui")
  2233. commandBar.Name = "%$#@$!&"
  2234.  
  2235. local frame = Instance.new("Frame", commandBar)
  2236. frame.BackgroundTransparency = 1; frame.Size, frame.Position = UDim2.new(0.221, 0,0.111, 0), UDim2.new(0.407, 0,0.644, 0); frame.Draggable = true; frame.Active = true
  2237.  
  2238. local textlabel = Instance.new("TextLabel", frame)
  2239. textlabel.BackgroundTransparency = 1; textlabel.TextSize = 16; textlabel.TextColor3 = Color3.fromRGB(255, 255, 255); textlabel.Font = Enum.Font.SourceSansLight; textlabel.Position, textlabel.Size = UDim2.new(0.132, 0,0.1, 0), UDim2.new(0.75, 0, 0.201, 0); textlabel.ZIndex = 1; textlabel.Text = "[Lilith]"
  2240.  
  2241. Box = Instance.new("TextBox", frame)
  2242. Box.BackgroundColor3 = Color3.fromRGB(58, 58, 58); Box.BackgroundTransparency = 0.5; Box.BorderSizePixel = 0; Box.TextSize = 16; Box.TextColor3 = Color3.fromRGB(255, 255, 255); Box.Font = Enum.Font.SourceSansItalic; Box.ClipsDescendants = true; Box.ZIndex = 1; Box.Text = "press to `-` to type"; Box.Size, Box.Position = UDim2.new(0.922, 0,0.402, 0), UDim2.new(0.026, 0,0.402, 0) ; Box.TextTransparency = 0.5
  2243.  
  2244. aimbotText = textlabel:Clone()
  2245. aimbotText.Size, aimbotText.Position =UDim2.new(0.079, 0,0.201, 0), UDim2.new(0.74, 0,0.1, 0); aimbotText.TextColor3, aimbotText.Font = Color3.fromRGB(48, 48, 48), Enum.Font.SourceSansBold; aimbotText.Text = "bot"; aimbotText.Parent = frame
  2246.  
  2247. espText = textlabel:Clone()
  2248. espText.Size, espText.Position =UDim2.new(0.079, 0,0.201, 0), UDim2.new(0.184, 0,0.1, 0); espText.TextColor3, espText.Font = Color3.fromRGB(48, 48, 48), Enum.Font.SourceSansBold; espText.Text = "esp"; espText.Parent = frame
  2249. end
  2250. local active_espObjects = {}
  2251. local function clear_active_espObjects (ofParent)
  2252. if not ofParent then
  2253. ESPOBJF:ClearAllChildren()
  2254. local a = 1
  2255. while active_espObjects[a] do
  2256. if active_espObjects[a] then
  2257. active_espObjects[a]:Destroy()
  2258. end
  2259. active_espObjects[a] = nil
  2260. a = a + 1
  2261. end
  2262. else
  2263. local j = 1
  2264. while active_espObjects[j] do
  2265. local espObj = active_espObjects[j]
  2266. if espObj and espObj:IsDescendantOf(ofParent) or ((espObj:IsA("BoxHandleAdornment") or espObj:IsA("BillboardGui")) and espObj.Adornee and espObj.Adornee:IsDescendantOf(ofParent)) then
  2267. espObj:Destroy()
  2268. espObj = nil
  2269. end
  2270. j = j + 1
  2271. end
  2272. end
  2273. end
  2274. local function createEspBoxOnObj (obj, color)
  2275. local espBox do
  2276. espBox = Instance.new("BoxHandleAdornment")
  2277. espBox.AlwaysOnTop = true
  2278. espBox.ZIndex = 10
  2279. espBox.Color3 = BrickColor.new(settings.esp_boxColor).Color
  2280. end
  2281.  
  2282. local color = setColor(color)
  2283. if color then
  2284. espBox.Color3 = color
  2285. end
  2286.  
  2287. if settings.esp_boxTransparent then
  2288. espBox.Transparency = 0.8
  2289. end
  2290.  
  2291. espBox.Size = obj.Size
  2292. espBox.Adornee = obj
  2293. espBox.Parent = ESPOBJF
  2294. active_espObjects[#active_espObjects + 1] = espBox
  2295.  
  2296. return espBox
  2297. end
  2298. local function getDistanceFrom (object)
  2299. if localPlayer.Character and localPlayer.Character.Head then
  2300. return math.floor((object.Position - localPlayer.Character.Head.Position).magnitude)
  2301. else
  2302. return "err"
  2303. end
  2304. end
  2305. local function createDistTagOnCharacter (character, removeTag, color)
  2306. local _, humanoid = isHumanoidAlive(character)
  2307. if humanoid then
  2308. humanoid.Died:Connect(function()
  2309. clear_active_espObjects(character)
  2310. end)
  2311. local head = character:FindFirstChild("Head")
  2312. if head then
  2313. if ESPOBJF:findFirstChild(character.Name) then
  2314. ESPOBJF[character.Name]:Destroy()
  2315. if removeTag then
  2316. return
  2317. end
  2318. end
  2319.  
  2320. local textLabel
  2321. local distTag do
  2322. distTag = Instance.new("BillboardGui")
  2323. distTag.AlwaysOnTop = true
  2324. distTag.Enabled = true
  2325. distTag.Size = UDim2.new(0, 10,0, 50)
  2326.  
  2327. textLabel = Instance.new("TextLabel", distTag)
  2328. textLabel.Size = UDim2.new(0, 75,0, 25)
  2329. textLabel.BackgroundColor3 = (color ~= nil and color) or Color3.fromRGB(48, 48, 48)
  2330. textLabel.BackgroundTransparency = 0.5
  2331. textLabel.Font = Enum.Font.SourceSansBold
  2332. textLabel.TextSize = 18
  2333. textLabel.TextColor3 = Color3.fromRGB(255, 255 ,255)
  2334. textLabel.ClipsDescendants = true
  2335. textLabel.BorderSizePixel = 0
  2336. end
  2337. distTag.Adornee = head
  2338. distTag.Parent = ESPOBJF
  2339. distTag.Name = character.Name
  2340. textLabel.Text = character.Name
  2341. active_espObjects[#active_espObjects + 1] = distTag
  2342.  
  2343. coroutine.resume(coroutine.create(function()
  2344. local now = tick()
  2345. while isHumanoidAlive(character) and distTag do
  2346. local t = tick() - now
  2347. if t < 5 then
  2348. if textLabel.Text ~= character.Name then
  2349. textLabel.Text = character.Name
  2350. end
  2351. elseif t < 10 and t > 5 then
  2352. textLabel.Text = getDistanceFrom(head)
  2353. elseif t > 10 then
  2354. now = tick()
  2355. end
  2356. wait()
  2357. end
  2358. end))
  2359. return distTag
  2360. end
  2361. end
  2362. end
  2363.  
  2364. -- @esp component
  2365. local function esp_getPlayers ()
  2366. local players = {}
  2367. for _, player in next, Players:GetPlayers() do
  2368. if (not settings.esp_ignoreTeam and player.Team ~= localPlayer.Team) or settings.esp_ignoreTeam then
  2369. if settings.esp_dont_ignoreSelf or player ~= localPlayer then
  2370. players[#players + 1] = player
  2371. end
  2372. end
  2373. end
  2374. return players
  2375. end
  2376. function espCharacter (character, color, override)
  2377. local alreadyESPdTag = character:FindFirstChild("AESPT")
  2378. if alreadyESPdTag then
  2379. if override then
  2380. clear_active_espObjects(character)
  2381. else
  2382. return
  2383. end
  2384. end
  2385.  
  2386. local _, humanoid = isHumanoidAlive(character)
  2387. if humanoid then
  2388.  
  2389. humanoid.Died:Connect(function()
  2390. clear_active_espObjects(character)
  2391. end)
  2392. for _, part in next, character:GetChildren() do
  2393. if part:IsA("BasePart") then
  2394. createEspBoxOnObj(part, color)
  2395. end
  2396. end
  2397.  
  2398. alreadyESPdTag = Instance.new("BoolValue", character)
  2399. alreadyESPdTag.Name = "AESPT"
  2400. active_espObjects[#active_espObjects + 1] = alreadyESPdTag
  2401. end
  2402. end
  2403. local espEnabled = false
  2404. local esp_Cache = {}
  2405. function clear_esp_Cache ()
  2406. local a = 1
  2407. while esp_Cache[a] do
  2408. esp_Cache[a]:Disconnect()
  2409. esp_Cache[a] = nil
  2410. a = a + 1
  2411. end
  2412. esp_Cache = {}
  2413. end
  2414. local function handle_Esp (character)
  2415.  
  2416. local timeout = tick()
  2417. if not isHumanoidAlive(character) then
  2418. repeat wait() until isHumanoidAlive(character) or (tick() - timeout) >= 2
  2419. if not isHumanoidAlive(character) then return end
  2420. end
  2421.  
  2422. local teamColor = Players:GetPlayerFromCharacter(character).TeamColor
  2423. local color = (settings.esp_useTeamColorIfApplicable and teamColor) or settings.esp_boxColor
  2424. color = setColor(color)
  2425. if settings.esp_showCharacterEspd then
  2426. espCharacter(character, color)
  2427. end
  2428. if settings.esp_showDistance then
  2429. createDistTagOnCharacter(character, false, color)
  2430. end
  2431.  
  2432. local humanoid = character:FindFirstChildOfClass("Humanoid")
  2433. humanoid.Died:Connect(function()
  2434. clear_active_espObjects(character)
  2435. end)
  2436.  
  2437. end
  2438. local function toggle_Esp (turnOff)
  2439. if turnOff then
  2440. clear_esp_Cache()
  2441. clear_active_espObjects()
  2442. espEnabled = false
  2443. espText.TextColor3 = Color3.fromRGB(48, 48, 48)
  2444. print "ESP successfully disabled"
  2445. return
  2446. elseif not turnOff and not espEnabled then
  2447. print "Attempting to enabled ESP .."
  2448. clear_esp_Cache()
  2449. clear_active_espObjects()
  2450. local players = esp_getPlayers()
  2451. for _, player in next, players do
  2452. local rbxScriptSignal = player.CharacterAdded:Connect(function(character)
  2453. if (not espEnabled and rbxScriptSignal) then rbxScriptSignal:Disconnect(); rbxScriptSignal = nil return end
  2454. handle_Esp(character)
  2455. end); esp_Cache[#esp_Cache + 1] = rbxScriptSignal
  2456. if player.Character and isHumanoidAlive(player.Character) then
  2457. handle_Esp(player.Character)
  2458. end
  2459. end
  2460. espText.TextColor3 = Color3.fromRGB(0, 255, 0)
  2461. print "ESP successfully enabled"
  2462. end
  2463. end
  2464.  
  2465. -- @aimbot component
  2466. local targetPlayer, targetTeam, currentLock
  2467. local function clickToTarget (target, override_maxDistance)
  2468. if target and (override_maxDistance or (not override_maxDistance and getDistanceFrom(target) <= settings.aimbot_maxDistance)) then
  2469. if target.Parent and isHumanoidAlive(target.Parent) then
  2470. targetPlayer = game.Players:GetPlayerFromCharacter(target.Parent)
  2471. return true
  2472. end
  2473. end
  2474. end
  2475. local function getClosestCharacter ()
  2476. if isHumanoidAlive(localPlayer.Character) then
  2477. local closestDist, chrctr
  2478. if targetPlayer then
  2479. chrctr, _ = isHumanoidAlive(targetPlayer.Character)
  2480. if not chrctr then
  2481. chrctr = targetPlayer.CharacterAdded:wait()
  2482. end
  2483. else
  2484. local players = (targetTeam and targetTeam:GetPlayers()) or Players:GetPlayers()
  2485. for i = 1, #players do
  2486. if players[i] ~= localPlayer and (targetTeam or settings.aimbot_ignoreTeam or (not settings.aimbot_ignoreTeam and players[i].Team ~= localPlayer.Team)) then
  2487. local player = players[i]
  2488. if isHumanoidAlive(player.Character) then
  2489. local bodyPart = player.Character:FindFirstChild(settings.aimbot_aimFor)
  2490. if bodyPart then
  2491. local distanceBetween = getDistanceFrom(bodyPart)
  2492. if distanceBetween <= settings.aimbot_maxDistance and (not closestDist or distanceBetween < closestDist) then
  2493. if (settings.aimbot_ignoreWalls or (not settings.aimbot_ignoreWalls and viewNotObstructed(bodyPart, player.Character))) then
  2494. closestDist = distanceBetween
  2495. chrctr = player.character
  2496. end
  2497. end
  2498. end
  2499. end
  2500. end
  2501. end
  2502. end
  2503. return chrctr
  2504. end
  2505. end
  2506. local function targetCamera ()
  2507. if isHumanoidAlive(localPlayer.Character) then
  2508. local head = localPlayer.Character.Head
  2509. local camera = workspace.CurrentCamera
  2510. local character = (targetPlayer and isHumanoidAlive(targetPlayer.Character) and targetPlayer.Character) or getClosestCharacter()
  2511. if character and character:FindFirstChild(settings.aimbot_aimFor) then
  2512. currentLock = Players:GetPlayerFromCharacter(character)
  2513. camera.CFrame = CFrame.new(camera.CFrame.p, character[settings.aimbot_aimFor].CFrame.p)
  2514. end
  2515. end
  2516. end
  2517. aimbotEnabled = false
  2518. local function toggle_Aimbot ()
  2519. aimbotEnabled = not aimbotEnabled
  2520. print ("Aimbot successfully " .. ((aimbotEnabled and "enabled") or "disabled"))
  2521. aimbotText.TextColor3 = (aimbotEnabled and Color3.fromRGB(0, 255, 0)) or Color3.fromRGB(48, 48, 48)
  2522. end
  2523.  
  2524. -- @commandbar component
  2525. local function isSetting (settingName)
  2526. for k in next, settings do
  2527. if k:lower() == settingName:lower() then
  2528. return k
  2529. end
  2530. end
  2531. return nil
  2532. end
  2533. local function changeSetting (settingName, newValue, notBoolean)
  2534. if typeof(newValue) == "string" and not notBoolean then
  2535. if (newValue:lower() == "enable" or newValue:lower() == "true") then newValue = true
  2536. elseif (newValue:lower() == "disable" or newValue:lower() == "false") then newValue = false end
  2537. end
  2538. local k = isSetting(settingName)
  2539. if k then
  2540. settings[k] = newValue
  2541. print("changed", k, newValue)
  2542. end
  2543. end
  2544. function execute_Command (contents)
  2545. local section = contents[1]:lower()
  2546. local command = contents[2] and contents[2]:lower()
  2547.  
  2548. if (section == "enable" or section == "on") or (section == "disable" or section == "off") then
  2549. if command == "aimbot" then
  2550. aimbotEnabled = (section == "enable" or section == "on")
  2551. print ("Aimbot successfully " .. ((aimbotEnabled and "enabled") or "disabled"))
  2552. aimbotText.TextColor3 = (aimbotEnabled and Color3.fromRGB(0, 255, 0)) or Color3.fromRGB(48, 48, 48)
  2553. elseif command == "esp" then
  2554. toggle_Esp((section == "disable" or section == "off") and true)
  2555. espEnabled = (section == "enable" or section == "on")
  2556. end
  2557.  
  2558. --
  2559.  
  2560. elseif section == "esp" then
  2561. if (command == "enable" or command == "on") or (command == "disable" or command == "off") then
  2562. toggle_Esp((command == "disable" or command == "off") and true)
  2563. espEnabled = (command == "enable" or command == "on")
  2564. elseif command == "find" or command == "hide" or command:find("dist") then
  2565. local plyr = findFirstChild(Players, contents[3]:lower())
  2566. local color = (#contents > 4 and table.concat(contents, " ", 4)) or contents[4]
  2567. if color == "" or color == " " then
  2568. color = nil
  2569. end
  2570. if plyr then
  2571. if command == "showdist" or command == "hidedist" then
  2572. createDistTagOnCharacter(plyr.Character, command == "hidedist", color)
  2573. return
  2574. else
  2575. if command == "find" then
  2576. espCharacter(plyr.Character, color, true)
  2577. espEnabled = true
  2578. espText.TextColor3 = Color3.fromRGB(0, 255, 0)
  2579. elseif command == "hide" then
  2580. clear_active_espObjects(plyr.Character)
  2581. end
  2582. end
  2583. end
  2584. elseif command == "boxcolor" then
  2585. local color = (#contents > 3 and table.concat(contents, " ", 3)) or contents[3]
  2586. if color ~= " " and color ~= "" then
  2587. changeSetting("esp_boxColor", color)
  2588. toggle_Esp(true); toggle_Esp()
  2589. print "Esp reset due to setting change."
  2590. end
  2591. elseif command == "ignoreteam" or command == "dontignoreself" or command == "showdistance" or command == "showcharacterespd" or command == "holdhotkey" or command == "useteamcolorifapplicable" or command == "boxtransparent" then
  2592.  
  2593. local value = contents[3]:lower()
  2594. if command ~= "holdhotkey" then
  2595. if command == "ignoreteam" then
  2596. changeSetting("esp_ignoreTeam", value)
  2597. elseif command == "dontignoreself" then
  2598. changeSetting("esp_dont_ignoreSelf", value)
  2599. elseif command == "showdistance" then
  2600. changeSetting("esp_showDistance", value)
  2601. elseif command == "boxtransparent" then
  2602. changeSetting("esp_boxTransparent", value)
  2603. elseif command == "showcharacterespd" then
  2604. changeSetting("esp_showCharacterEspd", value)
  2605. elseif command == "useteamcolorifapplicable" then
  2606. changeSetting("esp_useTeamColorIfApplicable", value)
  2607. end
  2608. toggle_Esp(true); toggle_Esp()
  2609. print "Esp reset due to setting change."
  2610. else
  2611. changeSetting("esp_holdHotkey", value)
  2612. if settings.esp_holdHotkey then
  2613. print "Esp must now be activated by holding the hotkey."
  2614. else
  2615. print "Esp must now be toggled by pressing the hotkey."
  2616. end
  2617. toggle_Esp(true)
  2618. print "Esp turned off due to activation change."
  2619. end
  2620. elseif command == "hotkey" or command == "sethotkey" then
  2621. setHotkey("esp", contents[3])
  2622. toggle_Esp(true)
  2623. print "Esp turned off due to activation change."
  2624. end
  2625.  
  2626. --
  2627.  
  2628. elseif section == "aimbot" then
  2629. if (command == "enable" or command == "on") or (command == "disable" or command == "off") then
  2630. aimbotEnabled = (command == "enable" or command == "on")
  2631. aimbotText.TextColor3 = (aimbotEnabled and Color3.fromRGB(0, 255, 0)) or Color3.fromRGB(48, 48, 48)
  2632. print ("Aimbot successfully " .. ((aimbotEnabled and "enabled") or "disabled"))
  2633. elseif command == "target" then
  2634. local content3 = contents[3]:lower()
  2635. local plyr = findFirstChild(Players, content3)
  2636. if not plyr then
  2637. if content3 == "team" then
  2638. local content4 = (#contents > 4 and table.concat(contents, " ", 4)) or contents[4]
  2639. local team = findFirstChild(Teams, content4)
  2640. if not team and (content4 == "disable" or content4 == "__disable") then
  2641. targetTeam = nil
  2642. aimbotEnabled = false
  2643. aimbotText.TextColor3 = Color3.fromRGB(48, 48, 48)
  2644. print "Aimbot disabled; target team removed."
  2645. else
  2646. targetTeam = team
  2647. if aimbotEnabled then
  2648. aimbotEnabled = false
  2649. end
  2650. aimbotEnabled = true
  2651. aimbotText.TextColor3 = Color3.fromRGB(0, 255, 0)
  2652. print "Aimbot enabled; target team set."
  2653. end
  2654. elseif content3 == "disable" or content3 == "__disable" then
  2655. targetPlayer = nil
  2656. aimbotEnabled = false
  2657. aimbotText.TextColor3 = Color3.fromRGB(48, 48, 48)
  2658. print "Aimbot disabled; target player removed."
  2659. end
  2660. else
  2661. targetPlayer = plyr
  2662. if aimbotEnabled then
  2663. aimbotEnabled = false
  2664. end
  2665. aimbotEnabled = true
  2666. aimbotText.TextColor3 = Color3.fromRGB(0, 255, 0)
  2667. print "Aimbot target enabled; player set."
  2668. end
  2669. else
  2670. if command == "maxdistance" then
  2671. local number = tonumber(contents[3])
  2672. if number then
  2673. changeSetting("aimbot_maxDistance", number)
  2674. end
  2675.  
  2676. elseif (command == "ignorewalls" or command == "ignoreteam" or command == "aimfor" or command == "clicktolock" or command == "clicktolockdistanceoverride") then
  2677. local value = contents[3]
  2678. if command == "ignorewalls" then
  2679. changeSetting("aimbot_ignoreWalls", value)
  2680. elseif command == "ignoreteam" then
  2681. changeSetting("aimbot_ignoreTeam", value)
  2682. elseif command == "clicktolock" then
  2683. changeSetting("aimbot_clickToLock", value)
  2684. elseif command == "clicktolockdistanceoverride" then
  2685. changeSetting("aimbot_clickToLockDistanceOverride", value)
  2686. elseif command == "aimfor" then
  2687. changeSetting("aimbot_aimFor", (#contents > 3 and table.concat(contents, " ", 3) or contents[3]), true)
  2688. end
  2689. aimbotEnabled = false; aimbotEnabled = "true"
  2690. aimbotText.TextColor3 = Color3.fromRGB(0, 255, 0)
  2691. print "Aimbot reset due to setting change."
  2692.  
  2693. elseif command == "hotkey" or command == "sethotkey" then
  2694. setHotkey("aimbot", contents[3])
  2695. aimbotEnabled = false
  2696. aimbotText.TextColor3 = Color3.fromRGB(48, 48, 48)
  2697. print "Aimbot turned off due to activation change."
  2698. end
  2699. end
  2700.  
  2701.  
  2702. -- @some flexiblity
  2703. elseif section == "target" then
  2704. execute_Command({"aimbot", "target", contents[2], contents[3]})
  2705. elseif (section == "find" or section == "hide" or section:find("dist")) then
  2706. execute_Command({"esp", section, contents[2], (#contents > 3 and table.concat(contents, " ", 3) or contents[3])})
  2707.  
  2708.  
  2709. -- @basic fix
  2710. elseif section == "resetcache" then
  2711. clear_active_espObjects()
  2712. elseif section == "terminate" then
  2713. ESP_RBXScriptSignal:Disconnect()
  2714. ESP_RBXScriptSignal = nil
  2715. AIMBOT_RbxScriptSignal:Disconnect()
  2716. AIMBOT_RbxScriptSignal = nil
  2717. KEYS_RbxScriptSignal:Disconnect()
  2718. KEYS_RbxScriptSignal = nil
  2719.  
  2720. clear_esp_Cache()
  2721. clear_active_espObjects()
  2722. ESPOBJF:Destroy()
  2723. commandBar:Destroy()
  2724.  
  2725. end
  2726. end
  2727. local function on_FocusLost (enterPressed)
  2728. local content = Box.Text
  2729. Box.Text = "press `-` to type"
  2730. Box.Font = Enum.Font.SourceSansItalic
  2731. Box.TextTransparency = 0.5
  2732. if enterPressed then
  2733. if content ~= " " or content ~= "" then
  2734. execute_Command(splitString(content, " "))
  2735. end
  2736. end
  2737. end
  2738.  
  2739. -- @endscript
  2740. ESP_RBXScriptSignal = RunService.RenderStepped:Connect(function()
  2741. if not script then
  2742. return
  2743. end
  2744. if not settings.esp_holdHotkey then
  2745. return
  2746. end
  2747. if not espEnabled and UserInputService:IsKeyDown(settings.esp_Hotkey) then
  2748. toggle_Esp()
  2749. espEnabled = true
  2750. elseif espEnabled and not UserInputService:IsKeyDown(settings.esp_Hotkey) then
  2751. toggle_Esp(true)
  2752. end
  2753. end)
  2754. AIMBOT_RbxScriptSignal = RunService.RenderStepped:Connect(function()
  2755. if aimbotEnabled then
  2756. targetCamera()
  2757. end
  2758. end)
  2759. KEYS_RbxScriptSignal = UserInputService.InputBegan:Connect(function(inputObj, gpe)
  2760. local key = inputObj.KeyCode
  2761. if (key == settings.esp_Hotkey) or (key == settings.aimbot_Hotkey) or (key == settings.commandbar_Hotkey) then
  2762. if key == settings.commandbar_Hotkey and not gpe then
  2763. Box:CaptureFocus()
  2764. end
  2765. if key == settings.aimbot_Hotkey then
  2766. toggle_Aimbot()
  2767. end
  2768. if key == settings.esp_Hotkey then
  2769. if espEnabled then
  2770. toggle_Esp(true)
  2771. else
  2772. toggle_Esp()
  2773. espEnabled = true
  2774. end
  2775. end
  2776. end
  2777. end)
  2778. AIMBOTLOCK_RbxScriptSignal = Mouse.Button2Down:Connect(function()
  2779.  
  2780. local t = Mouse.Target
  2781. if not t then
  2782. return
  2783. end
  2784. if not Players:GetPlayerFromCharacter(t.Parent) then
  2785. local character = getCharacterFromPart(t)
  2786. if not character then
  2787. return
  2788. else
  2789. t = character:FindFirstChild("HumanoidRootPart")
  2790. if not t then
  2791. return
  2792. end
  2793. end
  2794. end
  2795.  
  2796. if not aimbotEnabled and settings.aimbot_clickToLock then
  2797. local success = clickToTarget(t, settings.aimbot_clickToLockDistanceOverride)
  2798. if success then
  2799. currentLock = targetPlayer
  2800. aimbotEnabled = true
  2801. aimbotText.TextColor3 = Color3.fromRGB(0, 255, 0)
  2802. print "Aimbot Enabled; target player set. [click to lock method]"
  2803. end
  2804. elseif aimbotEnabled then
  2805. if currentLock and currentLock.Character and t:IsDescendantOf(currentLock.Character) then
  2806. if targetPlayer ~= currentLock then
  2807. targetPlayer = currentLock
  2808. elseif targetPlayer == currentLock then
  2809. targetPlayer, currentLock = nil, nil
  2810. aimbotEnabled = false
  2811. aimbotText.TextColor3 = Color3.fromRGB(48, 48, 48)
  2812. print "Aimbot disabled; target player removed. [click to lock method]"
  2813. end
  2814. end
  2815. end
  2816.  
  2817. end)
  2818. Box.FocusLost:Connect(on_FocusLost)
  2819. Box.Focused:Connect(function()
  2820. Box.Font = Enum.Font.SourceSans
  2821. Box.TextTransparency = 0
  2822. end)
  2823.  
  2824. ESPOBJF.Parent = CoreGui
  2825. commandBar.Parent = CoreGui
  2826.  
  2827. end)
  2828.  
  2829. APOC.Name = "APOC"
  2830. APOC.Parent = Extras
  2831. APOC.BackgroundColor3 = Color3.new(1, 1, 1)
  2832. APOC.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  2833. APOC.Position = UDim2.new(0.0193965435, 0, 0.473498672, 0)
  2834. APOC.Size = UDim2.new(0, 147, 0, 29)
  2835. APOC.Font = Enum.Font.SourceSans
  2836. APOC.Text = "Apoc Always Sprint"
  2837. APOC.TextColor3 = Color3.new(0, 0, 0)
  2838. APOC.TextSize = 14
  2839. APOC.MouseButton1Down:Connect(function()
  2840. game.Players.LocalPlayer.PlayerGui.HitEqualsYouDie.WalkspeedEdit:Remove()
  2841. game.Players.LocalPlayer.PlayerGui.HitEqualsYouDie.JumpLimiter:Remove()
  2842. game.Workspace.LocalPlayer.Humanoid.WalkSpeed.Value = 25
  2843. end)
  2844.  
  2845. EXTRAS.Name = "EXTRAS"
  2846. EXTRAS.Parent = MainGUI
  2847. EXTRAS.BackgroundColor3 = Color3.new(1, 1, 1)
  2848. EXTRAS.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  2849. EXTRAS.Position = UDim2.new(0.706896544, 0, 0.825065374, 0)
  2850. EXTRAS.Size = UDim2.new(0, 129, 0, 29)
  2851. EXTRAS.Font = Enum.Font.SourceSans
  2852. EXTRAS.Text = "Open Extras"
  2853. EXTRAS.TextColor3 = Color3.new(0, 0, 0)
  2854. EXTRAS.TextSize = 14
  2855. EXTRAS.MouseButton1Down:connect(function()
  2856. if Extras.Visible == true then
  2857. Extras.Visible = false
  2858. else
  2859. if Extras.Visible == false then
  2860. Extras.Visible = true
  2861. end
  2862. end
  2863.  
  2864. end)
  2865.  
  2866. Open.Name = "Open"
  2867. Open.Parent = ScreenGui
  2868. Open.BackgroundColor3 = Color3.new(1, 1, 1)
  2869. Open.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  2870. Open.Position = UDim2.new(-0.000781010836, 0, -0.00140154362, 0)
  2871. Open.Size = UDim2.new(0, 147, 0, 29)
  2872. Open.Visible = false
  2873. Open.Font = Enum.Font.SourceSans
  2874. Open.Text = "Open"
  2875. Open.TextColor3 = Color3.new(0, 0, 0)
  2876. Open.TextSize = 14
  2877. Open.MouseButton1Down:connect(function()
  2878. MainGUI.Visible = true
  2879. Open.Visible = false
  2880. Close.Visible = true
  2881. end)
  2882.  
  2883. Close.Name = "Close"
  2884. Close.Parent = ScreenGui
  2885. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  2886. Close.BorderColor3 = Color3.new(0.760784, 0.760784, 0.760784)
  2887. Close.Position = UDim2.new(-0.000781010836, 0, -0.00140154362, 0)
  2888. Close.Size = UDim2.new(0, 147, 0, 29)
  2889. Close.Font = Enum.Font.SourceSans
  2890. Close.Text = "Close"
  2891. Close.TextColor3 = Color3.new(0, 0, 0)
  2892. Close.TextSize = 14
  2893. Close.MouseButton1Down:connect(function()
  2894. MainGUI.Visible = false
  2895. Open.Visible = true
  2896. Close.Visible = false
  2897. end)
Add Comment
Please, Sign In to add comment