Advertisement
Guest User

adgfdager

a guest
Jan 18th, 2020
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.61 KB | None | 0 0
  1. -- MADE BY AndreiRed
  2.  
  3. -- Instances:
  4.  
  5. local DRS = Instance.new("ScreenGui")
  6. local OpenFrame = Instance.new("Frame")
  7. local OpenButton = Instance.new("TextButton")
  8. local GUICredits = Instance.new("TextLabel")
  9. local MainFrame = Instance.new("Frame")
  10. local ExploitName = Instance.new("TextLabel")
  11. local Credits = Instance.new("TextLabel")
  12. local CloseButton = Instance.new("TextButton")
  13. local AimBot = Instance.new("TextButton")
  14. local InfinitJump = Instance.new("TextButton")
  15. local JailBreak = Instance.new("TextButton")
  16. local Noclip = Instance.new("TextButton")
  17.  
  18. --Properties:
  19.  
  20. DRS.Name = "DRS"
  21. DRS.Parent = game.CoreGui
  22. DRS.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  23.  
  24. OpenFrame.Name = "OpenFrame"
  25. OpenFrame.Parent = DRS
  26. OpenFrame.BackgroundColor3 = Color3.fromRGB(138, 0, 0)
  27. OpenFrame.BackgroundTransparency = 0.300
  28. OpenFrame.Position = UDim2.new(0.404893428, 0, 0.438472539, 0)
  29. OpenFrame.Size = UDim2.new(0, 240, 0, 96)
  30. OpenFrame.Draggable = true
  31. OpenFrame.Active = true
  32.  
  33. OpenButton.Name = "OpenButton"
  34. OpenButton.Parent = OpenFrame
  35. OpenButton.BackgroundColor3 = Color3.fromRGB(90, 90, 90)
  36. OpenButton.Position = UDim2.new(0.16851908, 0, 0.393520027, 0)
  37. OpenButton.Size = UDim2.new(0, 158, 0, 44)
  38. OpenButton.Font = Enum.Font.GothamSemibold
  39. OpenButton.Text = "OPEN"
  40. OpenButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  41. OpenButton.TextScaled = true
  42. OpenButton.TextSize = 14.000
  43. OpenButton.TextWrapped = true
  44. OpenFrame.MouseButton1Down:connect(function()
  45. MainFrame.Visible = true -- Makes the gui visible
  46. OpenFrame.Visible = false -- Makes the open button invisible
  47. end)
  48.  
  49. GUICredits.Name = "GUI Credits"
  50. GUICredits.Parent = OpenFrame
  51. GUICredits.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  52. GUICredits.BackgroundTransparency = 1.000
  53. GUICredits.Size = UDim2.new(0, 240, 0, 38)
  54. GUICredits.Font = Enum.Font.Fantasy
  55. GUICredits.Text = "GUI Made By AndreiRed on YT."
  56. GUICredits.TextColor3 = Color3.fromRGB(0, 0, 0)
  57. GUICredits.TextScaled = true
  58. GUICredits.TextSize = 14.000
  59. GUICredits.TextWrapped = true
  60.  
  61. MainFrame.Name = "MainFrame"
  62. MainFrame.Parent = DRS
  63. MainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  64. MainFrame.BackgroundTransparency = 0.500
  65. MainFrame.Position = UDim2.new(0.30071032, 0, 0.297297299, 0)
  66. MainFrame.Size = UDim2.new(0, 504, 0, 328)
  67. MainFrame.Visible = false
  68. MainFrame.Draggable = true
  69. MainFrame.Active = true
  70.  
  71. ExploitName.Name = "ExploitName"
  72. ExploitName.Parent = MainFrame
  73. ExploitName.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
  74. ExploitName.BackgroundTransparency = 0.200
  75. ExploitName.Position = UDim2.new(0.0469575897, 0, 0, 0)
  76. ExploitName.Size = UDim2.new(0, 378, 0, 43)
  77. ExploitName.Font = Enum.Font.GothamSemibold
  78. ExploitName.Text = "DRS¬DarkRedSploit¬DRS"
  79. ExploitName.TextColor3 = Color3.fromRGB(0, 0, 0)
  80. ExploitName.TextScaled = true
  81. ExploitName.TextSize = 14.000
  82. ExploitName.TextWrapped = true
  83.  
  84. Credits.Name = "Credits"
  85. Credits.Parent = MainFrame
  86. Credits.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
  87. Credits.BackgroundTransparency = 0.200
  88. Credits.Position = UDim2.new(0, 0, 0.132621944, 0)
  89. Credits.Size = UDim2.new(0, 426, 0, 43)
  90. Credits.Font = Enum.Font.GothamSemibold
  91. Credits.Text = "IMPORTANT !! I Am Not The Owner Of The Scripts!!"
  92. Credits.TextColor3 = Color3.fromRGB(0, 0, 0)
  93. Credits.TextScaled = true
  94. Credits.TextSize = 14.000
  95. Credits.TextWrapped = true
  96.  
  97. CloseButton.Name = "CloseButton"
  98. CloseButton.Parent = MainFrame
  99. CloseButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  100. CloseButton.BackgroundTransparency = 0.500
  101. CloseButton.Position = UDim2.new(0.84523809, 0, 0, 0)
  102. CloseButton.Size = UDim2.new(0, 78, 0, 86)
  103. CloseButton.Font = Enum.Font.GothamBold
  104. CloseButton.Text = "X"
  105. CloseButton.TextColor3 = Color3.fromRGB(170, 0, 0)
  106. CloseButton.TextScaled = true
  107. CloseButton.TextSize = 14.000
  108. CloseButton.TextWrapped = true
  109. CloseButton.MouseButton1Down:connect(function()
  110. MainFrame.Visible = false-- Makes the gui visible
  111. OpenFrame.Visible = true-- Makes the open button invisible
  112. end)
  113.  
  114. AimBot.Name = "AimBot"
  115. AimBot.Parent = MainFrame
  116. AimBot.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  117. AimBot.BackgroundTransparency = 0.300
  118. AimBot.Position = UDim2.new(0.132936507, 0, 0.423780471, 0)
  119. AimBot.Size = UDim2.new(0, 150, 0, 50)
  120. AimBot.Font = Enum.Font.SourceSansItalic
  121. AimBot.Text = "AimbotForAnyGame"
  122. AimBot.TextColor3 = Color3.fromRGB(170, 0, 0)
  123. AimBot.TextScaled = true
  124. AimBot.TextSize = 14.000
  125. AimBot.TextWrapped = true
  126. AimBot.MouseButton1Down:connect(function()
  127. pcall(function()
  128. local espcolor = Color3.fromRGB(140, 69, 102)
  129. local wallhack_esp_transparency = .4
  130. local gui_hide_button = {Enum.KeyCode.LeftControl, "h"}
  131. local plrs = game:GetService("Players")
  132. local lplr = game:GetService("Players").LocalPlayer
  133. local TeamBased = true ; local teambasedswitch = "o"
  134. local presskeytoaim = true; local aimkey = "e"
  135. aimbothider = false; aimbothiderspeed = .5
  136. local Aim_Assist = false ; Aim_Assist_Key = {Enum.KeyCode.LeftControl, "z"}
  137. local espupdatetime = 5; autoesp = false
  138. local abs = math.abs
  139. local mouselock = false
  140. local canaimat = true
  141. local lockaim = true; local lockangle = 5
  142. local ver = "2"
  143. local cam = game.Workspace.CurrentCamera
  144. local BetterDeathCount = true
  145.  
  146.  
  147. local mouse = lplr:GetMouse()
  148. local switch = false
  149. local key = "k"
  150. local aimatpart = nil
  151.  
  152.  
  153.  
  154.  
  155. local Gui = Instance.new("ScreenGui")
  156. local Move = Instance.new("Frame")
  157. local Main = Instance.new("Frame")
  158. local EspStatus = Instance.new("TextLabel")
  159. local st1 = Instance.new("TextLabel")
  160. local st1_2 = Instance.new("TextLabel")
  161. local st1_3 = Instance.new("TextLabel")
  162. local Name = Instance.new("TextLabel")
  163. --Properties:
  164.  
  165. Gui.Parent = plrs.LocalPlayer:WaitForChild("PlayerGui")
  166.  
  167.  
  168.  
  169. local gotstring = 0
  170. local function getrandomstring()
  171. gotstring = gotstring+666
  172. local str = ""
  173. local randomstring = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "g", "k", "l", "m", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z",
  174. "?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?", "`", "$",
  175. "0","1","2","3","4","5","6","7","8","9", }
  176. local counting123 = 0
  177. for i, v in ipairs(randomstring) do
  178. counting123 = i
  179. end
  180. do
  181. math.randomseed(tick()+gotstring)
  182. for i = 3, math.random(1,100) do
  183. math.randomseed(i+tick()+gotstring)
  184.  
  185. local oneortwo = math.random(1,2)
  186. if oneortwo == 2 then
  187. math.randomseed(i+tick()+gotstring)
  188. str = str..""..randomstring[math.random(1, counting123)]
  189. else
  190. math.randomseed(i+tick()+gotstring)
  191. str = str..""..string.upper(randomstring[math.random(1, counting123)])
  192. end
  193.  
  194. end
  195. end
  196. return str
  197. end
  198. local mousedown = false
  199. local isonmovething = false
  200. local mouseoffset = Vector2.new()
  201. local mousedown = false
  202.  
  203.  
  204.  
  205.  
  206. Gui.Name = getrandomstring()
  207.  
  208. Move.Name = getrandomstring()
  209. Move.Draggable = true
  210. Move.Parent = Gui
  211. Move.BackgroundColor3 = Color3.new(0.0431373, 1, 0.0745098)
  212. Move.BackgroundTransparency = 0.40000000596046
  213. Move.BorderSizePixel = 0
  214. Move.Position = UDim2.new(0.5, 0,0.018, 0)
  215. Move.Size = UDim2.new(0.2, 0, 0.0320388414, 0)
  216.  
  217. Move.MouseEnter:Connect(function()
  218.  
  219. isonmovething = true
  220.  
  221. end)
  222. Move.MouseLeave:Connect(function()
  223.  
  224. isonmovething = mousedown and true or false
  225. end)
  226. mouse.Button1Down:connect(function()
  227. mousedown = true
  228. mouseoffset = Move.AbsolutePosition - Vector2.new(mouse.X, mouse.Y)
  229. end)
  230. mouse.Button1Up:connect(function()
  231. mousedown = false
  232. end)
  233.  
  234. mouse.Move:Connect(function()
  235. if isonmovething == true and mousedown then
  236. Move.Position = UDim2.new(0, mouseoffset.X + mouse.X, 0, mouseoffset.Y + mouse.Y)
  237. end
  238. end)
  239.  
  240. Main.Name = getrandomstring()
  241. Main.Parent = Move
  242. Main.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  243. Main.BackgroundTransparency = 0.69999998807907
  244. Main.Position = UDim2.new(0, 0, 0.995670795, 0)
  245. Main.Size = UDim2.new(1.0000006, 0, 11.2, 0)
  246.  
  247. EspStatus.Name = getrandomstring()
  248. EspStatus.Parent = Main
  249. EspStatus.BackgroundColor3 = Color3.new(1, 1, 1)
  250. EspStatus.BackgroundTransparency = 1
  251. EspStatus.Size = UDim2.new(0.272955924, 0, 0.161862016, 0)
  252. EspStatus.Font = Enum.Font.ArialBold
  253. EspStatus.Text = "Press T to update Esp"
  254. EspStatus.TextColor3 = Color3.new(0.0431373, 1, 0.0745098)
  255. EspStatus.TextScaled = true
  256. EspStatus.TextSize = 14
  257. EspStatus.TextWrapped = true
  258.  
  259. st1.Name = getrandomstring()
  260. st1.Parent = Main
  261. st1.BackgroundColor3 = Color3.new(1, 1, 1)
  262. st1.BackgroundTransparency = 1
  263. st1.Position = UDim2.new(0.271787882, 0, 0, 0)
  264. st1.Size = UDim2.new(0.728211343, 0, 0.161862016, 0)
  265. st1.Font = Enum.Font.ArialBold
  266. st1.Text = "Press "..aimkey.." to lock on a person inside ur view"
  267. st1.TextColor3 = Color3.new(0.0431373, 1, 0.0745098)
  268. st1.TextScaled = true
  269. st1.TextSize = 14
  270. st1.TextWrapped = true
  271.  
  272. st1_2.Name = getrandomstring()
  273. st1_2.Parent = Main
  274. st1_2.BackgroundColor3 = Color3.new(1, 1, 1)
  275. st1_2.BackgroundTransparency = 1
  276. st1_2.Position = UDim2.new(0, 0, 0.375590861, 0)
  277. st1_2.Size = UDim2.new(0.999999881, 0, 0.161862016, 0)
  278. st1_2.Font = Enum.Font.ArialBold
  279. st1_2.Text = "Press L to enable esp loop. Press Y to disable/enable aimbot hider"
  280. st1_2.TextColor3 = Color3.new(0.0431373, 1, 0.0745098)
  281. st1_2.TextScaled = true
  282. st1_2.TextSize = 14
  283. st1_2.TextWrapped = true
  284.  
  285. local aimbothiderbox = Instance.new("TextBox")
  286. aimbothiderbox.Name = getrandomstring()
  287. aimbothiderbox.Text = "Speed :"..tostring(aimbothiderspeed).." off"
  288. aimbothiderbox.Size = UDim2.new(1, 0,0.162, 0)
  289. aimbothiderbox.TextScaled = true
  290. aimbothiderbox.TextColor3 =Color3.fromRGB(255, 0, 0)
  291. aimbothiderbox.Position = UDim2.new(0, 0,0.853, 0)
  292. aimbothiderbox.BackgroundTransparency = 1
  293. aimbothiderbox.Parent = Main
  294.  
  295. st1_3.Name = getrandomstring()
  296. st1_3.Parent = Main
  297. st1_3.BackgroundColor3 = Color3.new(1, 1, 1)
  298. st1_3.BackgroundTransparency = 1
  299. st1_3.Position = UDim2.new(0, 0, 0.18558608, 0)
  300. st1_3.Size = UDim2.new(0.999999881, 0, 0.161862016, 0)
  301. st1_3.Font = Enum.Font.ArialBold
  302. st1_3.Text = "Press O to change team based mode"
  303. st1_3.TextColor3 = Color3.new(0.0431373, 1, 0.0745098)
  304. st1_3.TextScaled = true
  305. st1_3.TextSize = 14
  306. st1_3.TextWrapped = true
  307. local teambasedstatus = st1_3:Clone()
  308. teambasedstatus.Parent = Main
  309. teambasedstatus.TextScaled = true
  310. teambasedstatus.Position = UDim2.new(0, 0,.7, 0)
  311. teambasedstatus.Size = UDim2.new(1, 0,.1, 0)
  312. teambasedstatus.Name = getrandomstring()
  313. teambasedstatus.Text = "Team Based: "..tostring(TeamBased)
  314. local espstatustext = teambasedstatus:Clone()
  315. espstatustext.Name = getrandomstring()
  316. espstatustext.Position = UDim2.new(0, 0,0.58, 0)
  317. espstatustext.Text = "Esp loop :"..tostring(autoesp)
  318. espstatustext.Parent = Main
  319. local hide = Instance.new("TextButton")
  320. hide.Text = "_"
  321. hide.BackgroundTransparency = 1
  322. hide.TextScaled = true
  323. hide.TextWrapped = true
  324. hide.Size = UDim2.new(0.1, 0,1, 0)
  325. hide.Position = UDim2.new(0.9, 0,-0.15, 0)
  326. hide.Name = getrandomstring()
  327. hide.Parent = Move
  328. Name.Name = getrandomstring()
  329. Name.Parent = Move
  330. Name.BackgroundColor3 = Color3.new(1, 1, 1)
  331. Name.BackgroundTransparency = 1
  332. Name.Size = UDim2.new(0.838, 0, 1, 0)
  333. Name.Font = Enum.Font.Arial
  334. Name.Text = "FPS gui v"..ver
  335. Name.TextColor3 = Color3.new(0, 0, 0)
  336. Name.TextScaled = true
  337. Name.TextSize = 14
  338. Name.TextWrapped = true
  339. Name.TextXAlignment = Enum.TextXAlignment.Left
  340. local scr = Instance.new("ScrollingFrame")
  341. scr.Size = Main.Size
  342. scr.Position = Main.Position
  343. scr.ScrollBarThickness = 0
  344. scr.BackgroundTransparency = 1
  345. scr.Name = getrandomstring()
  346. Main.Size = UDim2.new(1, 0, 1, 0)
  347. Main.Position = UDim2.new(0,0,0,0)
  348. Main.Parent = scr
  349. scr.Parent = Move
  350. startpos = Main.Position
  351. Move.Active = true
  352.  
  353. -- Scripts:
  354. hided = false
  355. hide.MouseButton1Click:Connect(function()
  356. if hided == false then
  357. hided = true
  358. Main:TweenPosition(UDim2.new(0, 0, -1.5, 0))
  359. else
  360. hided = false
  361. Main:TweenPosition(startpos)
  362. end
  363. end)
  364.  
  365.  
  366. aimbothiderbox.FocusLost:Connect(function()
  367. local numb = tonumber(aimbothiderbox.Text)
  368. if aimbothider == true then
  369. aimbothiderbox.TextColor3 =Color3.fromRGB(11, 255, 19)
  370. else
  371. aimbothiderbox.TextColor3 =Color3.fromRGB(255, 0, 0)
  372. end
  373. if numb ~= nil then
  374. aimbothiderspeed = numb
  375. if aimbothider == true then
  376. aimbothiderbox.Text = "Speed :"..tostring(aimbothiderspeed).." on"
  377. else
  378. aimbothiderbox.Text = "Speed :"..tostring(aimbothiderspeed).." off"
  379. end
  380. else
  381. if aimbothider == true then
  382. aimbothiderbox.Text = "Speed :"..tostring(aimbothiderspeed).." on"
  383. else
  384. aimbothiderbox.Text = "Speed :"..tostring(aimbothiderspeed).." off"
  385. end
  386. end
  387. end)
  388.  
  389.  
  390. local plrsforaim = {}
  391.  
  392.  
  393. Move.Draggable = true
  394. Gui.ResetOnSpawn = false
  395. --Gui.Name = "Chat"
  396. Gui.DisplayOrder = 999
  397. if not game:GetService("CoreGui") then
  398. Gui.Parent = plrs.LocalPlayer.PlayerGui
  399. else
  400. Gui.Parent = game:GetService("CoreGui")
  401. end
  402.  
  403.  
  404.  
  405.  
  406.  
  407. f = {}
  408. local espforlder
  409. local partconverter = Instance.new("Part")
  410.  
  411. f.addesp = function()
  412. pcall(function()
  413. --print("ESP ran")
  414. if espforlder then
  415. espforlder:Destroy()
  416. espforlder = Instance.new("Folder")
  417. espforlder.Parent = game.Workspace.CurrentCamera
  418. else
  419. espforlder = Instance.new("Folder")
  420. espforlder.Parent = game.Workspace.CurrentCamera
  421. end
  422. for i, v in pairs(espforlder:GetChildren()) do
  423. v:Destroy()
  424. end
  425. for _, plr in pairs(plrs:GetChildren()) do
  426. if plr.Character and plr.Character.Humanoid.Health > 0 and plr.Name ~= lplr.Name then
  427. if TeamBased == true then
  428. if plr.Team.Name ~= plrs.LocalPlayer.Team.Name then
  429. local e = espforlder:FindFirstChild(plr.Name)
  430. if not e then
  431. local fold = Instance.new("Folder", espforlder)
  432. fold.Name = plr.Name
  433.  
  434. --partconverter.BrickColor = plr.Team.Color
  435. --local teamc = partconverter.Color
  436. for i, p in pairs(plr.Character:GetChildren()) do
  437. if p:IsA("BasePart") and p.Name ~= "HumanoidRootPart" then
  438. local urmom = Instance.new("BoxHandleAdornment")
  439. urmom.ZIndex = 10
  440. urmom.AlwaysOnTop = true
  441. urmom.Color3 = espcolor
  442. urmom.Size = p.Size
  443. urmom.Adornee = p
  444. urmom.Name = tick().." Ur mom has big gay"
  445. urmom.Transparency = wallhack_esp_transparency
  446. urmom.Parent = fold
  447.  
  448. end
  449. end
  450. plr.Character.Humanoid.Died:Connect(function()
  451. fold:Destroy()
  452. end)
  453. end
  454. end
  455. else
  456. local e = espforlder:FindFirstChild(plr.Name)
  457. if not e then
  458. local fold = Instance.new("Folder", espforlder)
  459. fold.Name = plr.Name
  460.  
  461. --partconverter.BrickColor = plr.Team.Color
  462. --local teamc = Move.BackgroundColor3
  463. for i, p in pairs(plr.Character:GetChildren()) do
  464. if p:IsA("BasePart") and p.Name ~= "HumanoidRootPart" then
  465. local urmom = Instance.new("BoxHandleAdornment")
  466. urmom.ZIndex = 10
  467. urmom.AlwaysOnTop = true
  468. urmom.Color3 = espcolor
  469. urmom.Size = p.Size
  470. urmom.Adornee = p
  471. urmom.Name = tick().." Ur mom has big gay"
  472. urmom.Transparency = wallhack_esp_transparency
  473. urmom.Parent = fold
  474. end
  475. end
  476. plr.Character.Humanoid.Died:Connect(function()
  477. fold:Destroy()
  478. end)
  479. end
  480. end
  481.  
  482.  
  483. end
  484. end
  485. end)
  486. end
  487. local uis = game:GetService("UserInputService")
  488. local bringall = false
  489. local hided2 = false
  490. mouse.KeyDown:Connect(function(a)
  491. if a == "t" then
  492. --print("worked1")
  493. f.addesp()
  494. elseif a == gui_hide_button[2] and uis:IsKeyDown(gui_hide_button[1]) then
  495. if hided2 == false then
  496. hided2 = true
  497. autoesp =false
  498. if espforlder then
  499. espforlder:Destroy()
  500. end
  501. Gui.Enabled = false
  502. else
  503. Gui.Enabled = true
  504. hided2 = false
  505. end
  506. elseif a == "u" then
  507. if mouselock == false then
  508. mouselock = true
  509. else
  510. mouselock = false
  511. end
  512. elseif a == "y" then
  513. if aimbothider == false then
  514. aimbothider = true
  515. if aimbothider == true then
  516. aimbothiderbox.Text = "Speed :"..tostring(aimbothiderspeed).." on"
  517. else
  518. aimbothiderbox.Text = "Speed :"..tostring(aimbothiderspeed).." off"
  519. end
  520. else
  521.  
  522. aimbothider = false
  523. if aimbothider == true then
  524. aimbothiderbox.Text = "Speed :"..tostring(aimbothiderspeed).." on"
  525. else
  526. aimbothiderbox.Text = "Speed :"..tostring(aimbothiderspeed).." off"
  527. end
  528. end
  529. if aimbothider == true then
  530. aimbothiderbox.TextColor3 =Color3.fromRGB(11, 255, 19)
  531. else
  532. aimbothiderbox.TextColor3 =Color3.fromRGB(255, 0, 0)
  533. end
  534. elseif a == "l" then
  535. if autoesp == false then
  536. autoesp = true
  537. else
  538. autoesp = false
  539. end
  540. elseif a == Aim_Assist_Key[2] and uis:IsKeyDown(Aim_Assist_Key[1]) then
  541. if Aim_Assist == true then
  542. Aim_Assist = false
  543. --print("disabled")
  544. else
  545. Aim_Assist = true
  546. end
  547. end
  548. if a == "j" then
  549. if mouse.Target then
  550. mouse.Target:Destroy()
  551. end
  552. end
  553. if a == key then
  554. if switch == false then
  555. switch = true
  556. else
  557. switch = false
  558. if aimatpart ~= nil then
  559. aimatpart = nil
  560. end
  561. end
  562. elseif a == teambasedswitch then
  563. if TeamBased == true then
  564. TeamBased = false
  565. teambasedstatus.Text = "Team Based: "..tostring(TeamBased)
  566. else
  567. TeamBased = true
  568. teambasedstatus.Text = "Team Based: "..tostring(TeamBased)
  569. end
  570. elseif a == aimkey then
  571. if not aimatpart then
  572. local maxangle = math.rad(20)
  573. for i, plr in pairs(plrs:GetChildren()) do
  574. if plr.Name ~= lplr.Name and plr.Character and plr.Character.Head and plr.Character.Humanoid and plr.Character.Humanoid.Health > 1 then
  575. if TeamBased == true then
  576. if plr.Team.Name ~= lplr.Team.Name then
  577. local an = checkfov(plr.Character.Head)
  578. if an < maxangle then
  579. maxangle = an
  580. aimatpart = plr.Character.Head
  581. end
  582. end
  583. else
  584. local an = checkfov(plr.Character.Head)
  585. if an < maxangle then
  586. maxangle = an
  587. aimatpart = plr.Character.Head
  588. end
  589. --print(plr)
  590. end
  591. local old = aimatpart
  592. plr.Character.Humanoid.Died:Connect(function()
  593. --print("died")
  594. if aimatpart and aimatpart == old then
  595. aimatpart = nil
  596. end
  597. end)
  598.  
  599. end
  600. end
  601. else
  602. aimatpart = nil
  603. canaimat = false
  604. delay(1.1, function()
  605. canaimat = true
  606. end)
  607. end
  608. end
  609. end)
  610.  
  611. function getfovxyz (p0, p1, deg)
  612. local x1, y1, z1 = p0:ToOrientation()
  613. local cf = CFrame.new(p0.p, p1.p)
  614. local x2, y2, z2 = cf:ToOrientation()
  615. local d = math.deg
  616. if deg then
  617. return Vector3.new(d(x1-x2), d(y1-y2), d(z1-z2))
  618. else
  619. return Vector3.new((x1-x2), (y1-y2), (z1-z2))
  620. end
  621. end
  622.  
  623.  
  624. function aimat(part)
  625. if part then
  626. if aimbothider == true or Aim_Assist == true then
  627. cam.CFrame = cam.CFrame:Lerp(CFrame.new(cam.CFrame.p, part.CFrame.p), aimbothiderspeed)
  628. else
  629.  
  630. cam.CFrame = CFrame.new(cam.CFrame.p, part.CFrame.p)
  631. end
  632. end
  633. end
  634. function checkfov (part)
  635. local fov = getfovxyz(game.Workspace.CurrentCamera.CFrame, part.CFrame)
  636. local angle = math.abs(fov.X) + math.abs(fov.Y)
  637. return angle
  638. end
  639. pcall(function()
  640. delay(0, function()
  641. while wait(.4) do
  642. if Aim_Assist and not aimatpart and canaimat and lplr.Character and lplr.Character.Humanoid and lplr.Character.Humanoid.Health > 0 then
  643. for i, plr in pairs(plrs:GetChildren()) do
  644.  
  645.  
  646. local minangle = math.rad(5.5)
  647. local lastpart = nil
  648. local function gg(plr)
  649. pcall(function()
  650. if plr.Name ~= lplr.Name and plr.Character and plr.Character.Humanoid and plr.Character.Humanoid.Health > 0 and plr.Character.Head then
  651. local raycasted = false
  652. local cf1 = CFrame.new(cam.CFrame.p, plr.Character.Head.CFrame.p) * CFrame.new(0, 0, -4)
  653. local r1 = Ray.new(cf1.p, cf1.LookVector * 9000)
  654. local obj, pos = game.Workspace:FindPartOnRayWithIgnoreList(r1, {lplr.Character.Head})
  655. local dist = (plr.Character.Head.CFrame.p- pos).magnitude
  656. if dist < 4 then
  657. raycasted = true
  658. end
  659. if raycasted == true then
  660. local an1 = getfovxyz(cam.CFrame, plr.Character.Head.CFrame)
  661. local an = abs(an1.X) + abs(an1.Y)
  662. if an < minangle then
  663. minangle = an
  664. lastpart = plr.Character.Head
  665. end
  666. end
  667. end
  668. end)
  669. end
  670. if TeamBased then
  671. if plr.Team.Name ~= lplr.Team.Name then
  672. gg(plr)
  673. end
  674. else
  675. gg(plr)
  676. end
  677. --print(math.deg(minangle))
  678. if lastpart then
  679. aimatpart = lastpart
  680. aimatpart.Parent.Humanoid.Died:Connect(function()
  681. if aimatpart == lastpart then
  682. aimatpart = nil
  683. end
  684. end)
  685.  
  686. end
  687. end
  688. end
  689. end
  690. end)
  691. end)
  692. local oldheadpos
  693. local lastaimapart
  694. game:GetService("RunService").RenderStepped:Connect(function()
  695. espstatustext.Text = "Esp loop :"..tostring(autoesp)
  696. if aimatpart and lplr.Character and lplr.Character.Head then
  697. if BetterDeathCount and lastaimapart and lastaimapart == aimatpart then
  698. local dist = (oldheadpos - aimatpart.CFrame.p).magnitude
  699. if dist > 40 then
  700. aimatpart = nil
  701. end
  702. end
  703. lastaimapart = aimatpart
  704. oldheadpos = lastaimapart.CFrame.p
  705. do
  706. if aimatpart.Parent == plrs.LocalPlayer.Character then
  707. aimatpart = nil
  708. end
  709. aimat(aimatpart)
  710. pcall(function()
  711. if Aim_Assist == true then
  712. local cf1 = CFrame.new(cam.CFrame.p, aimatpart.CFrame.p) * CFrame.new(0, 0, -4)
  713. local r1 = Ray.new(cf1.p, cf1.LookVector * 1000)
  714. local obj, pos = game.Workspace:FindPartOnRayWithIgnoreList(r1, {lplr.Character.Head})
  715. local dist = (aimatpart.CFrame.p- pos).magnitude
  716. if obj then
  717. --print(obj:GetFullName())
  718. end
  719. if not obj or dist > 6 then
  720. aimatpart = nil
  721. --print("ooof")
  722. end
  723. canaimat = false
  724. delay(.5, function()
  725. canaimat = true
  726. end)
  727. end
  728. end)
  729. end
  730.  
  731.  
  732.  
  733. end
  734. end)
  735. delay(0, function()
  736. while wait(espupdatetime) do
  737. if autoesp == true then
  738. pcall(function()
  739. f.addesp()
  740. end)
  741. end
  742. end
  743. end)
  744. --warn("loaded")
  745. end)
  746. end)
  747.  
  748. InfinitJump.Name = "InfinitJump"
  749. InfinitJump.Parent = MainFrame
  750. InfinitJump.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  751. InfinitJump.BackgroundTransparency = 0.300
  752. InfinitJump.Position = UDim2.new(0.569444418, 0, 0.420731723, 0)
  753. InfinitJump.Size = UDim2.new(0, 150, 0, 50)
  754. InfinitJump.Font = Enum.Font.SourceSansItalic
  755. InfinitJump.Text = "InfinitJump"
  756. InfinitJump.TextColor3 = Color3.fromRGB(170, 0, 0)
  757. InfinitJump.TextScaled = true
  758. InfinitJump.TextSize = 14.000
  759. InfinitJump.TextWrapped = true
  760. InfinitJump.MouseButton1Down:connect(function()
  761. -- //~ F to toggle ~\\ --
  762.  
  763. _G.infinjump = true
  764.  
  765. local Player = game:GetService("Players").LocalPlayer
  766. local Mouse = Player:GetMouse()
  767. Mouse.KeyDown:connect(function(k)
  768. if _G.infinjump then
  769. if k:byte() == 32 then
  770. Humanoid = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  771. Humanoid:ChangeState("Jumping")
  772. wait(0.1)
  773. Humanoid:ChangeState("Seated")
  774. end
  775. end
  776. end)
  777.  
  778. local Player = game:GetService("Players").LocalPlayer
  779. local Mouse = Player:GetMouse()
  780. Mouse.KeyDown:connect(function(k)
  781. k = k:lower()
  782. if k == "f" then
  783. if _G.infinjump == true then
  784. _G.infinjump = false
  785. else
  786. _G.infinjump = true
  787. end
  788. end
  789. end)
  790. end)
  791.  
  792. JailBreak.Name = "JailBreak"
  793. JailBreak.Parent = MainFrame
  794. JailBreak.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  795. JailBreak.BackgroundTransparency = 0.300
  796. JailBreak.Position = UDim2.new(0.132936507, 0, 0.698170722, 0)
  797. JailBreak.Size = UDim2.new(0, 150, 0, 50)
  798. JailBreak.Font = Enum.Font.SourceSansItalic
  799. JailBreak.Text = "JailBreak.AutoRob"
  800. JailBreak.TextColor3 = Color3.fromRGB(170, 0, 0)
  801. JailBreak.TextScaled = true
  802. JailBreak.TextSize = 14.000
  803. JailBreak.TextWrapped = true
  804. JailBreak.MouseButton1Down:connect(function()
  805. loadstring(game:GetObjects("rbxassetid://1461971147")[1].Source)()
  806. end)
  807.  
  808. Noclip.Name = "Noclip"
  809. Noclip.Parent = MainFrame
  810. Noclip.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  811. Noclip.BackgroundTransparency = 0.300
  812. Noclip.Position = UDim2.new(0.569444418, 0, 0.698170781, 0)
  813. Noclip.Size = UDim2.new(0, 150, 0, 50)
  814. Noclip.Font = Enum.Font.SourceSansItalic
  815. Noclip.Text = "Noclip (COMING SOON)"
  816. Noclip.TextColor3 = Color3.fromRGB(170, 0, 0)
  817. Noclip.TextScaled = true
  818. Noclip.TextSize = 14.000
  819. Noclip.TextWrapped = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement