Advertisement
zombieslayerwtf

Aimlock [Leaked]

Apr 3rd, 2018
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 54.18 KB | None | 0 0
  1. -- https://discord.gg/Hr4XUzC
  2. -- ^ All updates will go there ^
  3.  
  4. --[[
  5. Blacklist feature:
  6. Just released, you may or may not encounter problems.
  7.  
  8. Full player name is NOT requried.
  9. Saving blacklist table to a .txt file REQURIES SYNAPSE!
  10. ]]
  11.  
  12. --[[
  13. Aimbot:
  14. Enable, hold Right Click to auto lock. It'll only focus enemies. (Anyone marked in red)
  15. P.S If your bullets miss: blame the autisitc developers, who think bullets go left/right of the barrel when fired.
  16. ]]
  17.  
  18. -- Issues:
  19. -- I'm still working on Tracers, I know they can cause huge frame rate drops. (I think I got it running as smooth as it's going to get.)
  20. -- Phantom Forces: Weird positioning bug with tracers? Tracer positions a bit behind localplayer. (Maybe make the update faster? > RenderPriority.First ?
  21.  
  22. -- Settings can be found on line: 51
  23. -- Don't change anything if you don't understand.
  24.  
  25. local Plrs = game:GetService("Players")
  26. local Run = game:GetService("RunService")
  27. local CoreGui = game:GetService("CoreGui")
  28. local StartGui = game:GetService("StarterGui")
  29. local Teams = game:GetService("Teams")
  30. local UserInput = game:GetService("UserInputService")
  31. local Light = game:GetService("Lighting")
  32. local HTTP = game:GetService("HttpService")
  33. local RepStor = game:GetService("ReplicatedStorage")
  34.  
  35. function GetCamera() -- Just in case some game renames the player's camera.
  36. return workspace:FindFirstChildOfClass("Camera")
  37. end
  38.  
  39. local ChamsFolder = Instance.new("Folder", CoreGui)
  40. ChamsFolder.Name = "Chams"
  41.  
  42. local MyPlr = Plrs.LocalPlayer
  43. local MyChar = MyPlr.Character
  44. local MyMouse = MyPlr:GetMouse()
  45. local MyCam = GetCamera()
  46. if MyCam == nil then
  47. error("WHAT KIND OF BLACK MAGIC IS THIS, CAMERA NOT FOUND.")
  48. return
  49. end
  50.  
  51. local Tracers = Instance.new("Folder", MyCam)
  52. Tracers.Name = "Tracers"
  53. local TracerData = { }
  54. local TracerMT = setmetatable(TracerData, {
  55. __newindex = function(tab, index, val)
  56. rawset(tab, index, val)
  57. end
  58. })
  59.  
  60. local Bullshit = {
  61. ESPEnabled = false, -- Self explanatory. LEAVE OFF BY DEFAULT.
  62. CHAMSEnabled = false, -- Self explanatory. LEAVE OFF BY DEFAULT.
  63. TracersEnabled = false, -- Self explanatory. LEAVE OFF BY DEFAULT.
  64. DebugInfo = false, -- Self explanatory. LEAVE OFF BY DEFAULT.
  65. OutlinesEnabled = false,
  66. FullbrightEnabled = false,
  67. CrosshairEnabled = false,
  68. AimbotEnabled = false,
  69. Aimbot = false,
  70. TracersLength = 500, -- MAX DISTANCE IS 2048 DO NOT GO ABOVE OR YOU'LL ENCOUNTER PROBLEMS.
  71. ESPLength = 2048,
  72. CHAMSLength = 500,
  73. PlaceTracersUnderCharacter = false, -- Change to true if you want tracers to be placed under your character instead of at the bottom of your camera.
  74. FreeForAll = false, -- use for games that don't have teams (Apocalypse Rising)
  75. Colors = {
  76. Enemy = Color3.new(1, 0, 0),
  77. Ally = Color3.new(0, 1, 0),
  78. Friend = Color3.new(1, 1, 0),
  79. Neutral = Color3.new(1, 1, 1), -- Jailbreak only.
  80. Crosshair = Color3.new(1, 0, 0),
  81. ColorOverride = nil, -- Every player will have the chosen color regardless of enemy or ally.
  82. },
  83.  
  84. -- VVVV DON'T EDIT BELOW VVVV --
  85. ClosestEnemy = nil,
  86. CharAddedEvent = { },
  87. OutlinedParts = { },
  88. WorkspaceChildAddedEvent = nil,
  89. LightingEvent = nil,
  90. AmbientBackup = Light.Ambient,
  91. ColorShiftBotBackup = Light.ColorShift_Bottom,
  92. ColorShiftTopBackup = Light.ColorShift_Top,
  93. FPSAverage = { },
  94. Blacklist = { },
  95. CameraModeBackup = MyPlr.CameraMode,
  96. BlacklistSettings = {
  97. RemovePlayerFromBlacklistAponLeavingGame_JesusFuckingChristThisIsABigAssVariable = false,
  98. SaveBlacklist = true, -- Saves blacklist to a file. Synapse ONLY
  99. },
  100. GameSpecificCrap = { },
  101. }
  102.  
  103. -- Load blacklist file if it exists
  104. fuck = pcall(function()
  105. Bullshit.Blacklist = HTTP:JSONDecode(Synapse:ReadFile("Blacklist.txt"))
  106. end)
  107.  
  108. local DebugMenu = { }
  109. DebugMenu["SC"] = Instance.new("ScreenGui", CoreGui)
  110. DebugMenu["SC"].Name = "Debug"
  111. DebugMenu["Main"] = Instance.new("Frame", DebugMenu["SC"])
  112. DebugMenu["Main"].Name = "Debug Menu"
  113. DebugMenu["Main"].Position = UDim2.new(0, 20, 1, -220)
  114. DebugMenu["Main"].Size = UDim2.new(1, 0, 0, 200)
  115. DebugMenu["Main"].BackgroundTransparency = 1
  116. DebugMenu["Main"].Visible = false
  117. if game.PlaceId == 606849621 then
  118. DebugMenu["Main"].Position = UDim2.new(0, 230, 1, -220)
  119. end
  120. DebugMenu["Main"].Draggable = true
  121. DebugMenu["Main"].Active = true
  122. DebugMenu["Position"] = Instance.new("TextLabel", DebugMenu["Main"])
  123. DebugMenu["Position"].BackgroundTransparency = 1
  124. DebugMenu["Position"].Position = UDim2.new(0, 0, 0, 0)
  125. DebugMenu["Position"].Size = UDim2.new(1, 0, 0, 15)
  126. DebugMenu["Position"].Font = "Arcade"
  127. DebugMenu["Position"].Text = ""
  128. DebugMenu["Position"].TextColor3 = Color3.new(1, 1, 1)
  129. DebugMenu["Position"].TextSize = 15
  130. DebugMenu["Position"].TextStrokeColor3 = Color3.new(0, 0, 0)
  131. DebugMenu["Position"].TextStrokeTransparency = 0.3
  132. DebugMenu["Position"].TextXAlignment = "Left"
  133. DebugMenu["FPS"] = Instance.new("TextLabel", DebugMenu["Main"])
  134. DebugMenu["FPS"].BackgroundTransparency = 1
  135. DebugMenu["FPS"].Position = UDim2.new(0, 0, 0, 15)
  136. DebugMenu["FPS"].Size = UDim2.new(1, 0, 0, 15)
  137. DebugMenu["FPS"].Font = "Arcade"
  138. DebugMenu["FPS"].Text = ""
  139. DebugMenu["FPS"].TextColor3 = Color3.new(1, 1, 1)
  140. DebugMenu["FPS"].TextSize = 15
  141. DebugMenu["FPS"].TextStrokeColor3 = Color3.new(0, 0, 0)
  142. DebugMenu["FPS"].TextStrokeTransparency = 0.3
  143. DebugMenu["FPS"].TextXAlignment = "Left"
  144. DebugMenu["PlayerSelected"] = Instance.new("TextLabel", DebugMenu["Main"])
  145. DebugMenu["PlayerSelected"].BackgroundTransparency = 1
  146. DebugMenu["PlayerSelected"].Position = UDim2.new(0, 0, 0, 35)
  147. DebugMenu["PlayerSelected"].Size = UDim2.new(1, 0, 0, 15)
  148. DebugMenu["PlayerSelected"].Font = "Arcade"
  149. DebugMenu["PlayerSelected"].Text = ""
  150. DebugMenu["PlayerSelected"].TextColor3 = Color3.new(1, 1, 1)
  151. DebugMenu["PlayerSelected"].TextSize = 15
  152. DebugMenu["PlayerSelected"].TextStrokeColor3 = Color3.new(0, 0, 0)
  153. DebugMenu["PlayerSelected"].TextStrokeTransparency = 0.3
  154. DebugMenu["PlayerSelected"].TextXAlignment = "Left"
  155. DebugMenu["PlayerTeam"] = Instance.new("TextLabel", DebugMenu["Main"])
  156. DebugMenu["PlayerTeam"].BackgroundTransparency = 1
  157. DebugMenu["PlayerTeam"].Position = UDim2.new(0, 0, 0, 50)
  158. DebugMenu["PlayerTeam"].Size = UDim2.new(1, 0, 0, 15)
  159. DebugMenu["PlayerTeam"].Font = "Arcade"
  160. DebugMenu["PlayerTeam"].Text = ""
  161. DebugMenu["PlayerTeam"].TextColor3 = Color3.new(1, 1, 1)
  162. DebugMenu["PlayerTeam"].TextSize = 15
  163. DebugMenu["PlayerTeam"].TextStrokeColor3 = Color3.new(0, 0, 0)
  164. DebugMenu["PlayerTeam"].TextStrokeTransparency = 0.3
  165. DebugMenu["PlayerTeam"].TextXAlignment = "Left"
  166. DebugMenu["PlayerHealth"] = Instance.new("TextLabel", DebugMenu["Main"])
  167. DebugMenu["PlayerHealth"].BackgroundTransparency = 1
  168. DebugMenu["PlayerHealth"].Position = UDim2.new(0, 0, 0, 65)
  169. DebugMenu["PlayerHealth"].Size = UDim2.new(1, 0, 0, 15)
  170. DebugMenu["PlayerHealth"].Font = "Arcade"
  171. DebugMenu["PlayerHealth"].Text = ""
  172. DebugMenu["PlayerHealth"].TextColor3 = Color3.new(1, 1, 1)
  173. DebugMenu["PlayerHealth"].TextSize = 15
  174. DebugMenu["PlayerHealth"].TextStrokeColor3 = Color3.new(0, 0, 0)
  175. DebugMenu["PlayerHealth"].TextStrokeTransparency = 0.3
  176. DebugMenu["PlayerHealth"].TextXAlignment = "Left"
  177. DebugMenu["PlayerPosition"] = Instance.new("TextLabel", DebugMenu["Main"])
  178. DebugMenu["PlayerPosition"].BackgroundTransparency = 1
  179. DebugMenu["PlayerPosition"].Position = UDim2.new(0, 0, 0, 80)
  180. DebugMenu["PlayerPosition"].Size = UDim2.new(1, 0, 0, 15)
  181. DebugMenu["PlayerPosition"].Font = "Arcade"
  182. DebugMenu["PlayerPosition"].Text = ""
  183. DebugMenu["PlayerPosition"].TextColor3 = Color3.new(1, 1, 1)
  184. DebugMenu["PlayerPosition"].TextSize = 15
  185. DebugMenu["PlayerPosition"].TextStrokeColor3 = Color3.new(0, 0, 0)
  186. DebugMenu["PlayerPosition"].TextStrokeTransparency = 0.3
  187. DebugMenu["PlayerPosition"].TextXAlignment = "Left"
  188. DebugMenu["BehindWall"] = Instance.new("TextLabel", DebugMenu["Main"])
  189. DebugMenu["BehindWall"].BackgroundTransparency = 1
  190. DebugMenu["BehindWall"].Position = UDim2.new(0, 0, 0, 95)
  191. DebugMenu["BehindWall"].Size = UDim2.new(1, 0, 0, 15)
  192. DebugMenu["BehindWall"].Font = "Arcade"
  193. DebugMenu["BehindWall"].Text = ""
  194. DebugMenu["BehindWall"].TextColor3 = Color3.new(1, 1, 1)
  195. DebugMenu["BehindWall"].TextSize = 15
  196. DebugMenu["BehindWall"].TextStrokeColor3 = Color3.new(0, 0, 0)
  197. DebugMenu["BehindWall"].TextStrokeTransparency = 0.3
  198. DebugMenu["BehindWall"].TextXAlignment = "Left"
  199.  
  200. local LastTick = tick()
  201. local FPSTick = tick()
  202.  
  203. if #Teams:GetChildren() <= 0 then
  204. Bullshit.FreeForAll = true
  205. end
  206.  
  207. if Bullshit.TracersLength > 2048 then
  208. Bullshit.TracersLength = 2048
  209. end
  210.  
  211. if Bullshit.CHAMSLength > 2048 then
  212. Bullshit.CHAMSLength = 2048
  213. end
  214.  
  215. function GetTeamColor(Plr)
  216. local PickedColor = Bullshit.Colors.Enemy
  217.  
  218. if Plr ~= nil then
  219. if game.PlaceId == 606849621 then
  220. if Bullshit.Colors.ColorOverride == nil then
  221. if not Bullshit.FreeForAll then
  222. if MyPlr.Team ~= nil and Plr.Team ~= nil then
  223. if MyPlr.Team.Name == "Prisoner" then
  224. if Plr.Team == MyPlr.Team or Plr.Team.Name == "Criminal" then
  225. PickedColor = Bullshit.Colors.Ally
  226. else
  227. PickedColor = Bullshit.Colors.Enemy
  228. end
  229. elseif MyPlr.Team.Name == "Criminal" then
  230. if Plr.Team == MyPlr.Team or Plr.Team.Name == "Prisoner" then
  231. PickedColor = Bullshit.Colors.Ally
  232. else
  233. PickedColor = Bullshit.Colors.Enemy
  234. end
  235. elseif MyPlr.Team.Name == "Police" then
  236. if Plr.Team == MyPlr.Team then
  237. PickedColor = Bullshit.Colors.Ally
  238. else
  239. if Plr.Team.Name == "Criminal" then
  240. PickedColor = Bullshit.Colors.Enemy
  241. elseif Plr.Team.Name == "Prisoner" then
  242. PickedColor = Bullshit.Colors.Neutral
  243. end
  244. end
  245. end
  246. end
  247. else
  248. if MyPlr:IsFriendsWith(Plr.userId) then
  249. PickedColor = Bullshit.Colors.Friend
  250. else
  251. PickedColor = Bullshit.Colors.Enemy
  252. end
  253. end
  254. else
  255. PickedColor = Bullshit.Colors.ColorOverride
  256. end
  257. elseif game.PlaceId == 746820961 then
  258. if Bullshit.Colors.ColorOverride == nil then
  259. if MyPlr:FindFirstChild("TeamC") and Plr:FindFirstChild("TeamC") then
  260. if Plr.TeamC.Value == MyPlr.TeamC.Value then
  261. PickedColor = Bullshit.Colors.Ally
  262. else
  263. PickedColor = Bullshit.Colors.Enemy
  264. end
  265. end
  266. else
  267. PickedColor = Bullshit.Colors.ColorOverride
  268. end
  269. elseif game.PlaceId == 1382113806 then
  270. if Bullshit.Colors.ColorOverride == nil then
  271. if MyPlr:FindFirstChild("role") and Plr:FindFirstChild("role") then
  272. if MyPlr.role.Value == "assassin" then
  273. if Plr.role.Value == "target" then
  274. PickedColor = Bullshit.Colors.Enemy
  275. elseif Plr.role.Value == "guard" then
  276. PickedColor = Color3.new(1, 135 / 255, 0)
  277. else
  278. PickedColor = Bullshit.Colors.Neutral
  279. end
  280. elseif MyPlr.role.Value == "target" then
  281. if Plr.role.Value == "guard" then
  282. PickedColor = Bullshit.Colors.Ally
  283. elseif Plr.role.Value == "assassin" then
  284. PickedColor = Bullshit.Colors.Enemy
  285. else
  286. PickedColor = Bullshit.Colors.Neutral
  287. end
  288. elseif MyPlr.role.Value == "guard" then
  289. if Plr.role.Value == "target" then
  290. PickedColor = Bullshit.Colors.Friend
  291. elseif Plr.role.Value == "guard" then
  292. PickedColor = Bullshit.Colors.Ally
  293. elseif Plr.role.Value == "assassin" then
  294. PickedColor = Bullshit.Colors.Enemy
  295. else
  296. PickedColor = Bullshit.Colors.Neutral
  297. end
  298. else
  299. if MyPlr.role.Value == "none" then
  300. PickedColor = Bullshit.Colors.Neutral
  301. end
  302. end
  303. end
  304. else
  305. PickedColor = Bullshit.Colors.ColorOverride
  306. end
  307. elseif game.PlaceId == 1072809192 then
  308. if MyPlr:FindFirstChild("Backpack") and Plr:FindFirstChild("Backpack") then
  309. if MyPlr.Backpack:FindFirstChild("Knife") or MyChar:FindFirstChild("Knife") then
  310. if Plr.Backpack:FindFirstChild("Revolver") or Plr.Character:FindFirstChild("Revolver") then
  311. PickedColor = Bullshit.Colors.Enemy
  312. else
  313. PickedColor = Color3.new(1, 135 / 255, 0)
  314. end
  315. elseif MyPlr.Backpack:FindFirstChild("Revolver") or MyChar:FindFirstChild("Revolver") then
  316. if Plr.Backpack:FindFirstChild("Knife") or Plr.Character:FindFirstChild("Knife") then
  317. PickedColor = Bullshit.Colors.Enemy
  318. elseif Plr.Backpack:FindFirstChild("Revolver") or Plr.Character:FindFirstChild("Revolver") then
  319. PickedColor = Bullshit.Colors.Enemy
  320. else
  321. PickedColor = Bullshit.Colors.Ally
  322. end
  323. else
  324. if Plr.Backpack:FindFirstChild("Knife") or Plr.Character:FindFirstChild("Knife") then
  325. PickedColor = Bullshit.Colors.Enemy
  326. elseif Plr.Backpack:FindFirstChild("Revolver") or Plr.Character:FindFirstChild("Revolver") then
  327. PickedColor = Bullshit.Colors.Ally
  328. else
  329. PickedColor = Bullshit.Colors.Neutral
  330. end
  331. end
  332. end
  333. elseif game.PlaceId == 142823291 then
  334. if MyPlr:FindFirstChild("Backpack") and Plr:FindFirstChild("Backpack") then
  335. if MyPlr.Backpack:FindFirstChild("Knife") or MyChar:FindFirstChild("Knife") then
  336. if (Plr.Backpack:FindFirstChild("Gun") or Plr.Backpack:FindFirstChild("Revolver")) or (Plr.Character:FindFirstChild("Gun") or Plr.Character:FindFirstChild("Revolver")) then
  337. PickedColor = Bullshit.Colors.Enemy
  338. else
  339. PickedColor = Color3.new(1, 135 / 255, 0)
  340. end
  341. elseif (MyPlr.Backpack:FindFirstChild("Gun") or MyPlr.Backpack:FindFirstChild("Revolver")) or (MyChar:FindFirstChild("Gun") or MyChar:FindFirstChild("Revolver")) then
  342. if Plr.Backpack:FindFirstChild("Knife") or Plr.Character:FindFirstChild("Knife") then
  343. PickedColor = Bullshit.Colors.Enemy
  344. else
  345. PickedColor = Bullshit.Colors.Ally
  346. end
  347. else
  348. if Plr.Backpack:FindFirstChild("Knife") or Plr.Character:FindFirstChild("Knife") then
  349. PickedColor = Bullshit.Colors.Enemy
  350. elseif (Plr.Backpack:FindFirstChild("Gun") or Plr.Backpack:FindFirstChild("Revolver")) or (Plr.Character:FindFirstChild("Gun") or Plr.Character:FindFirstChild("Revolver")) then
  351. PickedColor = Bullshit.Colors.Ally
  352. else
  353. PickedColor = Bullshit.Colors.Neutral
  354. end
  355. end
  356. end
  357. else
  358. if Bullshit.Colors.ColorOverride == nil then
  359. if not Bullshit.FreeForAll then
  360. if MyPlr.Team ~= Plr.Team and not MyPlr:IsFriendsWith(Plr.userId) then
  361. PickedColor = Bullshit.Colors.Enemy
  362. elseif MyPlr.Team == Plr.Team and not MyPlr:IsFriendsWith(Plr.userId) then
  363. PickedColor = Bullshit.Colors.Ally
  364. else
  365. PickedColor = Bullshit.Colors.Friend
  366. end
  367. else
  368. if MyPlr:IsFriendsWith(Plr.userId) then
  369. PickedColor = Bullshit.Colors.Friend
  370. else
  371. PickedColor = Bullshit.Colors.Enemy
  372. end
  373. end
  374. else
  375. PickedColor = Bullshit.Colors.ColorOverride
  376. end
  377. end
  378. end
  379.  
  380. return PickedColor
  381. end
  382.  
  383. function GetSizeOfObject(Obj)
  384. if Obj:IsA("BasePart") then
  385. return Obj.Size
  386. elseif Obj:IsA("Model") then
  387. return Obj:GetExtentsSize()
  388. end
  389. end
  390.  
  391. function GetClosestPlayerNotBehindWall()
  392. local Players = { }
  393. local CurrentClosePlayer = nil
  394. local SelectedPlr = nil
  395.  
  396. for _, v in next, Plrs:GetPlayers() do
  397. if v ~= MyPlr then
  398. local IsAlly = GetTeamColor(v)
  399. if IsAlly ~= Bullshit.Colors.Ally and IsAlly ~= Bullshit.Colors.Friend and IsAlly ~= Bullshit.Colors.Neutral then
  400. local GetChar = v.Character
  401. if MyChar and GetChar then
  402. local MyHead, MyTor = MyChar:FindFirstChild("Head"), MyChar:FindFirstChild("HumanoidRootPart")
  403. local GetHead, GetTor, GetHum = GetChar:FindFirstChild("Head"), GetChar:FindFirstChild("HumanoidRootPart"), GetChar:FindFirstChild("Humanoid")
  404.  
  405. if MyHead and MyTor and GetHead and GetTor and GetHum then
  406. if game.PlaceId == 455366377 then
  407. if not GetChar:FindFirstChild("KO") and GetHum.Health > 1 then
  408. local Ray = Ray.new(MyCam.CFrame.p, (GetHead.Position - MyCam.CFrame.p).unit * 2048)
  409. local part = workspace:FindPartOnRayWithIgnoreList(Ray, MyChar:GetDescendants())
  410. if part ~= nil then
  411. if part:IsDescendantOf(GetChar) then
  412. local Dist = (MyTor.Position - GetTor.Position).magnitude
  413. Players[v] = Dist
  414. end
  415. end
  416. end
  417. else
  418. if GetHum.Health > 1 then
  419. local Ray = Ray.new(MyCam.CFrame.p, (GetHead.Position - MyCam.CFrame.p).unit * 2048)
  420. local part = workspace:FindPartOnRayWithIgnoreList(Ray, MyChar:GetDescendants())
  421. if part ~= nil then
  422. if part:IsDescendantOf(GetChar) then
  423. local Dist = (MyTor.Position - GetTor.Position).magnitude
  424. Players[v] = Dist
  425. end
  426. end
  427. end
  428. end
  429. end
  430. end
  431. end
  432. end
  433. end
  434.  
  435. for i, v in next, Players do
  436. if CurrentClosePlayer ~= nil then
  437. if v <= CurrentClosePlayer then
  438. CurrentClosePlayer = v
  439. SelectedPlr = i
  440. end
  441. else
  442. CurrentClosePlayer = v
  443. SelectedPlr = i
  444. end
  445. end
  446.  
  447. return SelectedPlr
  448. end
  449.  
  450. function GetClosestPlayer()
  451. local Players = { }
  452. local CurrentClosePlayer = nil
  453. local SelectedPlr = nil
  454.  
  455. for _, v in next, Plrs:GetPlayers() do
  456. if v ~= MyPlr then
  457. local IsAlly = GetTeamColor(v)
  458. if IsAlly ~= Bullshit.Colors.Ally and IsAlly ~= Bullshit.Colors.Friend and IsAlly ~= Bullshit.Colors.Neutral then
  459. local GetChar = v.Character
  460. if MyChar and GetChar then
  461. local MyTor = MyChar:FindFirstChild("HumanoidRootPart")
  462. local GetTor = GetChar:FindFirstChild("HumanoidRootPart")
  463. local GetHum = GetChar:FindFirstChild("Humanoid")
  464. if MyTor and GetTor and GetHum then
  465. if game.PlaceId == 455366377 then
  466. if not GetChar:FindFirstChild("KO") and GetHum.Health > 1 then
  467. local Dist = (MyTor.Position - GetTor.Position).magnitude
  468. Players[v] = Dist
  469. end
  470. else
  471. if GetHum.Health > 1 then
  472. local Dist = (MyTor.Position - GetTor.Position).magnitude
  473. Players[v] = Dist
  474. end
  475. end
  476. end
  477. end
  478. end
  479. end
  480. end
  481.  
  482. for i, v in next, Players do
  483. if CurrentClosePlayer ~= nil then
  484. if v <= CurrentClosePlayer then
  485. CurrentClosePlayer = v
  486. SelectedPlr = i
  487. end
  488. else
  489. CurrentClosePlayer = v
  490. SelectedPlr = i
  491. end
  492. end
  493.  
  494. return SelectedPlr
  495. end
  496.  
  497. function FindPlayer(Txt)
  498. local ps = { }
  499. for _, v in next, Plrs:GetPlayers() do
  500. if string.lower(string.sub(v.Name, 1, string.len(Txt))) == string.lower(Txt) then
  501. table.insert(ps, v)
  502. end
  503. end
  504.  
  505. if #ps == 1 then
  506. if ps[1] ~= MyPlr then
  507. return ps[1]
  508. else
  509. return nil
  510. end
  511. else
  512. return nil
  513. end
  514. end
  515.  
  516. function UpdateESP(Plr)
  517. local Find = CoreGui:FindFirstChild("ESP Crap_" .. Plr.Name)
  518. if Find then
  519. local PickColor = GetTeamColor(Plr)
  520. Find.Frame.Names.TextColor3 = PickColor
  521. Find.Frame.Dist.TextColor3 = PickColor
  522. Find.Frame.Health.TextColor3 = PickColor
  523. --Find.Frame.Pos.TextColor3 = PickColor
  524. local GetChar = Plr.Character
  525. if MyChar and GetChar then
  526. local Find2 = MyChar:FindFirstChild("HumanoidRootPart")
  527. local Find3 = GetChar:FindFirstChild("HumanoidRootPart")
  528. local Find4 = GetChar:FindFirstChildOfClass("Humanoid")
  529. if Find2 and Find3 then
  530. local pos = Find3.Position
  531. local Dist = (Find2.Position - pos).magnitude
  532. if Dist > Bullshit.ESPLength or Bullshit.Blacklist[Plr.Name] then
  533. Find.Frame.Names.Visible = false
  534. Find.Frame.Dist.Visible = false
  535. Find.Frame.Health.Visible = false
  536. return
  537. else
  538. Find.Frame.Names.Visible = true
  539. Find.Frame.Dist.Visible = true
  540. Find.Frame.Health.Visible = true
  541. end
  542. Find.Frame.Dist.Text = "Distance: " .. string.format("%.0f", Dist)
  543. --Find.Frame.Pos.Text = "(X: " .. string.format("%.0f", pos.X) .. ", Y: " .. string.format("%.0f", pos.Y) .. ", Z: " .. string.format("%.0f", pos.Z) .. ")"
  544. if Find4 then
  545. Find.Frame.Health.Text = "Health: " .. string.format("%.0f", Find4.Health)
  546. else
  547. Find.Frame.Health.Text = ""
  548. end
  549. end
  550. end
  551. end
  552. end
  553.  
  554. function RemoveESP(Plr)
  555. local ESP = CoreGui:FindFirstChild("ESP Crap_" .. Plr.Name)
  556. if ESP then
  557. ESP:Destroy()
  558. end
  559. end
  560.  
  561. function CreateESP(Plr)
  562. if Plr ~= nil then
  563. local GetChar = Plr.Character
  564. if not GetChar then return end
  565. local GetHead do
  566. repeat wait() until GetChar:FindFirstChild("Head")
  567. end
  568. GetHead = GetChar.Head
  569.  
  570. local bb = Instance.new("BillboardGui", CoreGui)
  571. bb.Adornee = GetHead
  572. bb.ExtentsOffset = Vector3.new(0, 1, 0)
  573. bb.AlwaysOnTop = true
  574. bb.Size = UDim2.new(0, 5, 0, 5)
  575. bb.StudsOffset = Vector3.new(0, 3, 0)
  576. bb.Name = "ESP Crap_" .. Plr.Name
  577.  
  578. local frame = Instance.new("Frame", bb)
  579. frame.ZIndex = 10
  580. frame.BackgroundTransparency = 1
  581. frame.Size = UDim2.new(1, 0, 1, 0)
  582.  
  583. local TxtName = Instance.new("TextLabel", frame)
  584. TxtName.Name = "Names"
  585. TxtName.ZIndex = 10
  586. TxtName.Text = Plr.Name
  587. TxtName.BackgroundTransparency = 1
  588. TxtName.Position = UDim2.new(0, 0, 0, -45)
  589. TxtName.Size = UDim2.new(1, 0, 10, 0)
  590. TxtName.Font = "SourceSansBold"
  591. TxtName.TextSize = 13
  592. TxtName.TextStrokeTransparency = 0.5
  593.  
  594. local TxtDist = Instance.new("TextLabel", frame)
  595. TxtDist.Name = "Dist"
  596. TxtDist.ZIndex = 10
  597. TxtDist.Text = ""
  598. TxtDist.BackgroundTransparency = 1
  599. TxtDist.Position = UDim2.new(0, 0, 0, -35)
  600. TxtDist.Size = UDim2.new(1, 0, 10, 0)
  601. TxtDist.Font = "SourceSansBold"
  602. TxtDist.TextSize = 13
  603. TxtDist.TextStrokeTransparency = 0.5
  604.  
  605. local TxtHealth = Instance.new("TextLabel", frame)
  606. TxtHealth.Name = "Health"
  607. TxtHealth.ZIndex = 10
  608. TxtHealth.Text = ""
  609. TxtHealth.BackgroundTransparency = 1
  610. TxtHealth.Position = UDim2.new(0, 0, 0, -25)
  611. TxtHealth.Size = UDim2.new(1, 0, 10, 0)
  612. TxtHealth.Font = "SourceSansBold"
  613. TxtHealth.TextSize = 13
  614. TxtHealth.TextStrokeTransparency = 0.5
  615.  
  616. --[[local TxtPos = Instance.new("TextLabel", frame)
  617. TxtPos.Name = "Pos"
  618. TxtPos.ZIndex = 10
  619. TxtPos.Text = ""
  620. TxtPos.BackgroundTransparency = 1
  621. TxtPos.Position = UDim2.new(0, 0, 0, 100)
  622. TxtPos.Size = UDim2.new(1, 0, 10, 0)
  623. TxtPos.Font = "SourceSansBold"
  624. TxtPos.TextSize = 13
  625. TxtPos.TextStrokeTransparency = 0.5]]
  626.  
  627. local PickColor = GetTeamColor(Plr)
  628. TxtName.TextColor3 = PickColor
  629. TxtDist.TextColor3 = PickColor
  630. TxtHealth.TextColor3 = PickColor
  631. --TxtPos.TextColor3 = PickColor
  632. end
  633. end
  634.  
  635. function UpdateTracer(Plr)
  636. if Bullshit.TracersEnabled then
  637. if MyChar then
  638. local MyTor = MyChar:FindFirstChild("HumanoidRootPart")
  639. local GetTor = TracerData[Plr.Name]
  640. if MyTor and GetTor ~= nil and GetTor.Parent ~= nil then
  641. local Dist = (MyTor.Position - GetTor.Position).magnitude
  642. if (Dist < Bullshit.TracersLength and not Bullshit.Blacklist[Plr.Name]) and not (MyChar:FindFirstChild("InVehicle") or GetTor.Parent:FindFirstChild("InVehicle")) then
  643. if not Bullshit.PlaceTracersUnderCharacter then
  644. local R = MyCam:ScreenPointToRay(MyCam.ViewportSize.X / 2, MyCam.ViewportSize.Y, 0)
  645. Dist = (R.Origin - (GetTor.Position - Vector3.new(0, 3, 0))).magnitude
  646. Tracers[Plr.Name].Transparency = 1
  647. Tracers[Plr.Name].Size = Vector3.new(0.05, 0.05, Dist)
  648. Tracers[Plr.Name].CFrame = CFrame.new(R.Origin, (GetTor.Position - Vector3.new(0, 4.5, 0))) * CFrame.new(0, 0, -Dist / 2)
  649. Tracers[Plr.Name].BrickColor = BrickColor.new(GetTeamColor(Plr))
  650. Tracers[Plr.Name].BoxHandleAdornment.Transparency = 0
  651. Tracers[Plr.Name].BoxHandleAdornment.Size = Vector3.new(0.001, 0.001, Dist)
  652. Tracers[Plr.Name].BoxHandleAdornment.Color3 = GetTeamColor(Plr)
  653. else
  654. Dist = (MyTor.Position - (GetTor.Position - Vector3.new(0, 3, 0))).magnitude
  655. Tracers[Plr.Name].Transparency = 1
  656. Tracers[Plr.Name].Size = Vector3.new(0.3, 0.3, Dist)
  657. Tracers[Plr.Name].CFrame = CFrame.new(MyTor.Position - Vector3.new(0, 3, 0), (GetTor.Position - Vector3.new(0, 4.5, 0))) * CFrame.new(0, 0, -Dist / 2)
  658. Tracers[Plr.Name].BrickColor = BrickColor.new(GetTeamColor(Plr))
  659. Tracers[Plr.Name].BoxHandleAdornment.Transparency = 0
  660. Tracers[Plr.Name].BoxHandleAdornment.Size = Vector3.new(0.05, 0.05, Dist)
  661. Tracers[Plr.Name].BoxHandleAdornment.Color3 = GetTeamColor(Plr)
  662. end
  663. else
  664. Tracers[Plr.Name].Transparency = 1
  665. Tracers[Plr.Name].BoxHandleAdornment.Transparency = 1
  666. end
  667. end
  668. end
  669. end
  670. end
  671.  
  672. function RemoveTracers(Plr)
  673. local Find = Tracers:FindFirstChild(Plr.Name)
  674. if Find then
  675. Find:Destroy()
  676. end
  677. end
  678.  
  679. function CreateTracers(Plr)
  680. local Find = Tracers:FindFirstChild(Plr.Name)
  681. if not Find then
  682. local P = Instance.new("Part")
  683. P.Name = Plr.Name
  684. P.Material = "Neon"
  685. P.Transparency = 1
  686. P.Anchored = true
  687. P.Locked = true
  688. P.CanCollide = false
  689. local B = Instance.new("BoxHandleAdornment", P)
  690. B.Adornee = P
  691. B.Size = GetSizeOfObject(P)
  692. B.AlwaysOnTop = true
  693. B.ZIndex = 5
  694. B.Transparency = 0
  695. B.Color3 = GetTeamColor(Plr)
  696. P.Parent = Tracers
  697.  
  698. coroutine.resume(coroutine.create(function()
  699. while Tracers:FindFirstChild(Plr.Name) do
  700. UpdateTracer(Plr)
  701. Run.RenderStepped:wait()
  702. end
  703. end))
  704. end
  705. end
  706.  
  707. function UpdateChams(Plr)
  708. local Find = ChamsFolder:FindFirstChild(Plr.Name)
  709. local GetChar = Plr.Character
  710.  
  711. local Trans = 0
  712. if GetChar and MyChar then
  713. local GetHead = GetChar:FindFirstChild("Head")
  714. local GetTor = GetChar:FindFirstChild("HumanoidRootPart")
  715. local MyHead = MyChar:FindFirstChild("Head")
  716. local MyTor = MyChar:FindFirstChild("HumanoidRootPart")
  717. if GetHead and GetTor and MyHead and MyTor then
  718. if (MyTor.Position - GetTor.Position).magnitude > Bullshit.CHAMSLength or Bullshit.Blacklist[Plr.Name] then
  719. Trans = 1
  720. else
  721. local MyCharStuff = MyChar:GetDescendants()
  722. local Ray = Ray.new(MyCam.CFrame.p, (GetTor.Position - MyCam.CFrame.p).unit * 2048)
  723. local part = workspace:FindPartOnRayWithIgnoreList(Ray, MyCharStuff)
  724. if part ~= nil then
  725. if part:IsDescendantOf(GetChar) then
  726. Trans = 0.9
  727. else
  728. Trans = 0
  729. end
  730. end
  731. end
  732. end
  733. end
  734.  
  735. if Find then
  736. for i, v in next, Find:GetChildren() do
  737. v.Color3 = GetTeamColor(Plr)
  738. v.Transparency = Trans
  739. end
  740. end
  741. end
  742.  
  743. function RemoveChams(Plr)
  744. local Cham = ChamsFolder:FindFirstChild(Plr.Name)
  745. if Cham then
  746. Cham:Destroy()
  747. end
  748. end
  749.  
  750. function CreateChams(Plr)
  751. if Plr ~= nil then
  752. local GetChar = Plr.Character
  753. if not GetChar then return end
  754. local GetTor do
  755. repeat wait() until GetChar:FindFirstChild("HumanoidRootPart")
  756. end
  757. GetTor = GetChar.HumanoidRootPart
  758.  
  759. local GetHum do
  760. repeat wait() until GetChar:FindFirstChild("Humanoid")
  761. end
  762. GetHum = GetChar.Humanoid
  763.  
  764. local PlrCham = ChamsFolder:FindFirstChild(Plr.Name)
  765. if not PlrCham then
  766. PlrCham = Instance.new("Folder", ChamsFolder)
  767. PlrCham.Name = Plr.Name
  768. end
  769.  
  770. for _, P in next, GetChar:GetChildren() do
  771. if P:IsA("PVInstance") then
  772. local Box = Instance.new("BoxHandleAdornment")
  773. Box.Size = GetSizeOfObject(P)
  774. Box.Name = "Cham"
  775. Box.Adornee = P
  776. Box.AlwaysOnTop = true
  777. Box.ZIndex = 5
  778. Box.Transparency = 0
  779. Box.Color3 = GetTeamColor(Plr)
  780. Box.Parent = PlrCham
  781. end
  782. end
  783. end
  784. end
  785.  
  786. function CreateChildAddedEventFor(Obj)
  787. Obj.ChildAdded:connect(function(Obj2)
  788. if Bullshit.OutlinesEnabled then
  789. if Obj2:IsA("BasePart") and not Plrs:GetPlayerFromCharacter(Obj2.Parent) and not Obj2.Parent:IsA("Hat") and not Obj2.Parent:IsA("Accessory") and Obj2.Parent.Name ~= "Tracers" then
  790. local Data = { }
  791. Data[2] = Obj2.Transparency
  792. Obj2.Transparency = 1
  793. local outline = Instance.new("SelectionBox")
  794. outline.Name = "Outline"
  795. outline.Color3 = Color3.new(0, 0, 0)
  796. outline.SurfaceColor3 = Color3.new(0, 1, 0)
  797. --outline.SurfaceTransparency = 0.9
  798. outline.LineThickness = 0.01
  799. outline.Transparency = 0.5
  800. outline.Transparency = 0.5
  801. outline.Adornee = Obj2
  802. outline.Parent = Obj2
  803. Data[1] = outline
  804. rawset(Bullshit.OutlinedParts, Obj2, Data)
  805. end
  806.  
  807. for i, v in next, Obj2:GetDescendants() do
  808. if v:IsA("BasePart") and not Plrs:GetPlayerFromCharacter(v.Parent) and not v.Parent:IsA("Hat") and not v.Parent:IsA("Accessory") and v.Parent.Name ~= "Tracers" then
  809. local Data = { }
  810. Data[2] = v.Transparency
  811. v.Transparency = 1
  812. local outline = Instance.new("SelectionBox")
  813. outline.Name = "Outline"
  814. outline.Color3 = Color3.new(0, 0, 0)
  815. outline.SurfaceColor3 = Color3.new(0, 1, 0)
  816. --outline.SurfaceTransparency = 0.9
  817. outline.LineThickness = 0.01
  818. outline.Transparency = 0.5
  819. outline.Adornee = v
  820. outline.Parent = v
  821. Data[1] = outline
  822. rawset(Bullshit.OutlinedParts, v, Data)
  823. end
  824. CreateChildAddedEventFor(v)
  825. end
  826. end
  827. CreateChildAddedEventFor(Obj2)
  828. end)
  829. end
  830.  
  831. function LightingHax()
  832. if Bullshit.OutlinesEnabled then
  833. Light.TimeOfDay = "00:00:00"
  834. end
  835.  
  836. if Bullshit.FullbrightEnabled then
  837. Light.Ambient = Color3.new(1, 1, 1)
  838. Light.ColorShift_Bottom = Color3.new(1, 1, 1)
  839. Light.ColorShift_Top = Color3.new(1, 1, 1)
  840. end
  841. end
  842.  
  843. Plrs.PlayerAdded:connect(function(Plr)
  844. if Bullshit.CharAddedEvent[Plr.Name] == nil then
  845. Bullshit.CharAddedEvent[Plr.Name] = Plr.CharacterAdded:connect(function(Char)
  846. if Bullshit.ESPEnabled then
  847. RemoveESP(Plr)
  848. CreateESP(Plr)
  849. end
  850. if Bullshit.CHAMSEnabled then
  851. RemoveChams(Plr)
  852. CreateChams(Plr)
  853. end
  854. if Bullshit.TracersEnabled then
  855. CreateTracers(Plr)
  856. end
  857. repeat wait() until Char:FindFirstChild("HumanoidRootPart")
  858. TracerMT[Plr.Name] = Char.HumanoidRootPart
  859. end)
  860. end
  861. end)
  862.  
  863. Plrs.PlayerRemoving:connect(function(Plr)
  864. if Bullshit.CharAddedEvent[Plr.Name] ~= nil then
  865. Bullshit.CharAddedEvent[Plr.Name]:Disconnect()
  866. Bullshit.CharAddedEvent[Plr.Name] = nil
  867. end
  868. RemoveESP(Plr)
  869. RemoveChams(Plr)
  870. RemoveTracers(Plr)
  871. TracerMT[Plr.Name] = nil
  872.  
  873. if Bullshit.BlacklistSettings.RemovePlayerFromBlacklistAponLeavingGame_JesusFuckingChristThisIsABigAssVariable then
  874. if Bullshit.Blacklist[Plr.Name] then
  875. Bullshit.Blacklist[Plr.Name] = nil
  876. end
  877. end
  878. end)
  879.  
  880. function CreateGUI()
  881. -- Objects
  882.  
  883. local SC = Instance.new("ScreenGui")
  884. local Background = Instance.new("Frame")
  885. local Blacklist = Instance.new("Frame")
  886. local Title = Instance.new("TextLabel")
  887. local BlacklistList = Instance.new("ScrollingFrame")
  888. --local playername = Instance.new("TextLabel")
  889. local PlayerBox = Instance.new("TextBox")
  890. local BlacklistButton = Instance.new("TextButton")
  891. local ESPToggle = Instance.new("TextButton")
  892. local Title_2 = Instance.new("TextLabel")
  893. local ChamsToggle = Instance.new("TextButton")
  894. local TracersToggle = Instance.new("TextButton")
  895. local OutlineToggle = Instance.new("TextButton")
  896. local FullbrightToggle = Instance.new("TextButton")
  897. local DebugToggle = Instance.new("TextButton")
  898. local TracerPosition = Instance.new("TextButton")
  899. local ToggleFreeForAll = Instance.new("TextButton")
  900. local Crosshairs = Instance.new("TextButton")
  901. local BlacklistToggle = Instance.new("TextButton")
  902. local AimbotToggle = Instance.new("TextButton")
  903. local Frame = Instance.new("Frame")
  904.  
  905. -- Properties
  906.  
  907. SC.Name = "Bullshit"
  908. SC.Parent = CoreGui
  909.  
  910. Background.Name = "Background"
  911. Background.Parent = SC
  912. Background.Active = true
  913. Background.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  914. Background.BackgroundTransparency = 0.5
  915. Background.BorderSizePixel = 0
  916. Background.Draggable = true
  917. Background.Position = UDim2.new(0, 100, 0.100000001, 0)
  918. Background.Size = UDim2.new(0, 250, 0, 210)
  919.  
  920. Blacklist.Name = "Blacklist"
  921. Blacklist.Visible = false
  922. Blacklist.Parent = Background
  923. Blacklist.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  924. Blacklist.BackgroundTransparency = 0.5
  925. Blacklist.BorderSizePixel = 0
  926. Blacklist.Position = UDim2.new(0, 255, 0, 0)
  927. Blacklist.Size = UDim2.new(0, 250, 0, 180)
  928.  
  929. Title.Name = "Title"
  930. Title.Parent = Blacklist
  931. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  932. Title.BackgroundTransparency = 1
  933. Title.BorderSizePixel = 0
  934. Title.Size = UDim2.new(1, 0, 0, 25)
  935. Title.Font = Enum.Font.SourceSansBold
  936. Title.Text = "Blacklist"
  937. Title.TextColor3 = Color3.new(1, 1, 1)
  938. Title.TextSize = 18
  939. Title.TextTransparency = 0.25
  940.  
  941. BlacklistList.Name = "BlacklistList"
  942. BlacklistList.Parent = Blacklist
  943. BlacklistList.BackgroundColor3 = Color3.new(1, 1, 1)
  944. BlacklistList.BackgroundTransparency = 1
  945. BlacklistList.BorderSizePixel = 0
  946. BlacklistList.Position = UDim2.new(0, 0, 0, 30)
  947. BlacklistList.Size = UDim2.new(1, 0, 0, 75)
  948.  
  949. --[[playername.Name = "playername"
  950. playername.Parent = BlacklistList
  951. playername.BackgroundColor3 = Color3.new(1, 1, 1)
  952. playername.BackgroundTransparency = 1
  953. playername.BorderSizePixel = 0
  954. playername.Position = UDim2.new(0, 5, 0, 0)
  955. playername.Size = UDim2.new(1, -25, 0, 15)
  956. playername.Font = Enum.Font.SourceSans
  957. playername.Text = "DangCoolIsReal3"
  958. playername.TextColor3 = Color3.new(1, 1, 1)
  959. playername.TextSize = 16
  960. playername.TextXAlignment = Enum.TextXAlignment.Left]]
  961.  
  962. PlayerBox.Name = "PlayerBox"
  963. PlayerBox.Parent = Blacklist
  964. PlayerBox.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  965. PlayerBox.BackgroundTransparency = 0.5
  966. PlayerBox.BorderSizePixel = 0
  967. PlayerBox.Position = UDim2.new(0, 5, 0, 110)
  968. PlayerBox.Size = UDim2.new(1, -10, 0, 25)
  969. PlayerBox.Font = Enum.Font.SourceSansBold
  970. PlayerBox.Text = "Enter Player Name"
  971. PlayerBox.TextColor3 = Color3.new(0.811765, 0.811765, 0.811765)
  972. PlayerBox.TextSize = 16
  973.  
  974. BlacklistButton.Name = "BlacklistButton"
  975. BlacklistButton.Parent = Blacklist
  976. BlacklistButton.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  977. BlacklistButton.BackgroundTransparency = 0.5
  978. BlacklistButton.BorderSizePixel = 0
  979. BlacklistButton.Position = UDim2.new(0, 5, 0, 140)
  980. BlacklistButton.Size = UDim2.new(1, -10, 0, 25)
  981. BlacklistButton.Font = Enum.Font.SourceSansBold
  982. BlacklistButton.Text = "Add / Remove From Blacklist"
  983. BlacklistButton.TextColor3 = Color3.new(0.811765, 0.811765, 0.811765)
  984. BlacklistButton.TextSize = 16
  985.  
  986. ESPToggle.Name = "ESPToggle"
  987. ESPToggle.Parent = Background
  988. ESPToggle.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  989. ESPToggle.BackgroundTransparency = 0.5
  990. ESPToggle.BorderSizePixel = 0
  991. ESPToggle.Position = UDim2.new(0, 5, 0, 30)
  992. ESPToggle.Size = UDim2.new(0.5, -10, 0, 25)
  993. ESPToggle.Font = Enum.Font.SourceSansBold
  994. ESPToggle.Text = "ESP"
  995. ESPToggle.TextColor3 = Color3.new(0.815686, 0.815686, 0.815686)
  996. ESPToggle.TextSize = 16
  997.  
  998. Title_2.Name = "Title"
  999. Title_2.Parent = Background
  1000. Title_2.BackgroundColor3 = Color3.new(1, 1, 1)
  1001. Title_2.BackgroundTransparency = 1
  1002. Title_2.BorderSizePixel = 0
  1003. Title_2.Size = UDim2.new(1, 0, 0, 25)
  1004. Title_2.Font = Enum.Font.SourceSansBold
  1005. Title_2.Text = "Made by @Racist Dolphin#5199"
  1006. Title_2.TextColor3 = Color3.new(1, 1, 1)
  1007. Title_2.TextSize = 18
  1008. Title_2.TextTransparency = 0.25
  1009.  
  1010. ChamsToggle.Name = "ChamsToggle"
  1011. ChamsToggle.Parent = Background
  1012. ChamsToggle.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  1013. ChamsToggle.BackgroundTransparency = 0.5
  1014. ChamsToggle.BorderSizePixel = 0
  1015. ChamsToggle.Position = UDim2.new(0.5, 5, 0, 30)
  1016. ChamsToggle.Size = UDim2.new(0.5, -10, 0, 25)
  1017. ChamsToggle.Font = Enum.Font.SourceSansBold
  1018. ChamsToggle.Text = "Chams"
  1019. ChamsToggle.TextColor3 = Color3.new(0.815686, 0.815686, 0.815686)
  1020. ChamsToggle.TextSize = 16
  1021.  
  1022. TracersToggle.Name = "TracersToggle"
  1023. TracersToggle.Parent = Background
  1024. TracersToggle.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  1025. TracersToggle.BackgroundTransparency = 0.5
  1026. TracersToggle.BorderSizePixel = 0
  1027. TracersToggle.Position = UDim2.new(0, 5, 0, 60)
  1028. TracersToggle.Size = UDim2.new(0.5, -10, 0, 25)
  1029. TracersToggle.Font = Enum.Font.SourceSansBold
  1030. TracersToggle.Text = "Tracers"
  1031. TracersToggle.TextColor3 = Color3.new(0.815686, 0.815686, 0.815686)
  1032. TracersToggle.TextSize = 16
  1033.  
  1034. OutlineToggle.Name = "OutlineToggle"
  1035. OutlineToggle.Parent = Background
  1036. OutlineToggle.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  1037. OutlineToggle.BackgroundTransparency = 0.5
  1038. OutlineToggle.BorderSizePixel = 0
  1039. OutlineToggle.Position = UDim2.new(0.5, 5, 0, 60)
  1040. OutlineToggle.Size = UDim2.new(0.5, -10, 0, 25)
  1041. OutlineToggle.Font = Enum.Font.SourceSansBold
  1042. OutlineToggle.Text = "Outlines"
  1043. OutlineToggle.TextColor3 = Color3.new(0.815686, 0.815686, 0.815686)
  1044. OutlineToggle.TextSize = 16
  1045.  
  1046. FullbrightToggle.Name = "FullbrightToggle"
  1047. FullbrightToggle.Parent = Background
  1048. FullbrightToggle.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  1049. FullbrightToggle.BackgroundTransparency = 0.5
  1050. FullbrightToggle.BorderSizePixel = 0
  1051. FullbrightToggle.Position = UDim2.new(0, 5, 0, 90)
  1052. FullbrightToggle.Size = UDim2.new(0.5, -10, 0, 25)
  1053. FullbrightToggle.Font = Enum.Font.SourceSansBold
  1054. FullbrightToggle.Text = "Fullbright"
  1055. FullbrightToggle.TextColor3 = Color3.new(0.815686, 0.815686, 0.815686)
  1056. FullbrightToggle.TextSize = 16
  1057.  
  1058. DebugToggle.Name = "DebugToggle"
  1059. DebugToggle.Parent = Background
  1060. DebugToggle.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  1061. DebugToggle.BackgroundTransparency = 0.5
  1062. DebugToggle.BorderSizePixel = 0
  1063. DebugToggle.Position = UDim2.new(0.5, 5, 0, 90)
  1064. DebugToggle.Size = UDim2.new(0.5, -10, 0, 25)
  1065. DebugToggle.Font = Enum.Font.SourceSansBold
  1066. DebugToggle.Text = "Debug Info"
  1067. DebugToggle.TextColor3 = Color3.new(0.815686, 0.815686, 0.815686)
  1068. DebugToggle.TextSize = 16
  1069.  
  1070. TracerPosition.Name = "TracerPosition"
  1071. TracerPosition.Parent = Background
  1072. TracerPosition.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  1073. TracerPosition.BackgroundTransparency = 0.5
  1074. TracerPosition.BorderSizePixel = 0
  1075. TracerPosition.Position = UDim2.new(0, 5, 0, 120)
  1076. TracerPosition.Size = UDim2.new(0.5, -10, 0, 25)
  1077. TracerPosition.Font = Enum.Font.SourceSansBold
  1078. TracerPosition.Text = "Tracer Position"
  1079. TracerPosition.TextColor3 = Color3.new(0.815686, 0.815686, 0.815686)
  1080. TracerPosition.TextSize = 16
  1081.  
  1082. ToggleFreeForAll.Name = "ToggleFreeForAll"
  1083. ToggleFreeForAll.Parent = Background
  1084. ToggleFreeForAll.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  1085. ToggleFreeForAll.BackgroundTransparency = 0.5
  1086. ToggleFreeForAll.BorderSizePixel = 0
  1087. ToggleFreeForAll.Position = UDim2.new(0.5, 5, 0, 120)
  1088. ToggleFreeForAll.Size = UDim2.new(0.5, -10, 0, 25)
  1089. ToggleFreeForAll.Font = Enum.Font.SourceSansBold
  1090. ToggleFreeForAll.Text = "Free for All"
  1091. ToggleFreeForAll.TextColor3 = Color3.new(0.815686, 0.815686, 0.815686)
  1092. ToggleFreeForAll.TextSize = 16
  1093.  
  1094. Crosshairs.Name = "Crosshairs"
  1095. Crosshairs.Parent = Background
  1096. Crosshairs.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  1097. Crosshairs.BackgroundTransparency = 0.5
  1098. Crosshairs.BorderSizePixel = 0
  1099. Crosshairs.Position = UDim2.new(0, 5, 0, 150)
  1100. Crosshairs.Size = UDim2.new(0.5, -10, 0, 25)
  1101. Crosshairs.Font = Enum.Font.SourceSansBold
  1102. Crosshairs.Text = "Crosshair"
  1103. Crosshairs.TextColor3 = Color3.new(0.811765, 0.811765, 0.811765)
  1104. Crosshairs.TextSize = 16
  1105.  
  1106. BlacklistToggle.Name = "BlacklistToggle"
  1107. BlacklistToggle.Parent = Background
  1108. BlacklistToggle.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  1109. BlacklistToggle.BackgroundTransparency = 0.5
  1110. BlacklistToggle.BorderSizePixel = 0
  1111. BlacklistToggle.Position = UDim2.new(0.5, 5, 0, 150)
  1112. BlacklistToggle.Size = UDim2.new(0.5, -10, 0, 25)
  1113. BlacklistToggle.Font = Enum.Font.SourceSansBold
  1114. BlacklistToggle.Text = "Blacklist"
  1115. BlacklistToggle.TextColor3 = Color3.new(0.815686, 0.815686, 0.815686)
  1116. BlacklistToggle.TextSize = 16
  1117.  
  1118. AimbotToggle.Name = "AimbotToggle"
  1119. AimbotToggle.Parent = Background
  1120. AimbotToggle.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  1121. AimbotToggle.BackgroundTransparency = 0.5
  1122. AimbotToggle.BorderSizePixel = 0
  1123. AimbotToggle.Position = UDim2.new(0, 5, 0, 180)
  1124. AimbotToggle.Size = UDim2.new(0.5, -10, 0, 25)
  1125. AimbotToggle.Font = Enum.Font.SourceSansBold
  1126. AimbotToggle.Text = "Aimlock"
  1127. AimbotToggle.TextColor3 = Color3.new(0.811765, 0.811765, 0.811765)
  1128. AimbotToggle.TextSize = 16
  1129.  
  1130. Frame.Parent = Background
  1131. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  1132. Frame.BorderSizePixel = 0
  1133. Frame.Size = UDim2.new(0, -2, 1, 0)
  1134.  
  1135. function CreatePlayerLabel(Str)
  1136. local n = #BlacklistList:GetChildren()
  1137. local playername = Instance.new("TextLabel")
  1138. playername.Name = Str
  1139. playername.Parent = BlacklistList
  1140. playername.BackgroundColor3 = Color3.new(1, 1, 1)
  1141. playername.BackgroundTransparency = 1
  1142. playername.BorderSizePixel = 0
  1143. playername.Position = UDim2.new(0, 5, 0, (n * 15))
  1144. playername.Size = UDim2.new(1, -25, 0, 15)
  1145. playername.Font = Enum.Font.SourceSans
  1146. playername.Text = Str
  1147. playername.TextColor3 = Color3.new(1, 1, 1)
  1148. playername.TextSize = 16
  1149. playername.TextXAlignment = Enum.TextXAlignment.Left
  1150. end
  1151.  
  1152. function RefreshPlayerLabels()
  1153. BlacklistList:ClearAllChildren()
  1154. for i, v in next, Bullshit.Blacklist do
  1155. CreatePlayerLabel(i)
  1156. end
  1157. end
  1158.  
  1159. ESPToggle.MouseButton1Click:connect(function()
  1160. Bullshit.ESPEnabled = not Bullshit.ESPEnabled
  1161. if Bullshit.ESPEnabled then
  1162. ESPToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  1163. for _, v in next, Plrs:GetPlayers() do
  1164. if v ~= MyPlr then
  1165. if Bullshit.CharAddedEvent[v.Name] == nil then
  1166. Bullshit.CharAddedEvent[v.Name] = v.CharacterAdded:connect(function(Char)
  1167. if Bullshit.ESPEnabled then
  1168. RemoveESP(v)
  1169. CreateESP(v)
  1170. end
  1171. if Bullshit.CHAMSEnabled then
  1172. RemoveChams(v)
  1173. CreateChams(v)
  1174. end
  1175. if Bullshit.TracersEnabled then
  1176. RemoveTracers(v)
  1177. CreateTracers(v)
  1178. end
  1179. repeat wait() until Char:FindFirstChild("HumanoidRootPart")
  1180. TracerMT[v.Name] = Char.HumanoidRootPart
  1181. end)
  1182. end
  1183. RemoveESP(v)
  1184. CreateESP(v)
  1185. end
  1186. end
  1187. else
  1188. ESPToggle.BackgroundColor3 = Color3.new(31/255,31/255,31/255)
  1189. for _, v in next, Plrs:GetPlayers() do
  1190. RemoveESP(v)
  1191. end
  1192. end
  1193. end)
  1194.  
  1195. ChamsToggle.MouseButton1Click:connect(function()
  1196. Bullshit.CHAMSEnabled = not Bullshit.CHAMSEnabled
  1197. if Bullshit.CHAMSEnabled then
  1198. ChamsToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  1199. for _, v in next, Plrs:GetPlayers() do
  1200. if v ~= MyPlr then
  1201. if Bullshit.CharAddedEvent[v.Name] == nil then
  1202. Bullshit.CharAddedEvent[v.Name] = v.CharacterAdded:connect(function(Char)
  1203. if Bullshit.ESPEnabled then
  1204. RemoveESP(v)
  1205. CreateESP(v)
  1206. end
  1207. if Bullshit.CHAMSEnabled then
  1208. RemoveChams(v)
  1209. CreateChams(v)
  1210. end
  1211. if Bullshit.TracersEnabled then
  1212. RemoveTracers(v)
  1213. CreateTracers(v)
  1214. end
  1215. repeat wait() until Char:FindFirstChild("HumanoidRootPart")
  1216. TracerMT[v.Name] = Char.HumanoidRootPart
  1217. end)
  1218. end
  1219. RemoveChams(v)
  1220. CreateChams(v)
  1221. end
  1222. end
  1223. else
  1224. ChamsToggle.BackgroundColor3 = Color3.new(31/255,31/255,31/255)
  1225. CoreGui.Chams:ClearAllChildren()
  1226. end
  1227. end)
  1228.  
  1229. TracersToggle.MouseButton1Click:connect(function()
  1230. Bullshit.TracersEnabled = not Bullshit.TracersEnabled
  1231. if Bullshit.TracersEnabled then
  1232. TracersToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  1233. for _, v in next, Plrs:GetPlayers() do
  1234. if v ~= MyPlr then
  1235. if Bullshit.CharAddedEvent[v.Name] == nil then
  1236. Bullshit.CharAddedEvent[v.Name] = v.CharacterAdded:connect(function(Char)
  1237. if Bullshit.ESPEnabled then
  1238. RemoveESP(v)
  1239. CreateESP(v)
  1240. end
  1241. if Bullshit.CHAMSEnabled then
  1242. RemoveChams(v)
  1243. CreateChams(v)
  1244. end
  1245. if Bullshit.TracersEnabled then
  1246. RemoveTracers(v)
  1247. CreateTracers(v)
  1248. end
  1249. end)
  1250. end
  1251. if v.Character ~= nil then
  1252. local Tor = v.Character:FindFirstChild("HumanoidRootPart")
  1253. if Tor then
  1254. TracerMT[v.Name] = Tor
  1255. end
  1256. end
  1257. RemoveTracers(v)
  1258. CreateTracers(v)
  1259. end
  1260. end
  1261. else
  1262. TracersToggle.BackgroundColor3 = Color3.new(31/255,31/255,31/255)
  1263. for _, v in next, Plrs:GetPlayers() do
  1264. RemoveTracers(v)
  1265. end
  1266. end
  1267. end)
  1268.  
  1269. DebugToggle.MouseButton1Click:connect(function()
  1270. Bullshit.DebugInfo = not Bullshit.DebugInfo
  1271. DebugMenu["Main"].Visible = Bullshit.DebugInfo
  1272. if Bullshit.DebugInfo then
  1273. DebugToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  1274. else
  1275. DebugToggle.BackgroundColor3 = Color3.new(31/255,31/255,31/255)
  1276. end
  1277. end)
  1278.  
  1279. OutlineToggle.MouseButton1Click:connect(function()
  1280. Bullshit.OutlinesEnabled = not Bullshit.OutlinesEnabled
  1281. if Bullshit.OutlinesEnabled then
  1282. OutlineToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  1283. for _, v in next, workspace:GetDescendants() do
  1284. if v:IsA("BasePart") and not Plrs:GetPlayerFromCharacter(v.Parent) and not v.Parent:IsA("Hat") and not v.Parent:IsA("Accessory") and v.Parent.Name ~= "Tracers" then
  1285. local Data = { }
  1286. Data[2] = v.Transparency
  1287. v.Transparency = 1
  1288. local outline = Instance.new("SelectionBox")
  1289. outline.Name = "Outline"
  1290. outline.Color3 = Color3.new(0, 0, 0)
  1291. outline.SurfaceColor3 = Color3.new(0, 1, 0)
  1292. --outline.SurfaceTransparency = 0.9
  1293. outline.LineThickness = 0.01
  1294. outline.Transparency = 0.3
  1295. outline.Adornee = v
  1296. outline.Parent = v
  1297. Data[1] = outline
  1298. rawset(Bullshit.OutlinedParts, v, Data)
  1299. end
  1300. CreateChildAddedEventFor(v)
  1301. end
  1302. CreateChildAddedEventFor(workspace)
  1303. if Bullshit.LightingEvent == nil then
  1304. Bullshit.LightingEvent = game:GetService("Lighting").Changed:connect(LightingHax)
  1305. end
  1306. else
  1307. OutlineToggle.BackgroundColor3 = Color3.new(31/255,31/255,31/255)
  1308. for i, v in next, Bullshit.OutlinedParts do
  1309. i.Transparency = v[2]
  1310. v[1]:Destroy()
  1311. end
  1312. end
  1313. end)
  1314.  
  1315. FullbrightToggle.MouseButton1Click:connect(function()
  1316. Bullshit.FullbrightEnabled = not Bullshit.FullbrightEnabled
  1317. if Bullshit.FullbrightEnabled then
  1318. FullbrightToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  1319. if Bullshit.LightingEvent == nil then
  1320. Bullshit.LightingEvent = Light.Changed:connect(LightingHax)
  1321. end
  1322. else
  1323. FullbrightToggle.BackgroundColor3 = Color3.new(31/255,31/255,31/255)
  1324. Light.Ambient = Bullshit.AmbientBackup
  1325. Light.ColorShift_Bottom = Bullshit.ColorShiftBotBackup
  1326. Light.ColorShift_Top = Bullshit.ColorShiftTopBackup
  1327. end
  1328. end)
  1329.  
  1330. TracerPosition.MouseButton1Click:connect(function()
  1331. Bullshit.PlaceTracersUnderCharacter = not Bullshit.PlaceTracersUnderCharacter
  1332. if Bullshit.PlaceTracersUnderCharacter then
  1333. TracerPosition.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  1334. else
  1335. TracerPosition.BackgroundColor3 = Color3.new(31/255,31/255,31/255)
  1336. end
  1337. end)
  1338.  
  1339. ToggleFreeForAll.MouseButton1Click:connect(function()
  1340. if #Teams:GetChildren() > 0 then
  1341. Bullshit.FreeForAll = not Bullshit.FreeForAll
  1342. if Bullshit.FreeForAll then
  1343. ToggleFreeForAll.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  1344. else
  1345. ToggleFreeForAll.BackgroundColor3 = Color3.new(31/255,31/255,31/255)
  1346. end
  1347. end
  1348. end)
  1349.  
  1350. Crosshairs.MouseButton1Click:connect(function()
  1351. Bullshit.CrosshairEnabled = not Bullshit.CrosshairEnabled
  1352. if Bullshit.CrosshairEnabled then
  1353. local g = Instance.new("ScreenGui", CoreGui)
  1354. g.Name = "Corsshair"
  1355. local line1 = Instance.new("TextLabel", g)
  1356. line1.Text = ""
  1357. line1.Size = UDim2.new(0, 35, 0, 1)
  1358. line1.BackgroundColor3 = Bullshit.Colors.Crosshair
  1359. line1.BorderSizePixel = 0
  1360. line1.ZIndex = 10
  1361. local line2 = Instance.new("TextLabel", g)
  1362. line2.Text = ""
  1363. line2.Size = UDim2.new(0, 1, 0, 35)
  1364. line2.BackgroundColor3 = Bullshit.Colors.Crosshair
  1365. line2.BorderSizePixel = 0
  1366. line2.ZIndex = 10
  1367.  
  1368. local viewport = MyCam.ViewportSize
  1369. local centerx = viewport.X / 2
  1370. local centery = viewport.Y / 2
  1371.  
  1372. line1.Position = UDim2.new(0, centerx - (35 / 2), 0, centery - 35)
  1373. line2.Position = UDim2.new(0, centerx, 0, centery - (35 / 2) - 35)
  1374.  
  1375. Crosshairs.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  1376. else
  1377. local find = CoreGui:FindFirstChild("Corsshair")
  1378. if find then
  1379. find:Destroy()
  1380. end
  1381.  
  1382. Crosshairs.BackgroundColor3 = Color3.new(31/255,31/255,31/255)
  1383. end
  1384. end)
  1385.  
  1386. BlacklistToggle.MouseButton1Click:connect(function()
  1387. Blacklist.Visible = not Blacklist.Visible
  1388. if Blacklist.Visible then
  1389. BlacklistToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  1390. RefreshPlayerLabels()
  1391. else
  1392. BlacklistToggle.BackgroundColor3 = Color3.new(31/255,31/255,31/255)
  1393. end
  1394. end)
  1395.  
  1396. PlayerBox.FocusLost:connect(function()
  1397. local FindPlr = FindPlayer(PlayerBox.Text)
  1398. if FindPlr then
  1399. PlayerBox.Text = FindPlr.Name
  1400. elseif not Bullshit.Blacklist[PlayerBox.Text] then
  1401. PlayerBox.Text = "Player not Found!"
  1402. wait(1)
  1403. PlayerBox.Text = "Enter Player Name"
  1404. end
  1405. end)
  1406.  
  1407. BlacklistButton.MouseButton1Click:connect(function()
  1408. local FindPlr = FindPlayer(PlayerBox.Text)
  1409. if FindPlr then
  1410. if not Bullshit.Blacklist[FindPlr.Name] then
  1411. Bullshit.Blacklist[FindPlr.Name] = true
  1412. UpdateChams(FindPlr)
  1413. CreatePlayerLabel(FindPlr.Name)
  1414. else
  1415. Bullshit.Blacklist[FindPlr.Name] = nil
  1416. UpdateChams(FindPlr)
  1417. RefreshPlayerLabels()
  1418. end
  1419. else
  1420. if Bullshit.Blacklist[PlayerBox.Text] then
  1421. Bullshit.Blacklist[PlayerBox.Text] = nil
  1422. RefreshPlayerLabels()
  1423. end
  1424. end
  1425.  
  1426. if Bullshit.BlacklistSettings.SaveBlacklist then
  1427. local suc = pcall(function()
  1428. Synapse:WriteFile("Blacklist.txt", HTTP:JSONEncode(Bullshit.Blacklist))
  1429. end)
  1430. if not suc then
  1431. warn("Unable to save blacklist!")
  1432. warn("You need Synapse for this feature!")
  1433. end
  1434. end
  1435. end)
  1436.  
  1437. AimbotToggle.MouseButton1Click:connect(function()
  1438. Bullshit.AimbotEnabled = not Bullshit.AimbotEnabled
  1439. if Bullshit.AimbotEnabled then
  1440. AimbotToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
  1441. else
  1442. AimbotToggle.BackgroundColor3 = Color3.new(31/255,31/255,31/255)
  1443. end
  1444. end)
  1445.  
  1446. UserInput.InputBegan:connect(function(input, ingui)
  1447. if not ingui then
  1448. if input.UserInputType == Enum.UserInputType.Keyboard then
  1449. if input.KeyCode == Enum.KeyCode.P then
  1450. Background.Visible = not Background.Visible
  1451. end
  1452. elseif input.UserInputType == Enum.UserInputType.MouseButton2 then
  1453. Bullshit.Aimbot = true
  1454. end
  1455. end
  1456. end)
  1457.  
  1458. UserInput.InputEnded:connect(function(input)
  1459. if input.UserInputType == Enum.UserInputType.MouseButton2 then
  1460. Bullshit.Aimbot = false
  1461. end
  1462. end)
  1463. end
  1464.  
  1465. CreateGUI()
  1466.  
  1467. Run:BindToRenderStep("UpdateESP", Enum.RenderPriority.Character.Value, function()
  1468. for _, v in next, Plrs:GetPlayers() do
  1469. UpdateESP(v)
  1470. end
  1471. end)
  1472.  
  1473. Run:BindToRenderStep("UpdateInfo", 1000, function()
  1474. Bullshit.ClosestEnemy = GetClosestPlayer()
  1475. MyChar = MyPlr.Character
  1476. if Bullshit.DebugInfo then
  1477. local MyHead, MyTor, MyHum = MyChar:FindFirstChild("Head"), MyChar:FindFirstChild("HumanoidRootPart"), MyChar:FindFirstChild("Humanoid")
  1478.  
  1479. local GetChar, GetHead, GetTor, GetHum = nil, nil, nil, nil
  1480. if Bullshit.ClosestEnemy ~= nil then
  1481. GetChar = Bullshit.ClosestEnemy.Character
  1482. GetHead = GetChar:FindFirstChild("Head")
  1483. GetTor = GetChar:FindFirstChild("HumanoidRootPart")
  1484. GetHum = GetChar:FindFirstChild("Humanoid")
  1485.  
  1486. DebugMenu["PlayerSelected"].Text = "Closest Enemy: " .. tostring(Bullshit.ClosestEnemy)
  1487.  
  1488. if Bullshit.ClosestEnemy.Team ~= nil then
  1489. DebugMenu["PlayerTeam"].Text = "Team: " .. tostring(Bullshit.ClosestEnemy.Team)
  1490. else
  1491. DebugMenu["PlayerTeam"].Text = "Team: nil"
  1492. end
  1493.  
  1494. if GetHum then
  1495. DebugMenu["PlayerHealth"].Text = "Health: " .. string.format("%.0f", GetHum.Health)
  1496. end
  1497. if MyTor and GetTor then
  1498. local Pos = GetTor.Position
  1499. local Dist = (MyTor.Position - Pos).magnitude
  1500. DebugMenu["PlayerPosition"].Text = "Position: (X: " .. string.format("%.3f", Pos.X) .. " Y: " .. string.format("%.3f", Pos.Y) .. " Z: " .. string.format("%.3f", Pos.Z) .. ") Distance: " .. string.format("%.0f", Dist) .. " Studs"
  1501.  
  1502. local MyCharStuff = MyChar:GetDescendants()
  1503. local GetCharStuff = GetChar:GetDescendants()
  1504. for _, v in next, GetCharStuff do
  1505. if v ~= GetTor then
  1506. table.insert(MyCharStuff, v)
  1507. end
  1508. end
  1509. local Ray = Ray.new(MyTor.Position, (Pos - MyTor.Position).unit * 300)
  1510. local part = workspace:FindPartOnRayWithIgnoreList(Ray, MyCharStuff)
  1511. if part == GetTor then
  1512. DebugMenu["BehindWall"].Text = "Behind Wall: false"
  1513. else
  1514. DebugMenu["BehindWall"].Text = "Behind Wall: true"
  1515. end
  1516. end
  1517. end
  1518.  
  1519. -- My Position
  1520. if MyTor then
  1521. local Pos = MyTor.Position
  1522. DebugMenu["Position"].Text = "My Position: (X: " .. string.format("%.3f", Pos.x) .. " Y: " .. string.format("%.3f", Pos.Y) .. " Z: " .. string.format("%.3f", Pos.Z) .. ")"
  1523. end
  1524.  
  1525. -- FPS
  1526. local fps = math.floor(.5 + (1 / (tick() - LastTick)))
  1527. local sum = 0
  1528. local ave = 0
  1529. table.insert(Bullshit.FPSAverage, fps)
  1530. for i = 1, #Bullshit.FPSAverage do
  1531. sum = sum + Bullshit.FPSAverage[i]
  1532. end
  1533. DebugMenu["FPS"].Text = "FPS: " .. tostring(fps) .. " Average: " .. string.format("%.0f", (sum / #Bullshit.FPSAverage))
  1534. if (tick() - LastTick) >= 15 then
  1535. Bullshit.FPSAverage = { }
  1536. LastTick = tick()
  1537. end
  1538. LastTick = tick()
  1539. end
  1540. end)
  1541.  
  1542. Run:BindToRenderStep("Aimbot", Enum.RenderPriority.First.Value, function()
  1543. ClosestEnemy = GetClosestPlayerNotBehindWall()
  1544. if Bullshit.AimbotEnabled and Bullshit.Aimbot then
  1545. if ClosestEnemy ~= nil then
  1546. local GetChar = ClosestEnemy.Character
  1547. if MyChar and GetChar then
  1548. local MyCharStuff = MyChar:GetDescendants()
  1549. local MyHead = MyChar:FindFirstChild("Head")
  1550. local MyTor = MyChar:FindFirstChild("HumanoidRootPart")
  1551. local MyHum = MyChar:FindFirstChild("Humanoid")
  1552. local GetHead = GetChar:FindFirstChild("Head")
  1553. local GetTor = GetChar:FindFirstChild("HumanoidRootPart")
  1554. local GetHum = GetChar:FindFirstChild("Humanoid")
  1555. if MyHead and MyTor and MyHum and GetHead and GetTor and GetHum then
  1556. if MyHum.Health > 1 and (GetHum.Health > 1 and not GetChar:FindFirstChild("KO")) then
  1557. --[[local Ray = Ray.new(MyHead.Position, (GetHead.Position - MyHead.Position).unit * 2048)
  1558. local part = workspace:FindPartOnRayWithIgnoreList(Ray, MyCharStuff)
  1559. if part:IsDescendantOf(GetChar) then]]
  1560. MyPlr.CameraMode = Enum.CameraMode.LockFirstPerson
  1561. MyCam.CFrame = CFrame.new(MyHead.CFrame.p, GetHead.CFrame.p)
  1562. pcall(function()
  1563. mouse1click()
  1564. end)
  1565. --end
  1566. end
  1567. end
  1568. end
  1569. end
  1570. else
  1571. MyPlr.CameraMode = Bullshit.CameraModeBackup
  1572. end
  1573. end)
  1574.  
  1575. local succ, out = coroutine.resume(coroutine.create(function()
  1576. while true do
  1577. for _, v in next, Plrs:GetPlayers() do
  1578. UpdateChams(v)
  1579. Run.RenderStepped:wait()
  1580. end
  1581. end
  1582. end))
  1583.  
  1584. if not succ then
  1585. error(out)
  1586. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement