RedoGaming

arsenallolol

Jul 23rd, 2020
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.61 KB | None | 0 0
  1. -- made by Hidden#9483 & Joe Engo#5663
  2.  
  3.  
  4.  
  5. -- Instances:
  6.  
  7. local Admin = Instance.new("ScreenGui")
  8. local Main = Instance.new("Frame")
  9. local NoclipButton = Instance.new("TextButton")
  10. local CloseBtn = Instance.new("TextButton")
  11. local Arsenal = Instance.new("TextButton")
  12. local TITLE = Instance.new("TextBox")
  13. local Ftonoclip = Instance.new("TextBox")
  14. local Open = Instance.new("TextButton")
  15.  
  16. --Properties:
  17.  
  18. Admin.Name = "Admin "
  19. Admin.Parent = game.CoreGui
  20. Admin.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  21.  
  22. Main.Name = "Main"
  23. Main.Parent = Admin
  24. Main.BackgroundColor3 = Color3.fromRGB(30, 28, 26)
  25. Main.BackgroundTransparency = 0.010
  26. Main.Position = UDim2.new(0.176902369, 0, 0.221953616, 0)
  27. Main.Size = UDim2.new(0, 314, 0, 374)
  28. Main.Visible = false
  29. Main.Active = true
  30. Main.Draggable = true
  31.  
  32. NoclipButton.Name = "NoclipButton"
  33. NoclipButton.Parent = Main
  34. NoclipButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  35. NoclipButton.BackgroundTransparency = 0.600
  36. NoclipButton.Position = UDim2.new(0.0551415943, 0, 0.591301918, 0)
  37. NoclipButton.Size = UDim2.new(0, 284, 0, 146)
  38. NoclipButton.Font = Enum.Font.SourceSansLight
  39. NoclipButton.Text = "Noclip"
  40. NoclipButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  41. NoclipButton.TextScaled = true
  42. NoclipButton.TextSize = 24.000
  43. NoclipButton.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  44. NoclipButton.TextWrapped = true
  45.  
  46. CloseBtn.Name = "CloseBtn"
  47. CloseBtn.Parent = Main
  48. CloseBtn.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  49. CloseBtn.BackgroundTransparency = 1.000
  50. CloseBtn.Position = UDim2.new(0.887420058, 0, 0, 0)
  51. CloseBtn.Size = UDim2.new(0, 35, 0, 29)
  52. CloseBtn.Font = Enum.Font.SourceSans
  53. CloseBtn.Text = "X"
  54. CloseBtn.TextColor3 = Color3.fromRGB(58, 58, 58)
  55. CloseBtn.TextScaled = true
  56. CloseBtn.TextSize = 14.000
  57. CloseBtn.TextWrapped = true
  58.  
  59. Arsenal.Name = "Arsenal "
  60. Arsenal.Parent = Main
  61. Arsenal.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  62. Arsenal.BackgroundTransparency = 0.600
  63. Arsenal.Position = UDim2.new(0.0538176261, 0, 0.167506993, 0)
  64. Arsenal.Size = UDim2.new(0, 283, 0, 152)
  65. Arsenal.Font = Enum.Font.SourceSansLight
  66. Arsenal.Text = "Aimbot & ESP"
  67. Arsenal.TextColor3 = Color3.fromRGB(255, 255, 255)
  68. Arsenal.TextScaled = true
  69. Arsenal.TextSize = 14.000
  70. Arsenal.TextWrapped = true
  71.  
  72. TITLE.Name = "TITLE"
  73. TITLE.Parent = Main
  74. TITLE.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  75. TITLE.BackgroundTransparency = 1.000
  76. TITLE.Size = UDim2.new(0, 277, 0, 55)
  77. TITLE.ClearTextOnFocus = false
  78. TITLE.Font = Enum.Font.SourceSansLight
  79. TITLE.Text = "ARSENAL GUI"
  80. TITLE.TextColor3 = Color3.fromRGB(255, 255, 255)
  81. TITLE.TextScaled = true
  82. TITLE.TextSize = 14.000
  83. TITLE.TextWrapped = true
  84.  
  85. Ftonoclip.Name = "F to noclip"
  86. Ftonoclip.Parent = Main
  87. Ftonoclip.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  88. Ftonoclip.BackgroundTransparency = 1.000
  89. Ftonoclip.Position = UDim2.new(0, 0, 0.550802052, 0)
  90. Ftonoclip.Size = UDim2.new(0, 299, 0, 278)
  91. Ftonoclip.ClearTextOnFocus = false
  92. Ftonoclip.Font = Enum.Font.SourceSansItalic
  93. Ftonoclip.Text = "(F)"
  94. Ftonoclip.TextColor3 = Color3.fromRGB(255, 246, 240)
  95. Ftonoclip.TextSize = 32.000
  96.  
  97. Open.Name = "Open"
  98. Open.Parent = Admin
  99. Open.BackgroundColor3 = Color3.fromRGB(26, 26, 26)
  100. Open.BackgroundTransparency = 0.010
  101. Open.Position = UDim2.new(0.00308641978, 0, 0.799053073, 0)
  102. Open.Size = UDim2.new(0, 165, 0, 54)
  103. Open.Font = Enum.Font.SourceSansLight
  104. Open.Text = "Open"
  105. Open.TextColor3 = Color3.fromRGB(255, 255, 255)
  106. Open.TextScaled = true
  107. Open.TextSize = 14.000
  108. Open.TextWrapped = true
  109.  
  110. -- Scripts:
  111.  
  112. local function RAJWCAZ_fake_script() -- NoclipButton.LocalScript
  113. local script = Instance.new('LocalScript', NoclipButton)
  114.  
  115. noclip = false
  116. game:GetService('RunService').Stepped:connect(function()
  117. if noclip then
  118. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  119. end
  120. end)
  121. plr = game.Players.LocalPlayer
  122. mouse = plr:GetMouse()
  123. mouse.KeyDown:connect(function(key)
  124.  
  125. if key == "f" then
  126. noclip = not noclip
  127. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  128. end
  129. end)
  130.  
  131. end
  132. coroutine.wrap(RAJWCAZ_fake_script)()
  133. local function FMTBUIE_fake_script() -- Arsenal.LocalScript
  134. local script = Instance.new('LocalScript', Arsenal)
  135.  
  136. local btn = script.Parent
  137.  
  138.  
  139. btn.MouseButton1Down:connect(function()
  140. local plrs = game:GetService("Players")
  141. local TeamBased = true ; local teambasedswitch = "o"
  142. local presskeytoaim = true; local aimkey = "e"
  143. local raycast = false
  144.  
  145. local espupdatetime = 5; autoesp = false
  146.  
  147.  
  148.  
  149. local lockaim = true; local lockangle = 5
  150.  
  151.  
  152.  
  153. --function findwat(folder, what)
  154. -- for i, smth in pairs(folder:GetChildren()) do
  155. -- if string.find(string.lower(tostring(smth)), string.lower(what)) then
  156. -- return smth
  157. -- end
  158. -- end
  159. --end
  160. --
  161. --local plrs = findwat(game, "Players")
  162.  
  163.  
  164.  
  165.  
  166. local Gui = Instance.new("ScreenGui")
  167. local Move = Instance.new("Frame")
  168. local Main = Instance.new("Frame")
  169. local EspStatus = Instance.new("TextLabel")
  170. local st1 = Instance.new("TextLabel")
  171. local st1_2 = Instance.new("TextLabel")
  172. local st1_3 = Instance.new("TextLabel")
  173. local Name = Instance.new("TextLabel")
  174. --Properties:
  175. Gui.Name = "Gui"
  176. Gui.Parent = plrs.LocalPlayer:WaitForChild("PlayerGui")
  177.  
  178. Move.Name = "Move"
  179. Move.Parent = Gui
  180. Move.BackgroundColor3 = Color3.new(0.0431373, 1, 0.0745098)
  181. Move.BackgroundTransparency = 0.40000000596046
  182. Move.BorderSizePixel = 0
  183. Move.Position = UDim2.new(0.005, 0,0.018, 0)
  184. Move.Size = UDim2.new(0.28141585, 0, 0.0320388414, 0)
  185.  
  186. Main.Name = "Main"
  187. Main.Parent = Move
  188. Main.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  189. Main.BackgroundTransparency = 0.69999998807907
  190. Main.Position = UDim2.new(0, 0, 0.995670795, 0)
  191. Main.Size = UDim2.new(1.0000006, 0, 9.79697132, 0)
  192.  
  193. EspStatus.Name = "EspStatus"
  194. EspStatus.Parent = Main
  195. EspStatus.BackgroundColor3 = Color3.new(1, 1, 1)
  196. EspStatus.BackgroundTransparency = 1
  197. EspStatus.Size = UDim2.new(0.272955924, 0, 0.161862016, 0)
  198. EspStatus.Font = Enum.Font.ArialBold
  199. EspStatus.Text = "Press T to update Esp"
  200. EspStatus.TextColor3 = Color3.new(0.0431373, 1, 0.0745098)
  201. EspStatus.TextScaled = true
  202. EspStatus.TextSize = 14
  203. EspStatus.TextWrapped = true
  204.  
  205. st1.Name = "st1"
  206. st1.Parent = Main
  207. st1.BackgroundColor3 = Color3.new(1, 1, 1)
  208. st1.BackgroundTransparency = 1
  209. st1.Position = UDim2.new(0.271787882, 0, 0, 0)
  210. st1.Size = UDim2.new(0.728211343, 0, 0.161862016, 0)
  211. st1.Font = Enum.Font.ArialBold
  212. st1.Text = "Press "..aimkey.." to lock on a person inside ur view"
  213. st1.TextColor3 = Color3.new(0.0431373, 1, 0.0745098)
  214. st1.TextScaled = true
  215. st1.TextSize = 14
  216. st1.TextWrapped = true
  217.  
  218. st1_2.Name = "st1"
  219. st1_2.Parent = Main
  220. st1_2.BackgroundColor3 = Color3.new(1, 1, 1)
  221. st1_2.BackgroundTransparency = 1
  222. st1_2.Position = UDim2.new(0, 0, 0.375590861, 0)
  223. st1_2.Size = UDim2.new(0.999999881, 0, 0.161862016, 0)
  224. st1_2.Font = Enum.Font.ArialBold
  225. st1_2.Text = "Press L to enable esp loop"
  226. st1_2.TextColor3 = Color3.new(0.0431373, 1, 0.0745098)
  227. st1_2.TextScaled = true
  228. st1_2.TextSize = 14
  229. st1_2.TextWrapped = true
  230.  
  231. st1_3.Name = "st1"
  232. st1_3.Parent = Main
  233. st1_3.BackgroundColor3 = Color3.new(1, 1, 1)
  234. st1_3.BackgroundTransparency = 1
  235. st1_3.Position = UDim2.new(0, 0, 0.18558608, 0)
  236. st1_3.Size = UDim2.new(0.999999881, 0, 0.161862016, 0)
  237. st1_3.Font = Enum.Font.ArialBold
  238. st1_3.Text = "Press O to change team based mode"
  239. st1_3.TextColor3 = Color3.new(0.0431373, 1, 0.0745098)
  240. st1_3.TextScaled = true
  241. st1_3.TextSize = 14
  242. st1_3.TextWrapped = true
  243. local teambasedstatus = st1_3:Clone()
  244. teambasedstatus.Parent = st1_3
  245. teambasedstatus.TextScaled = true
  246. teambasedstatus.Position = UDim2.new(0, 0,0.694, 0)
  247. teambasedstatus.Text = tostring(TeamBased)
  248.  
  249. Name.Name = "Name"
  250. Name.Parent = Move
  251. Name.BackgroundColor3 = Color3.new(1, 1, 1)
  252. Name.BackgroundTransparency = 1
  253. Name.Size = UDim2.new(0.838, 0, 0.980000019, 0)
  254. Name.Font = Enum.Font.Arial
  255. Name.Text = "FPS gui v1.0"
  256. Name.TextColor3 = Color3.new(0, 0, 0)
  257. Name.TextScaled = true
  258. Name.TextSize = 14
  259. Name.TextWrapped = true
  260. Name.TextXAlignment = Enum.TextXAlignment.Left
  261. -- Scripts:
  262.  
  263.  
  264. local plrsforaim = {}
  265.  
  266. local lplr = game:GetService("Players").LocalPlayer
  267. Move.Draggable = true
  268. Gui.ResetOnSpawn = false
  269. Gui.Name = "Chat"
  270. Gui.DisplayOrder = 999
  271.  
  272. Gui.Parent = plrs.LocalPlayer.PlayerGui
  273.  
  274.  
  275. f = {}
  276. local espforlder
  277.  
  278. f.addesp = function()
  279. --print("ESP ran")
  280. if espforlder then
  281. else
  282. espforlder = Instance.new("Folder")
  283. espforlder.Parent = game.Workspace.CurrentCamera
  284. end
  285. for i, v in pairs(espforlder:GetChildren()) do
  286. v:Destroy()
  287. end
  288. for _, plr in pairs(plrs:GetChildren()) do
  289. if plr.Character and plr.Character.Humanoid.Health > 0 and plr.Name ~= lplr.Name then
  290. if TeamBased == true then
  291. if plr.Team.Name ~= plrs.LocalPlayer.Team.Name then
  292. local e = espforlder:FindFirstChild(plr.Name)
  293. if not e then
  294. --print("Added esp for team based")
  295. local bill = Instance.new("BillboardGui", espforlder)
  296. bill.Name = plr.Name
  297. bill.AlwaysOnTop = true
  298. bill.Size = UDim2.new(1,0,1,0)
  299. bill.Adornee = plr.Character.Head
  300. local Frame = Instance.new('Frame',bill)
  301. Frame.Active = true
  302. Frame.BackgroundColor3 = Color3.new(0/255,255/255,0/255)
  303. Frame.BackgroundTransparency = 0
  304. Frame.BorderSizePixel = 0
  305. Frame.AnchorPoint = Vector2.new(.5, .5)
  306. Frame.Position = UDim2.new (0.5,0,0.5,0)
  307. Frame.Size = UDim2.new (1,0,1,0)
  308. Frame.Rotation = 0
  309. plr.Character.Humanoid.Died:Connect(function()
  310. bill:Destroy()
  311. end)
  312. end
  313. end
  314. else
  315. local e = espforlder:FindFirstChild(plr.Name)
  316. if not e then
  317. --print("Added esp")
  318. local bill = Instance.new("BillboardGui", espforlder)
  319. bill.Name = plr.Name
  320. bill.AlwaysOnTop = true
  321. bill.Size = UDim2.new(1,0,1,0)
  322. bill.Adornee = plr.Character.Head
  323. local Frame = Instance.new('Frame',bill)
  324. Frame.Active = true
  325. Frame.BackgroundColor3 = Color3.new(0/255,255/255,0/255)
  326. Frame.BackgroundTransparency = 0
  327. Frame.BorderSizePixel = 0
  328. Frame.AnchorPoint = Vector2.new(.5, .5)
  329. Frame.Position = UDim2.new (0.5,0,0.5,0)
  330. Frame.Size = UDim2.new (1,0,1,0)
  331. Frame.Rotation = 0
  332. plr.Character.Humanoid.Died:Connect(function()
  333. bill:Destroy()
  334. end)
  335. end
  336. end
  337.  
  338.  
  339. end
  340. end
  341. end
  342. local cam = game.Workspace.CurrentCamera
  343.  
  344. local mouse = lplr:GetMouse()
  345. local switch = false
  346. local key = "k"
  347. local aimatpart = nil
  348. mouse.KeyDown:Connect(function(a)
  349. if a == "t" then
  350. print("worked1")
  351. f.addesp()
  352. elseif a == "u" then
  353. if raycast == true then
  354. raycast = false
  355. else
  356. raycast = true
  357. end
  358. elseif a == "l" then
  359. if autoesp == false then
  360. autoesp = true
  361. else
  362. autoesp = false
  363. end
  364. end
  365. if a == "j" then
  366. if mouse.Target then
  367. mouse.Target:Destroy()
  368. end
  369. end
  370. if a == key then
  371. if switch == false then
  372. switch = true
  373. else
  374. switch = false
  375. if aimatpart ~= nil then
  376. aimatpart = nil
  377. end
  378. end
  379. elseif a == teambasedswitch then
  380. if TeamBased == true then
  381. TeamBased = false
  382. teambasedstatus.Text = tostring(TeamBased)
  383. else
  384. TeamBased = true
  385. teambasedstatus.Text = tostring(TeamBased)
  386. end
  387. elseif a == aimkey then
  388. if not aimatpart then
  389. local maxangle = math.rad(20)
  390. for i, plr in pairs(plrs:GetChildren()) do
  391. if plr.Name ~= lplr.Name and plr.Character and plr.Character.Head and plr.Character.Humanoid and plr.Character.Humanoid.Health > 1 then
  392. if TeamBased == true then
  393. if plr.Team.Name ~= lplr.Team.Name then
  394. local an = checkfov(plr.Character.Head)
  395. if an < maxangle then
  396. maxangle = an
  397. aimatpart = plr.Character.Head
  398. end
  399. end
  400. else
  401. local an = checkfov(plr.Character.Head)
  402. if an < maxangle then
  403. maxangle = an
  404. aimatpart = plr.Character.Head
  405. end
  406. print(plr)
  407. end
  408. plr.Character.Humanoid.Died:Connect(function()
  409. if aimatpart.Parent == plr.Character or aimatpart == nil then
  410. aimatpart = nil
  411. end
  412. end)
  413. end
  414. end
  415. else
  416. aimatpart = nil
  417. end
  418. end
  419. end)
  420.  
  421. function getfovxyz (p0, p1, deg)
  422. local x1, y1, z1 = p0:ToOrientation()
  423. local cf = CFrame.new(p0.p, p1.p)
  424. local x2, y2, z2 = cf:ToOrientation()
  425. --local d = math.deg
  426. if deg then
  427. --return Vector3.new(d(x1-x2), d(y1-y2), d(z1-z2))
  428. else
  429. return Vector3.new((x1-x2), (y1-y2), (z1-z2))
  430. end
  431. end
  432.  
  433. function getaimbotplrs()
  434. plrsforaim = {}
  435. for i, plr in pairs(plrs:GetChildren()) do
  436. if plr.Character and plr.Character.Humanoid and plr.Character.Humanoid.Health > 0 and plr.Name ~= lplr.Name and plr.Character.Head then
  437.  
  438. if TeamBased == true then
  439. if plr.Team.Name ~= lplr.Team.Name then
  440. local cf = CFrame.new(game.Workspace.CurrentCamera.CFrame.p, plr.Character.Head.CFrame.p)
  441. local r = Ray.new(cf, cf.LookVector * 10000)
  442. local ign = {}
  443. for i, v in pairs(plrs.LocalPlayer.Character:GetChildren()) do
  444. if v:IsA("BasePart") then
  445. table.insert(ign , v)
  446. end
  447. end
  448. local obj = game.Workspace:FindPartOnRayWithIgnoreList(r, ign)
  449. if obj.Parent == plr.Character and obj.Parent ~= lplr.Character then
  450. table.insert(plrsforaim, obj)
  451. end
  452. end
  453. else
  454. local cf = CFrame.new(game.Workspace.CurrentCamera.CFrame.p, plr.Character.Head.CFrame.p)
  455. local r = Ray.new(cf, cf.LookVector * 10000)
  456. local ign = {}
  457. for i, v in pairs(plrs.LocalPlayer.Character:GetChildren()) do
  458. if v:IsA("BasePart") then
  459. table.insert(ign , v)
  460. end
  461. end
  462. local obj = game.Workspace:FindPartOnRayWithIgnoreList(r, ign)
  463. if obj.Parent == plr.Character and obj.Parent ~= lplr.Character then
  464. table.insert(plrsforaim, obj)
  465. end
  466. end
  467.  
  468.  
  469. end
  470. end
  471. end
  472.  
  473. function aimat(part)
  474. cam.CFrame = CFrame.new(cam.CFrame.p, part.CFrame.p)
  475. end
  476. function checkfov (part)
  477. local fov = getfovxyz(game.Workspace.CurrentCamera.CFrame, part.CFrame)
  478. local angle = math.abs(fov.X) + math.abs(fov.Y)
  479. return angle
  480. end
  481.  
  482. game:GetService("RunService").RenderStepped:Connect(function()
  483. if aimatpart then
  484. aimat(aimatpart)
  485. if aimatpart.Parent == plrs.LocalPlayer.Character then
  486. aimatpart = nil
  487. end
  488. end
  489.  
  490.  
  491. -- if switch == true then
  492. -- local maxangle = 99999
  493. --
  494. -- --print("Loop")
  495. -- if true and raycast == false then
  496. -- for i, plr in pairs(plrs:GetChildren()) do
  497. -- if plr.Name ~= lplr.Name and plr.Character and plr.Character.Head and plr.Character.Humanoid and plr.Character.Humanoid.Health > 1 then
  498. -- if TeamBased then
  499. -- if plr.Team.Name ~= lplr.Team.Name or plr.Team.TeamColor ~= lplr.Team.TeamColor then
  500. -- local an = checkfov(plr.Character.Head)
  501. -- if an < maxangle then
  502. -- maxangle = an
  503. -- aimatpart = plr.Character.Head
  504. -- if an < lockangle then
  505. -- break
  506. -- end
  507. -- end
  508. -- end
  509. -- else
  510. -- local an = checkfov(plr.Character.Head)
  511. -- if an < maxangle then
  512. -- maxangle = an
  513. -- aimatpart = plr.Character.Head
  514. -- if an < lockangle then
  515. -- break
  516. -- end
  517. -- end
  518. -- end
  519. --
  520. --
  521. --
  522. --
  523. -- end
  524. -- end
  525. -- elseif raycast == true then
  526. --
  527. -- end
  528.  
  529. if raycast == true and switch == false and not aimatpart then
  530. getaimbotplrs()
  531. aimatpart = nil
  532. local maxangle = 999
  533. for i, v in ipairs(plrsforaim) do
  534. if v.Parent ~= lplr.Character then
  535. local an = checkfov(v)
  536. if an < maxangle and v ~= lplr.Character.Head then
  537. maxangle = an
  538. aimatpart = v
  539. print(v:GetFullName())
  540. v.Parent.Humanoid.Died:connect(function()
  541. aimatpart = nil
  542. end)
  543. end
  544. end
  545. end
  546.  
  547. end
  548. end)
  549. delay(0, function()
  550. while wait(espupdatetime) do
  551. if autoesp == true then
  552. pcall(function()
  553. f.addesp()
  554. end)
  555. end
  556. end
  557. end)
  558. warn("loaded")
  559. end)
  560.  
  561. end
  562. coroutine.wrap(FMTBUIE_fake_script)()
  563. local function BPUAX_fake_script() -- Admin.Main stuff
  564. local script = Instance.new('Script', Admin)
  565.  
  566.  
  567. -- instances
  568. local open = script.Parent.Open
  569. local main = script.Parent.Main
  570. local Close = main.CloseBtn
  571.  
  572.  
  573. --functions
  574.  
  575. open.MouseButton1Down:Connect(function()
  576. main.Visible = true
  577. end)
  578.  
  579. Close.MouseButton1Down:Connect(function()
  580. main.Visible = false
  581. end)
  582.  
  583.  
  584.  
  585.  
  586. end
  587. coroutine.wrap(BPUAX_fake_script)()
Add Comment
Please, Sign In to add comment