Advertisement
KevinPlayLT2

Arsenal Mod Menu

Feb 6th, 2021
5,561
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.10 KB | None | 0 0
  1. local espcolor = Color3.fromRGB(140, 69, 102)
  2. local wallhack_esp_transparency = .4
  3. local gui_hide_button = {Enum.KeyCode.LeftControl, "h"}
  4. local plrs = game:GetService("Players")
  5. local lplr = game:GetService("Players").LocalPlayer
  6. local TeamBased = true ; local teambasedswitch = "o"
  7. local presskeytoaim = true; local aimkey = "e"
  8. aimbothider = false; aimbothiderspeed = .5
  9. local Aim_Assist = false ; Aim_Assist_Key = {Enum.KeyCode.LeftControl, "z"}
  10. local espupdatetime = 5; autoesp = false
  11. local abs = math.abs
  12. local mouselock = false
  13. local canaimat = true
  14. local lockaim = true; local lockangle = 5
  15. local ver = "2"
  16. local cam = game.Workspace.CurrentCamera
  17. local BetterDeathCount = true
  18.  
  19.  
  20. local mouse = lplr:GetMouse()
  21. local switch = false
  22. local key = "k"
  23. local aimatpart = nil
  24.  
  25. local CCAimbot = Instance.new("ScreenGui")
  26. local AimbotFrame = Instance.new("Frame")
  27. local MainAimbotFrame = Instance.new("Frame")
  28. local N2 = Instance.new("Frame")
  29. local CheatType = Instance.new("TextLabel")
  30. local N2_2 = Instance.new("Frame")
  31. local CheatType_2 = Instance.new("TextLabel")
  32. local N1 = Instance.new("Frame")
  33. local CheatType_3 = Instance.new("TextLabel")
  34. local C5 = Instance.new("Frame")
  35. local Letters = Instance.new("TextLabel")
  36. local CheatType_4 = Instance.new("TextLabel")
  37. local C4 = Instance.new("Frame")
  38. local Letters_2 = Instance.new("TextLabel")
  39. local CheatType_5 = Instance.new("TextLabel")
  40. local C3 = Instance.new("Frame")
  41. local Letters_3 = Instance.new("TextLabel")
  42. local CheatType_6 = Instance.new("TextLabel")
  43. local C2 = Instance.new("Frame")
  44. local Letters_4 = Instance.new("TextLabel")
  45. local CheatType_7 = Instance.new("TextLabel")
  46. local C1 = Instance.new("Frame")
  47. local Letters_5 = Instance.new("TextLabel")
  48. local CheatType_8 = Instance.new("TextLabel")
  49. local TabFrame = Instance.new("Frame")
  50. local Title = Instance.new("TextLabel")
  51. local Exit = Instance.new("TextButton")
  52. local Hide = Instance.new("TextButton")
  53.  
  54. --Properties:
  55.  
  56. CCAimbot.Name = "CCAimbot"
  57. CCAimbot.Parent = game.CoreGui
  58.  
  59. AimbotFrame.Name = "AimbotFrame"
  60. AimbotFrame.Parent = CCAimbot
  61. AimbotFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  62. AimbotFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  63. AimbotFrame.BackgroundTransparency = 1.000
  64. AimbotFrame.BorderSizePixel = 0
  65. AimbotFrame.ClipsDescendants = true
  66. AimbotFrame.Position = UDim2.new(0.5, 0, 0.479495257, 0)
  67. AimbotFrame.Size = UDim2.new(0, 195, 0, 259)
  68.  
  69. MainAimbotFrame.Name = "MainAimbotFrame"
  70. MainAimbotFrame.Parent = AimbotFrame
  71. MainAimbotFrame.BackgroundColor3 = Color3.fromRGB(23, 24, 28)
  72. MainAimbotFrame.BorderSizePixel = 0
  73. MainAimbotFrame.ClipsDescendants = true
  74. MainAimbotFrame.Position = UDim2.new(-0.00256413221, 0, 0.0464286208, 0)
  75. MainAimbotFrame.Size = UDim2.new(0, 195, 0, 245)
  76.  
  77. N2.Name = "N2"
  78. N2.Parent = MainAimbotFrame
  79. N2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  80. N2.BackgroundTransparency = 1.000
  81. N2.BorderSizePixel = 0
  82. N2.Position = UDim2.new(0, 0, 0.562231719, 0)
  83. N2.Size = UDim2.new(1, 0, 0.100000001, 0)
  84.  
  85. CheatType.Name = "CheatType"
  86. CheatType.Parent = N2
  87. CheatType.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  88. CheatType.BackgroundTransparency = 1.000
  89. CheatType.BorderSizePixel = 0
  90. CheatType.Position = UDim2.new(0, 0, 2.03163123, 0)
  91. CheatType.Size = UDim2.new(1, 0, 1.05753362, 0)
  92. CheatType.Font = Enum.Font.GothamBlack
  93. CheatType.Text = "ESP Loop : False"
  94. CheatType.TextColor3 = Color3.fromRGB(255, 255, 255)
  95. CheatType.TextSize = 15.000
  96. CheatType.TextWrapped = true
  97.  
  98. N2_2.Name = "N2"
  99. N2_2.Parent = MainAimbotFrame
  100. N2_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  101. N2_2.BackgroundTransparency = 1.000
  102. N2_2.BorderSizePixel = 0
  103. N2_2.Position = UDim2.new(0, 0, 0.935622334, 0)
  104. N2_2.Size = UDim2.new(1, 0, 0.0613734461, 0)
  105.  
  106. CheatType_2.Name = "CheatType"
  107. CheatType_2.Parent = N2_2
  108. CheatType_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  109. CheatType_2.BackgroundTransparency = 1.000
  110. CheatType_2.BorderSizePixel = 0
  111. CheatType_2.Size = UDim2.new(1, 0, 1, 0)
  112. CheatType_2.Font = Enum.Font.Gotham
  113. CheatType_2.Text = "Letters Corrospond with Keybinds"
  114. CheatType_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  115. CheatType_2.TextScaled = true
  116. CheatType_2.TextSize = 15.000
  117. CheatType_2.TextWrapped = true
  118.  
  119. N1.Name = "N1"
  120. N1.Parent = MainAimbotFrame
  121. N1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  122. N1.BackgroundTransparency = 1.000
  123. N1.BorderSizePixel = 0
  124. N1.Position = UDim2.new(0, 0, 0.562231719, 0)
  125. N1.Size = UDim2.new(1, 0, 0.100000001, 0)
  126.  
  127. CheatType_3.Name = "CheatType"
  128. CheatType_3.Parent = N1
  129. CheatType_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  130. CheatType_3.BackgroundTransparency = 1.000
  131. CheatType_3.BorderSizePixel = 0
  132. CheatType_3.Position = UDim2.new(0, 0, 0.987714529, 0)
  133. CheatType_3.Size = UDim2.new(1, 0, 1.05753362, 0)
  134. CheatType_3.Font = Enum.Font.GothamBlack
  135. CheatType_3.Text = "Team Based : True"
  136. CheatType_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  137. CheatType_3.TextSize = 15.000
  138. CheatType_3.TextWrapped = true
  139.  
  140. C5.Name = "C5"
  141. C5.Parent = MainAimbotFrame
  142. C5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  143. C5.BackgroundTransparency = 1.000
  144. C5.BorderSizePixel = 0
  145. C5.Position = UDim2.new(-0.00512820529, 0, 0.459227443, 0)
  146. C5.Size = UDim2.new(1, 0, 0.100000001, 0)
  147.  
  148. Letters.Name = "Letters"
  149. Letters.Parent = C5
  150. Letters.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  151. Letters.BackgroundTransparency = 1.000
  152. Letters.BorderSizePixel = 0
  153. Letters.Position = UDim2.new(0.730999887, 0, 0.973926187, 0)
  154. Letters.Size = UDim2.new(0.263999999, 0, 1.05753362, 0)
  155. Letters.Font = Enum.Font.GothamBold
  156. Letters.Text = "O"
  157. Letters.TextColor3 = Color3.fromRGB(255, 255, 255)
  158. Letters.TextSize = 15.000
  159. Letters.TextWrapped = true
  160.  
  161. CheatType_4.Name = "CheatType"
  162. CheatType_4.Parent = C5
  163. CheatType_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  164. CheatType_4.BackgroundTransparency = 1.000
  165. CheatType_4.BorderSizePixel = 0
  166. CheatType_4.Position = UDim2.new(0.0307692308, 0, 0.97837925, 0)
  167. CheatType_4.Size = UDim2.new(0.699999988, 0, 1.05753362, 0)
  168. CheatType_4.Font = Enum.Font.GothamBold
  169. CheatType_4.Text = "Team Based"
  170. CheatType_4.TextColor3 = Color3.fromRGB(255, 255, 255)
  171. CheatType_4.TextSize = 15.000
  172. CheatType_4.TextWrapped = true
  173. CheatType_4.TextXAlignment = Enum.TextXAlignment.Left
  174.  
  175. C4.Name = "C4"
  176. C4.Parent = MainAimbotFrame
  177. C4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  178. C4.BackgroundTransparency = 1.000
  179. C4.BorderSizePixel = 0
  180. C4.Position = UDim2.new(0, 0, 0.356223166, 0)
  181. C4.Size = UDim2.new(1, 0, 0.100000001, 0)
  182.  
  183. Letters_2.Name = "Letters"
  184. Letters_2.Parent = C4
  185. Letters_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  186. Letters_2.BackgroundTransparency = 1.000
  187. Letters_2.BorderSizePixel = 0
  188. Letters_2.Position = UDim2.new(0.730999887, 0, 0.914663553, 0)
  189. Letters_2.Size = UDim2.new(0.263999999, 0, 1.05753362, 0)
  190. Letters_2.Font = Enum.Font.GothamBold
  191. Letters_2.Text = "Y"
  192. Letters_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  193. Letters_2.TextSize = 15.000
  194. Letters_2.TextWrapped = true
  195.  
  196. CheatType_5.Name = "CheatType"
  197. CheatType_5.Parent = C4
  198. CheatType_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  199. CheatType_5.BackgroundTransparency = 1.000
  200. CheatType_5.BorderSizePixel = 0
  201. CheatType_5.Position = UDim2.new(0.0307692308, 0, 0.919116616, 0)
  202. CheatType_5.Size = UDim2.new(0.699999988, 0, 1.05753362, 0)
  203. CheatType_5.Font = Enum.Font.GothamBold
  204. CheatType_5.Text = "Aimbot Hider"
  205. CheatType_5.TextColor3 = Color3.fromRGB(255, 255, 255)
  206. CheatType_5.TextSize = 15.000
  207. CheatType_5.TextWrapped = true
  208. CheatType_5.TextXAlignment = Enum.TextXAlignment.Left
  209.  
  210. C3.Name = "C3"
  211. C3.Parent = MainAimbotFrame
  212. C3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  213. C3.BackgroundTransparency = 1.000
  214. C3.BorderSizePixel = 0
  215. C3.Position = UDim2.new(0, 0, 0.253218889, 0)
  216. C3.Size = UDim2.new(1, 0, 0.100000001, 0)
  217.  
  218. Letters_3.Name = "Letters"
  219. Letters_3.Parent = C3
  220. Letters_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  221. Letters_3.BackgroundTransparency = 1.000
  222. Letters_3.BorderSizePixel = 0
  223. Letters_3.Position = UDim2.new(0.730999887, 0, 0.855401516, 0)
  224. Letters_3.Size = UDim2.new(0.263999999, 0, 1.05753362, 0)
  225. Letters_3.Font = Enum.Font.GothamBold
  226. Letters_3.Text = "L"
  227. Letters_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  228. Letters_3.TextSize = 15.000
  229. Letters_3.TextWrapped = true
  230.  
  231. CheatType_6.Name = "CheatType"
  232. CheatType_6.Parent = C3
  233. CheatType_6.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  234. CheatType_6.BackgroundTransparency = 1.000
  235. CheatType_6.BorderSizePixel = 0
  236. CheatType_6.Position = UDim2.new(0.0307692308, 0, 0.859854579, 0)
  237. CheatType_6.Size = UDim2.new(0.699999988, 0, 1.05753362, 0)
  238. CheatType_6.Font = Enum.Font.GothamBold
  239. CheatType_6.Text = "ESP Loop"
  240. CheatType_6.TextColor3 = Color3.fromRGB(255, 255, 255)
  241. CheatType_6.TextSize = 15.000
  242. CheatType_6.TextWrapped = true
  243. CheatType_6.TextXAlignment = Enum.TextXAlignment.Left
  244.  
  245. C2.Name = "C2"
  246. C2.Parent = MainAimbotFrame
  247. C2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  248. C2.BackgroundTransparency = 1.000
  249. C2.BorderSizePixel = 0
  250. C2.Position = UDim2.new(0, 0, 0.150214598, 0)
  251. C2.Size = UDim2.new(1, 0, 0.100000001, 0)
  252.  
  253. Letters_4.Name = "Letters"
  254. Letters_4.Parent = C2
  255. Letters_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  256. Letters_4.BackgroundTransparency = 1.000
  257. Letters_4.BorderSizePixel = 0
  258. Letters_4.Position = UDim2.new(0.730999887, 0, 0.796139479, 0)
  259. Letters_4.Size = UDim2.new(0.263999999, 0, 1.05753362, 0)
  260. Letters_4.Font = Enum.Font.GothamBold
  261. Letters_4.Text = "T"
  262. Letters_4.TextColor3 = Color3.fromRGB(255, 255, 255)
  263. Letters_4.TextSize = 15.000
  264. Letters_4.TextWrapped = true
  265.  
  266. CheatType_7.Name = "CheatType"
  267. CheatType_7.Parent = C2
  268. CheatType_7.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  269. CheatType_7.BackgroundTransparency = 1.000
  270. CheatType_7.BorderSizePixel = 0
  271. CheatType_7.Position = UDim2.new(0.0307692308, 0, 0.800592542, 0)
  272. CheatType_7.Size = UDim2.new(0.699999988, 0, 1.05753362, 0)
  273. CheatType_7.Font = Enum.Font.GothamBold
  274. CheatType_7.Text = "ESP"
  275. CheatType_7.TextColor3 = Color3.fromRGB(255, 255, 255)
  276. CheatType_7.TextSize = 15.000
  277. CheatType_7.TextWrapped = true
  278. CheatType_7.TextXAlignment = Enum.TextXAlignment.Left
  279.  
  280. C1.Name = "C1"
  281. C1.Parent = MainAimbotFrame
  282. C1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  283. C1.BackgroundTransparency = 1.000
  284. C1.BorderSizePixel = 0
  285. C1.Position = UDim2.new(0, 0, 0.0472103022, 0)
  286. C1.Size = UDim2.new(1, 0, 0.100000001, 0)
  287.  
  288. Letters_5.Name = "Letters"
  289. Letters_5.Parent = C1
  290. Letters_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  291. Letters_5.BackgroundTransparency = 1.000
  292. Letters_5.BorderSizePixel = 0
  293. Letters_5.Position = UDim2.new(0.730999887, 0, 0.736877441, 0)
  294. Letters_5.Size = UDim2.new(0.263999999, 0, 1.05753362, 0)
  295. Letters_5.Font = Enum.Font.GothamBold
  296. Letters_5.Text = "E"
  297. Letters_5.TextColor3 = Color3.fromRGB(255, 255, 255)
  298. Letters_5.TextSize = 15.000
  299. Letters_5.TextWrapped = true
  300.  
  301. CheatType_8.Name = "CheatType"
  302. CheatType_8.Parent = C1
  303. CheatType_8.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  304. CheatType_8.BackgroundTransparency = 1.000
  305. CheatType_8.BorderSizePixel = 0
  306. CheatType_8.Position = UDim2.new(0.0307692308, 0, 0.741330564, 0)
  307. CheatType_8.Size = UDim2.new(0.699999988, 0, 1.05753362, 0)
  308. CheatType_8.Font = Enum.Font.GothamBold
  309. CheatType_8.Text = "Lock-in Person"
  310. CheatType_8.TextColor3 = Color3.fromRGB(255, 255, 255)
  311. CheatType_8.TextSize = 15.000
  312. CheatType_8.TextWrapped = true
  313. CheatType_8.TextXAlignment = Enum.TextXAlignment.Left
  314.  
  315. TabFrame.Name = "TabFrame"
  316. TabFrame.Parent = AimbotFrame
  317. TabFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  318. TabFrame.BackgroundColor3 = Color3.fromRGB(0, 237, 206)
  319. TabFrame.BorderSizePixel = 0
  320. TabFrame.ClipsDescendants = true
  321. TabFrame.Position = UDim2.new(0.497435898, 0, 0.0926640928, 0)
  322. TabFrame.Size = UDim2.new(1, 0, 0.100000001, 0)
  323.  
  324. Title.Name = "Title"
  325. Title.Parent = TabFrame
  326. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  327. Title.BackgroundTransparency = 1.000
  328. Title.BorderSizePixel = 0
  329. Title.Position = UDim2.new(0.0307692308, 0, 0, 0)
  330. Title.Size = UDim2.new(0.41538462, 0, 1, 0)
  331. Title.Font = Enum.Font.GothamBold
  332. Title.Text = "CC AIMBOT"
  333. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  334. Title.TextSize = 14.000
  335. Title.TextXAlignment = Enum.TextXAlignment.Left
  336.  
  337. Exit.Name = "Exit"
  338. Exit.Parent = TabFrame
  339. Exit.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  340. Exit.BackgroundTransparency = 1.000
  341. Exit.BorderSizePixel = 0
  342. Exit.Position = UDim2.new(0.899999976, 0, 0, 0)
  343. Exit.Size = UDim2.new(0.100000001, 0, 1, 0)
  344. Exit.Font = Enum.Font.GothamBold
  345. Exit.Text = "X"
  346. Exit.TextColor3 = Color3.fromRGB(255, 255, 255)
  347. Exit.TextScaled = true
  348. Exit.TextSize = 14.000
  349. Exit.TextWrapped = true
  350.  
  351. Hide.Name = "Hide"
  352. Hide.Parent = TabFrame
  353. Hide.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  354. Hide.BackgroundTransparency = 1.000
  355. Hide.BorderSizePixel = 0
  356. Hide.Position = UDim2.new(0.79743588, 0, 0, 0)
  357. Hide.Size = UDim2.new(0.100000001, 0, 1, 0)
  358. Hide.Font = Enum.Font.GothamBold
  359. Hide.Text = "-"
  360. Hide.TextColor3 = Color3.fromRGB(255, 255, 255)
  361. Hide.TextScaled = true
  362. Hide.TextSize = 14.000
  363. Hide.TextWrapped = true
  364.  
  365. -- Scripts:
  366.  
  367. local function JLYIY_fake_script() -- Exit.LocalScript
  368. local script = Instance.new('LocalScript', Exit)
  369.  
  370. local b = script.Parent
  371.  
  372. b.MouseButton1Down:connect(function()
  373. b.Parent.Parent.AnchorPoint = Vector2.new(0.5, 0.5)
  374. b.Parent.Parent:TweenSize(UDim2.new(0, 0, 0, 0), "In", 2, 0.5)
  375. end)
  376. end
  377. coroutine.wrap(JLYIY_fake_script)()
  378. local function CXSQXNO_fake_script() -- Hide.LocalScript
  379. local script = Instance.new('LocalScript', Hide)
  380.  
  381. local b = script.Parent
  382. local closed = false
  383.  
  384. b.MouseButton1Down:connect(function()
  385. if closed == false then
  386. b.Parent.Parent.MainAimbotFrame:TweenSize(UDim2.new(0, 195, 0, 25), "Out", 1.5, 0.5)
  387. closed = true
  388.  
  389. elseif closed == true then
  390. b.Parent.Parent.MainAimbotFrame:TweenSize(UDim2.new(0, 195, 0, 245), "Out", 1.5, 0.5)
  391. closed = false
  392. end
  393.  
  394. end)
  395. end
  396. coroutine.wrap(CXSQXNO_fake_script)()
  397.  
  398. f = {}
  399. local espforlder
  400. local partconverter = Instance.new("Part")
  401.  
  402. f.addesp = function()
  403. pcall(function()
  404. --print("ESP ran")
  405. if espforlder then
  406. espforlder:Destroy()
  407. espforlder = Instance.new("Folder")
  408. espforlder.Parent = game.Workspace.CurrentCamera
  409. else
  410. espforlder = Instance.new("Folder")
  411. espforlder.Parent = game.Workspace.CurrentCamera
  412. end
  413. for i, v in pairs(espforlder:GetChildren()) do
  414. v:Destroy()
  415. end
  416. for _, plr in pairs(plrs:GetChildren()) do
  417. if plr.Character and plr.Character.Humanoid.Health > 0 and plr.Name ~= lplr.Name then
  418. if TeamBased == true then
  419. if plr.Team.Name ~= plrs.LocalPlayer.Team.Name then
  420. local e = espforlder:FindFirstChild(plr.Name)
  421. if not e then
  422. local fold = Instance.new("Folder", espforlder)
  423. fold.Name = plr.Name
  424.  
  425. --partconverter.BrickColor = plr.Team.Color
  426. --local teamc = partconverter.Color
  427. for i, p in pairs(plr.Character:GetChildren()) do
  428. if p:IsA("BasePart") and p.Name ~= "HumanoidRootPart" then
  429. local urmom = Instance.new("BoxHandleAdornment")
  430. urmom.ZIndex = 10
  431. urmom.AlwaysOnTop = true
  432. urmom.Color3 = espcolor
  433. urmom.Size = p.Size
  434. urmom.Adornee = p
  435. urmom.Name = tick().." Ur mom has big gay"
  436. urmom.Transparency = wallhack_esp_transparency
  437. urmom.Parent = fold
  438.  
  439. end
  440. end
  441. plr.Character.Humanoid.Died:Connect(function()
  442. fold:Destroy()
  443. end)
  444. end
  445. end
  446. else
  447. local e = espforlder:FindFirstChild(plr.Name)
  448. if not e then
  449. local fold = Instance.new("Folder", espforlder)
  450. fold.Name = plr.Name
  451.  
  452. --partconverter.BrickColor = plr.Team.Color
  453. --local teamc = Move.BackgroundColor3
  454. for i, p in pairs(plr.Character:GetChildren()) do
  455. if p:IsA("BasePart") and p.Name ~= "HumanoidRootPart" then
  456. local urmom = Instance.new("BoxHandleAdornment")
  457. urmom.ZIndex = 10
  458. urmom.AlwaysOnTop = true
  459. urmom.Color3 = espcolor
  460. urmom.Size = p.Size
  461. urmom.Adornee = p
  462. urmom.Name = tick().." Ur mom has big gay"
  463. urmom.Transparency = wallhack_esp_transparency
  464. urmom.Parent = fold
  465. end
  466. end
  467. plr.Character.Humanoid.Died:Connect(function()
  468. fold:Destroy()
  469. end)
  470. end
  471. end
  472.  
  473.  
  474. end
  475. end
  476. end)
  477. end
  478. local uis = game:GetService("UserInputService")
  479. local bringall = false
  480. local hided2 = false
  481. mouse.KeyDown:Connect(function(a)
  482. if a == "t" then
  483. --print("worked1")
  484. f.addesp()
  485. elseif a == gui_hide_button[2] and uis:IsKeyDown(gui_hide_button[1]) then
  486. if hided2 == false then
  487. hided2 = true
  488. autoesp =false
  489. if espforlder then
  490. espforlder:Destroy()
  491. end
  492. CCAimbot.Enabled = false
  493. else
  494. CCAimbot.Enabled = true
  495. hided2 = false
  496. end
  497. elseif a == "u" then
  498. if mouselock == false then
  499. mouselock = true
  500. else
  501. mouselock = false
  502. end
  503. elseif a == "y" then
  504. if aimbothider == false then
  505. aimbothider = true
  506. if aimbothider == true then
  507. return
  508. end
  509. end
  510. elseif a == "l" then
  511. if autoesp == false then
  512. autoesp = true
  513. else
  514. autoesp = false
  515. end
  516. elseif a == Aim_Assist_Key[2] and uis:IsKeyDown(Aim_Assist_Key[1]) then
  517. if Aim_Assist == true then
  518. Aim_Assist = false
  519. --print("disabled")
  520. else
  521. Aim_Assist = true
  522. end
  523. end
  524. if a == "j" then
  525. if mouse.Target then
  526. mouse.Target:Destroy()
  527. end
  528. end
  529. if a == key then
  530. if switch == false then
  531. switch = true
  532. else
  533. switch = false
  534. if aimatpart ~= nil then
  535. aimatpart = nil
  536. end
  537. end
  538. elseif a == teambasedswitch then
  539. if TeamBased == true then
  540. TeamBased = false
  541. CheatType_3.Text = "Team Based : "..tostring(TeamBased)
  542. else
  543. TeamBased = true
  544. CheatType_3.Text = "Team Based : "..tostring(TeamBased)
  545. end
  546. elseif a == aimkey then
  547. if not aimatpart then
  548. local maxangle = math.rad(20)
  549. for i, plr in pairs(plrs:GetChildren()) do
  550. if plr.Name ~= lplr.Name and plr.Character and plr.Character.Head and plr.Character.Humanoid and plr.Character.Humanoid.Health > 1 then
  551. if TeamBased == true then
  552. if plr.Team.Name ~= lplr.Team.Name then
  553. local an = checkfov(plr.Character.Head)
  554. if an < maxangle then
  555. maxangle = an
  556. aimatpart = plr.Character.Head
  557. end
  558. end
  559. else
  560. local an = checkfov(plr.Character.Head)
  561. if an < maxangle then
  562. maxangle = an
  563. aimatpart = plr.Character.Head
  564. end
  565. --print(plr)
  566. end
  567. local old = aimatpart
  568. plr.Character.Humanoid.Died:Connect(function()
  569. --print("died")
  570. if aimatpart and aimatpart == old then
  571. aimatpart = nil
  572. end
  573. end)
  574.  
  575. end
  576. end
  577. else
  578. aimatpart = nil
  579. canaimat = false
  580. delay(1.1, function()
  581. canaimat = true
  582. end)
  583. end
  584. end
  585. end)
  586.  
  587. function getfovxyz (p0, p1, deg)
  588. local x1, y1, z1 = p0:ToOrientation()
  589. local cf = CFrame.new(p0.p, p1.p)
  590. local x2, y2, z2 = cf:ToOrientation()
  591. local d = math.deg
  592. if deg then
  593. return Vector3.new(d(x1-x2), d(y1-y2), d(z1-z2))
  594. else
  595. return Vector3.new((x1-x2), (y1-y2), (z1-z2))
  596. end
  597. end
  598.  
  599.  
  600. function aimat(part)
  601. if part then
  602. if aimbothider == true or Aim_Assist == true then
  603. cam.CFrame = cam.CFrame:Lerp(CFrame.new(cam.CFrame.p, part.CFrame.p), aimbothiderspeed)
  604. else
  605.  
  606. cam.CFrame = CFrame.new(cam.CFrame.p, part.CFrame.p)
  607. end
  608. end
  609. end
  610. function checkfov (part)
  611. local fov = getfovxyz(game.Workspace.CurrentCamera.CFrame, part.CFrame)
  612. local angle = math.abs(fov.X) + math.abs(fov.Y)
  613. return angle
  614. end
  615. pcall(function()
  616. delay(0, function()
  617. while wait(.4) do
  618. if Aim_Assist and not aimatpart and canaimat and lplr.Character and lplr.Character.Humanoid and lplr.Character.Humanoid.Health > 0 then
  619. for i, plr in pairs(plrs:GetChildren()) do
  620.  
  621.  
  622. local minangle = math.rad(5.5)
  623. local lastpart = nil
  624. local function gg(plr)
  625. pcall(function()
  626. if plr.Name ~= lplr.Name and plr.Character and plr.Character.Humanoid and plr.Character.Humanoid.Health > 0 and plr.Character.Head then
  627. local raycasted = false
  628. local cf1 = CFrame.new(cam.CFrame.p, plr.Character.Head.CFrame.p) * CFrame.new(0, 0, -4)
  629. local r1 = Ray.new(cf1.p, cf1.LookVector * 9000)
  630. local obj, pos = game.Workspace:FindPartOnRayWithIgnoreList(r1, {lplr.Character.Head})
  631. local dist = (plr.Character.Head.CFrame.p- pos).magnitude
  632. if dist < 4 then
  633. raycasted = true
  634. end
  635. if raycasted == true then
  636. local an1 = getfovxyz(cam.CFrame, plr.Character.Head.CFrame)
  637. local an = abs(an1.X) + abs(an1.Y)
  638. if an < minangle then
  639. minangle = an
  640. lastpart = plr.Character.Head
  641. end
  642. end
  643. end
  644. end)
  645. end
  646. if TeamBased then
  647. if plr.Team.Name ~= lplr.Team.Name then
  648. gg(plr)
  649. end
  650. else
  651. gg(plr)
  652. end
  653. --print(math.deg(minangle))
  654. if lastpart then
  655. aimatpart = lastpart
  656. aimatpart.Parent.Humanoid.Died:Connect(function()
  657. if aimatpart == lastpart then
  658. aimatpart = nil
  659. end
  660. end)
  661.  
  662. end
  663. end
  664. end
  665. end
  666. end)
  667. end)
  668. local oldheadpos
  669. local lastaimapart
  670. game:GetService("RunService").RenderStepped:Connect(function()
  671. CheatType.Text = "Esp loop : "..tostring(autoesp)
  672. if aimatpart and lplr.Character and lplr.Character.Head then
  673. if BetterDeathCount and lastaimapart and lastaimapart == aimatpart then
  674. local dist = (oldheadpos - aimatpart.CFrame.p).magnitude
  675. if dist > 40 then
  676. aimatpart = nil
  677. end
  678. end
  679. lastaimapart = aimatpart
  680. oldheadpos = lastaimapart.CFrame.p
  681. do
  682. if aimatpart.Parent == plrs.LocalPlayer.Character then
  683. aimatpart = nil
  684. end
  685. aimat(aimatpart)
  686. pcall(function()
  687. if Aim_Assist == true then
  688. local cf1 = CFrame.new(cam.CFrame.p, aimatpart.CFrame.p) * CFrame.new(0, 0, -4)
  689. local r1 = Ray.new(cf1.p, cf1.LookVector * 1000)
  690. local obj, pos = game.Workspace:FindPartOnRayWithIgnoreList(r1, {lplr.Character.Head})
  691. local dist = (aimatpart.CFrame.p- pos).magnitude
  692. if obj then
  693. --print(obj:GetFullName())
  694. end
  695. if not obj or dist > 6 then
  696. aimatpart = nil
  697. --print("ooof")
  698. end
  699. canaimat = false
  700. delay(.5, function()
  701. canaimat = true
  702. end)
  703. end
  704. end)
  705. end
  706.  
  707.  
  708.  
  709. end
  710. end)
  711. delay(0, function()
  712. while wait(espupdatetime) do
  713. if autoesp == true then
  714. pcall(function()
  715. f.addesp()
  716. end)
  717. end
  718. end
  719. end)
  720. --warn("loaded")
  721. function dragify(Frame)
  722. dragToggle = nil
  723. dragSpeed = .25 -- You can edit this.
  724. dragInput = nil
  725. dragStart = nil
  726. dragPos = nil
  727.  
  728. function updateInput(input)
  729. Delta = input.Position - dragStart
  730. Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  731. game:GetService("TweenService"):Create(Frame, TweenInfo.new(.25), {Position = Position}):Play()
  732. end
  733.  
  734. Frame.InputBegan:Connect(function(input)
  735. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  736. dragToggle = true
  737. dragStart = input.Position
  738. startPos = Frame.Position
  739. input.Changed:Connect(function()
  740. if (input.UserInputState == Enum.UserInputState.End) then
  741. dragToggle = false
  742. end
  743. end)
  744. end
  745. end)
  746.  
  747. Frame.InputChanged:Connect(function(input)
  748. if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
  749. dragInput = input
  750. end
  751. end)
  752.  
  753. game:GetService("UserInputService").InputChanged:Connect(function(input)
  754. if (input == dragInput and dragToggle) then
  755. updateInput(input)
  756. end
  757. end)
  758. end
  759. dragify(AimbotFrame)
  760.  
  761. local Player = game:GetService'Players'.LocalPlayer;
  762. local UIS = game:GetService'UserInputService';
  763.  
  764. _G.JumpHeight = 50;
  765.  
  766. function Action(Object, Function) if Object ~= nil then Function(Object); end end
  767.  
  768. UIS.InputBegan:connect(function(UserInput)
  769. if UserInput.UserInputType == Enum.UserInputType.Keyboard and UserInput.KeyCode == Enum.KeyCode.Space then
  770. Action(Player.Character.Humanoid, function(self)
  771. if self:GetState() == Enum.HumanoidStateType.Jumping or self:GetState() == Enum.HumanoidStateType.Freefall then
  772. Action(self.Parent.HumanoidRootPart, function(self)
  773. self.Velocity = Vector3.new(0, _G.JumpHeight, 0);
  774. end)
  775. end
  776. end)
  777. end
  778. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement