Facebook
From Sole Duck, 4 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 120
  1. local plrs = game: GetService ("Giocatori")
  2. teamBased locale = true; local teambasedswitch = "o"
  3. presskeytoaim = true locale; locale aimkey = "e"
  4. local raycast = false
  5.  
  6. espupdatetime locale = 5; autoesp = false
  7.  
  8.  
  9.  
  10. lockaim locale = vero; lockangle locale = 5
  11.  
  12.  
  13.  
  14. --function findwat (cartella, cosa)
  15. - per i, smth a coppie (cartella: GetChildren ())
  16. - if string.find (string.lower (tostring (smth)), string.lower (what)) quindi
  17. - ritorno smth
  18. -- fine
  19. -- fine
  20. --fine
  21. -
  22. --local plrs = findwat (gioco, "Giocatori")
  23.  
  24.  
  25.  
  26.  
  27. local Gui = Instance.new ("ScreenGui")
  28. local Move = Instance.new ("Frame")
  29. local Main = Instance.new ("Frame")
  30. local EspStatus = Instance.new ("TextLabel")
  31. local st1 = Instance.new ("TextLabel")
  32. local st1_2 = Instance.new ("TextLabel")
  33. local st1_3 = Instance.new ("TextLabel")
  34. nome locale = Instance.new ("TextLabel")
  35. --Proprietà:
  36. Gui.Name = "Gui"
  37. Gui.Parent = plrs.LocalPlayer: WaitForChild ("PlayerGui")
  38.  
  39. Move.Name = "Move"
  40. Move.Parent = Gui
  41. Move.BackgroundColor3 = Color3.new (0.631373, 0.631373, 0.631373)
  42. Move.BackgroundTransparency = 0.40000000596046
  43. Move.BorderSizePixel = 0
  44. Move.Position = UDim2.new (0.005, 0,0.018, 0)
  45. Move.Size = UDim2.new (0.28141585, 0, 0.0320388414, 0)
  46.  
  47. Main.Name = "Main"
  48. Main.Parent = Move
  49. Main.BackgroundColor3 = Color3.new (0.176471, 0.176471, 0.176471)
  50. Main.BackgroundTransparency = 0.69999998807907
  51. Main.Position = UDim2.new (0, 0, 0.995670795, 0)
  52. Main.Size = UDim2.new (1.0000006, 0, 9.79697132, 0)
  53.  
  54. EspStatus.Name = "EspStatus"
  55. EspStatus.Parent = Principale
  56. EspStatus.BackgroundColor3 = Color3.new (1, 1, 1)
  57. EspStatus.BackgroundTransparency = 1
  58. EspStatus.Size = UDim2.new (0.272955924, 0, 0.161862016, 0)
  59. EspStatus.Font = Enum.Font.ArialBold
  60. EspStatus.Text = "Premi T per aggiornare Esp"
  61. EspStatus.TextColor3 = Color3.new (0.0431373, 1, 0.0745098)
  62. EspStatus.TextScaled = true
  63. EspStatus.TextSize = 14
  64. EspStatus.TextWrapped = true
  65.  
  66. st1.Name = "st1"
  67. st1.Parent = Principale
  68. st1.BackgroundColor3 = Color3.new (1, 1, 1)
  69. st1.BackgroundTransparency = 1
  70. st1.Position = UDim2.new (0.271787882, 0, 0, 0)
  71. st1.Size = UDim2.new (0.728211343, 0, 0.161862016, 0)
  72. st1.Font = Enum.Font.ArialBold
  73. st1.Text = "Premi" ..aimkey .. "per bloccare una persona nella tua vista"
  74. st1.TextColor3 = Color3.new (0.0431373, 1, 0.0745098)
  75. st1.TextScaled = true
  76. st1.TextSize = 14
  77. st1.TextWrapped = true
  78.  
  79. st1_2.Name = "st1"
  80. st1_2.Parent = Principale
  81. st1_2.BackgroundColor3 = Color3.new (1, 1, 1)
  82. st1_2.BackgroundTransparency = 1
  83. st1_2.Position = UDim2.new (0, 0, 0.375590861, 0)
  84. st1_2.Size = UDim2.new (0.999999881, 0, 0.161862016, 0)
  85. st1_2.Font = Enum.Font.ArialBold
  86. st1_2.Text = "Premi L per abilitare esp loop"
  87. st1_2.TextColor3 = Color3.new (0.0431373, 1, 0.0745098)
  88. st1_2.TextScaled = true
  89. st1_2.TextSize = 14
  90. st1_2.TextWrapped = true
  91.  
  92. st1_3.Name = "st1"
  93. st1_3.Parent = Principale
  94. st1_3.BackgroundColor3 = Color3.new (1, 1, 1)
  95. st1_3.BackgroundTransparency = 1
  96. st1_3.Position = UDim2.new (0, 0, 0.18558608, 0)
  97. st1_3.Size = UDim2.new (0.999999881, 0, 0.161862016, 0)
  98. st1_3.Font = Enum.Font.ArialBold
  99. st1_3.Text = "Premi O per cambiare la modalità team based"
  100. st1_3.TextColor3 = Color3.new (0.0431373, 1, 0.0745098)
  101. st1_3.TextScaled = true
  102. st1_3.TextSize = 14
  103. st1_3.TextWrapped = true
  104. local teambasedstatus = st1_3: Clone ()
  105. teambasedstatus.Parent = st1_3
  106. teambasedstatus.TextScaled = true
  107. teambasedstatus.Position = UDim2.new (0, 0,0.694, 0)
  108. teambasedstatus.Text = tostring (TeamBased)
  109.  
  110. Name.Name = "Name"
  111. Name.Parent = Move
  112. Name.BackgroundColor3 = Color3.new (1, 1, 1)
  113. Name.BackgroundTransparency = 1
  114. Name.Size = UDim2.new (0.838, 0, 0.980000019, 0)
  115. Name.Font = Enum.Font.Cartoon
  116. Name.Text = "Arsenal Mod V 2.0"
  117. Name.TextColor3 = Color3.new (0, 0, 0)
  118. Name.TextScaled = true
  119. Name.TextSize = 14
  120. Name.TextWrapped = true
  121. Name.TextXAlignment = Enum.TextXAlignment.Left
  122. - Script:
  123.  
  124.  
  125. local plrsforaim = {}
  126.  
  127. local lplr = game: GetService ("Giocatori"). LocalPlayer
  128. Move.Draggable = true
  129. Gui.ResetOnSpawn = false
  130. Gui.Name = "Chat"
  131. Gui.DisplayOrder = 999
  132.  
  133.         Gui.Parent = plrs.LocalPlayer.PlayerGui
  134.  
  135.  
  136. f = {}
  137. espforlder locale
  138.  
  139. f.addesp = function ()
  140.         --print ("ESP ran")
  141.         se espforlder quindi
  142.         altro
  143.                 espforlder = Instance.new ("Cartella")
  144.                 espforlder.Parent = game.Workspace.CurrentCamera
  145.         fine
  146.         per i, v in coppie (espforlder: GetChildren ()) do
  147.                 v: Destroy ()
  148.         fine
  149.         per _, plr in coppie (plrs: GetChildren ()) do
  150.                 se plr.Character e plr.Character.Humanoid.Health> 0 e plr.Name ~ = lplr.Nome quindi
  151.                         se TeamBased == true allora
  152.                                 if plr.Team.Name ~ = plrs.LocalPlayer.Team.Name allora
  153.                                         local e = espforlder: FindFirstChild (plr.Name)
  154.                                         se no e allora
  155.                                                 --print ("Aggiunto esp per team based")
  156.                                                 bolletta locale = Instance.new ("BillboardGui", espforlder)
  157.                                                 bill.Name = plr.Name
  158.                                                 bill.AlwaysOnTop = true
  159.                                                 bill.Size = UDim2.new (1,0,1,0)
  160.                                                 bill.Adornee = plr.Character.Head
  161.                                                 local Frame = Instance.new ('Frame', fattura)
  162.                                                 Frame.Active = true
  163.                                                 Frame.BackgroundColor3 = Color3.new (0 / 255.255 / 255,0 / 255)
  164.                                                 Frame.BackgroundTransparency = 0
  165.                                                 Frame.BorderSizePixel = 0
  166.                                                 Frame.AnchorPoint = Vector2.new (.5, .5)
  167.                                                 Frame.Position = UDim2.new (0.5,0,0,5,0)
  168.                                                 Frame.Size = UDim2.new (1,0,1,0)
  169.                                                 Frame.Rotation = 0
  170.                                                 plr.Character.Humanoid.Died: Connect (function ()
  171.                                                         Bill: Destroy ()
  172.                                                 fine)
  173.                                         fine
  174.                                 fine
  175.                         altro
  176.                                 local e = espforlder: FindFirstChild (plr.Name)
  177.                                 se no e allora
  178.                                         --print ("Esp aggiunto")
  179.                                         bolletta locale = Instance.new ("BillboardGui", espforlder)
  180.                                         bill.Name = plr.Name
  181.                                         bill.AlwaysOnTop = true
  182.                                         bill.Size = UDim2.new (1,0,1,0)
  183.                                         bill.Adornee = plr.Character.Head
  184.                                         local Frame = Instance.new ('Frame', fattura)
  185.                                         Frame.Active = true
  186.                                         Frame.BackgroundColor3 = Color3.new (0 / 255.255 / 255,0 / 255)
  187.                                         Frame.BackgroundTransparency = 0
  188.                                         Frame.BorderSizePixel = 0
  189.                                         Frame.AnchorPoint = Vector2.new (.5, .5)
  190.                                         Frame.Position = UDim2.new (0.5,0,0,5,0)
  191.                                         Frame.Size = UDim2.new (1,0,1,0)
  192.                                         Frame.Rotation = 0
  193.                                         plr.Character.Humanoid.Died: Connect (function ()
  194.                                                 Bill: Destroy ()
  195.                                         fine)
  196.                                 fine
  197.                         fine
  198.                        
  199.                        
  200.                 fine
  201.         fine
  202. fine
  203. local cam = game.Workspace.CurrentCamera
  204.  
  205. mouse locale = lplr: GetMouse ()
  206. switch locale = falso
  207. chiave locale = "k"
  208. aimatpart locale = zero
  209. mouse.KeyDown: Connect (funzione (a)
  210.         se a == "t" allora
  211.                 stampare ( "worked1")
  212.                 f.addesp ()
  213.         altrimenti se a == "u" allora
  214.                 se raycast == vero allora
  215.                         raycast = false
  216.                 altro
  217.                         raycast = true
  218.                 fine
  219.         altrimenti se a == "l" allora
  220.                 se autoesp == false allora
  221.                         autoesp = true
  222.                 altro
  223.                         autoesp = false
  224.                 fine
  225.         fine
  226.         se a == "j" allora
  227.                 se mouse.Target quindi
  228.                         mouse.Target:Destroy ()
  229.                 fine
  230.         fine
  231.         se una chiave == allora
  232.                 se switch == false allora
  233.                         switch = true
  234.                 altro
  235.                         switch = false
  236.                         se aimatpart ~ = zero allora
  237.                                 aimatpart = zero
  238.                         fine
  239.                 fine
  240.         altrimenti se a == teambasedswitch allora
  241.                 se TeamBased == true allora
  242.                         TeamBased = false
  243.                         teambasedstatus.Text = tostring (TeamBased)
  244.                 altro
  245.                         TeamBased = true
  246.                         teambasedstatus.Text = tostring (TeamBased)
  247.                 fine
  248.         altrimenti se a == aimkey allora
  249.                 in caso contrario, quindi
  250.                         local maxangle = math.rad (20)
  251.                         per i, plr in coppie (plrs: GetChildren ()) do
  252.                                 se plr.Name ~ = lplr.Name e plr.Caracter e plr.Character.Head e plr.Character.Humanoid e plr.Character.Humanoid.Health> 1 quindi
  253.                                         se TeamBased == true allora
  254.                                                 se plr.Team.Name ~ = lplr.Team.Name allora
  255.                                                         local an = checkfov (plr.Character.Head)
  256.                                                         se un <maxangle allora
  257.                                                                 maxangle = an
  258.                                                                 aimatpart = plr.Character.Head
  259.                                                         fine
  260.                                                 fine
  261.                                         altro
  262.                                                 local an = checkfov (plr.Character.Head)
  263.                                                         se un <maxangle allora
  264.                                                                 maxangle = an
  265.                                                                 aimatpart = plr.Character.Head
  266.                                                         fine
  267.                                                         stampa (PLR)
  268.                                         fine
  269.                                         plr.Character.Humanoid.Died: Connect (function ()
  270.                                                 se aimatpart.Parent == plr.Character o aimatpart == zero allora
  271.                                                         aimatpart = zero
  272.                                                 fine
  273.                                         fine)
  274.                                 fine
  275.                         fine
  276.                 altro
  277.                         aimatpart = zero
  278.                 fine
  279.         fine
  280. fine)
  281.  
  282. funzione getfovxyz (p0, p1, deg)
  283.         local x1, y1, z1 = p0: ToOrientation ()
  284.         local cf = CFrame.new (p0.p, p1.p)
  285.         local x2, y2, z2 = cf: ToOrientation ()
  286.         --local d = math.deg
  287.         se deg allora
  288.                 --return Vector3.new (d (x1-x2), d (y1-y2), d (z1-z2))
  289.         altro
  290.                 return Vector3.new ((x1-x2), (y1-y2), (z1-z2))
  291.         fine
  292. fine
  293.  
  294. funzione getaimbotplrs ()
  295.         plrsforaim = {}
  296.         per i, plr in coppie (plrs: GetChildren ()) do
  297.                 se plr.Character e plr.Character.Humanoid e plr.Character.Humanoid.Health> 0 e plr.Name ~ = lplr.Name e plr.Character.Head quindi
  298.                        
  299.                         se TeamBased == true allora
  300.                                 se plr.Team.Name ~ = lplr.Team.Name allora
  301.                                         local cf = CFrame.new (game.Workspace.CurrentCamera.CFrame.p, plr.Character.Head.CFrame.p)
  302.                                         local r = Ray.new (cf, cf.LookVector * 10000)
  303.                                         local ign = {}
  304.                                         per i, v in coppie (plrs.LocalPlayer.Character: GetChildren ())
  305.                                                 se v: IsA ("BasePart") quindi
  306.                                                         table.insert (ign, v)
  307.                                                 fine
  308.                                         fine
  309.                                         local obj = game.Workspace: FindPartOnRayWithIgnoreList (r, ign)
  310.                                         se obj.Parent == plr.Character e obj.Parent ~ = lplr.Character allora
  311.                                                 table.insert (plrsforaim, obj)
  312.                                         fine
  313.                                 fine
  314.                         altro
  315.                                 local cf = CFrame.new (game.Workspace.CurrentCamera.CFrame.p, plr.Character.Head.CFrame.p)
  316.                                 local r = Ray.new (cf, cf.LookVector * 10000)
  317.                                 local ign = {}
  318.                                 per i, v in coppie (plrs.LocalPlayer.Character: GetChildren ())
  319.                                         se v: IsA ("BasePart") quindi
  320.                                                 table.insert (ign, v)
  321.                                         fine
  322.                                 fine
  323.                                 local obj = game.Workspace: FindPartOnRayWithIgnoreList (r, ign)
  324.                                 se obj.Parent == plr.Character e obj.Parent ~ = lplr.Character allora
  325.                                         table.insert (plrsforaim, obj)
  326.                                 fine
  327.                         fine
  328.                        
  329.                        
  330.                 fine
  331.         fine
  332. fine
  333.  
  334. funzione aimat (parte)
  335.         cam.CFrame = CFrame.new (cam.CFrame.p, part.CFrame.p)
  336. fine
  337. funzione checkfov (parte)
  338.         fov locale = getfovxyz (game.Workspace.CurrentCamera.CFrame, part.CFrame)
  339.         angolo locale = math.abs (fov.X) + math.abs (fov.Y)
  340.         angolo di ritorno
  341. fine
  342.  
  343. gioco:. GetService ( "RunService") RenderStepped: Connect (function ()
  344.         se aimatpart allora
  345.                 AIMAT (aimatpart)
  346.                 se aimatpart.Parent == plrs.LocalPlayer.Character allora
  347.                         aimatpart = zero
  348.                 fine
  349.         fine
  350.        
  351.        
  352. - se switch == vero allora
  353. - maxangle locale = 99999
  354. -              
  355. - --print ("Loop")
  356. - se vero e raycast == falso allora
  357. - per i, plr in coppie (plrs: GetChildren ()) do
  358. - se plr.Name ~ = lplr.Name e plr.Caracter e plr.Character.Head e plr.Character.Humanoid e plr.Character.Humanoid.Health> 1 quindi
  359. - se TeamBased allora
  360. - se plr.Team.Name ~ = lplr.Team.Name o plr.Team.TeamColor ~ = lplr.Team.TeamCeam allora
  361. - local an = checkfov (plr.Character.Head)
  362. - se un <maxangle allora
  363. - maxangle = an
  364. - aimatpart = plr.Character.Head
  365. - se un <lockangle allora
  366. -- rompere
  367. -- fine
  368. -- fine
  369. -- fine
  370. -- altro
  371. - local an = checkfov (plr.Character.Head)
  372. - se un <maxangle allora
  373. - maxangle = an
  374. - aimatpart = plr.Character.Head
  375. - se un <lockangle allora
  376. -- rompere
  377. -- fine
  378. -- fine
  379. -- fine
  380. -                                      
  381. -                                      
  382. -                                      
  383. -                                      
  384. -- fine
  385. -- fine
  386. - elseif raycast == true quindi
  387. -                      
  388. -- fine
  389.                
  390.                 se raycast == true e switch == false e non aimatpart allora
  391.                         getaimbotplrs ()
  392.                         aimatpart = zero
  393.                         maxangle locale = 999
  394.                         per i, v in ipairs (plrsforaim)
  395.                                 se v.Parent ~ = lplr.Character allora
  396.                                         local an = checkfov (v)
  397.                                         se un <maxangle e v ~ = lplr.Character.Head allora
  398.                                                 maxangle = an
  399.                                                 aimatpart = v
  400.                                                 stampare (v: GetFullName ())
  401.                                                 v.Parent.Humanoid.Died: connect (function ()
  402.                                                         aimatpart = zero
  403.                                                 fine)
  404.                                         fine
  405.                                 fine
  406.                         fine
  407.                
  408.         fine
  409. fine)
  410. ritardo (0, funzione ()
  411.         mentre wait (espupdatetime) fa
  412.                 se autoesp == vero allora
  413.                         PCALL (function ()
  414.                         f.addesp ()
  415.                         fine)
  416.                 fine
  417.         fine
  418. fine)
  419. avvertire ( "caricato")